Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security problem: WebPermission

Status
Not open for further replies.

PascalTheroux

Programmer
Mar 1, 2002
6
CA
I finally did my first app with VB.NET.

I made a web service on the server and a winform on my machine and everything is working.

Next, I ask a user on another machine to run the winform that is on my machine over the network (he have the framework).

The form appears correctly on his machine, but when he clicked on the button that calls the web service, he had the error (maybe not the exact tranlation because I have the french version of Visual Studio.Net) :
The demand for an authorization of type
System.Net.WebPermission has failed,System,
Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a............

It's probably something about setting the security strategy. I have read many pages on the subject on Microsoft web pages but I'm not sure what parameters exactly I have to change and what file to change (enterprise, machine, user or application).

Help would be appreciate.

Pascal Theroux
Sorel Forge Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top