SmartClient and WebPermission exception in .NET 2.0

G

Guest

Hello,

I have a windows forms smart client application that was made for .NET 1.1.
It is accessing a web service that is located on the same site as the client
dlls. The application is running with Internet permissions without any
problems on .NET 1.1 clients.

Now I'm trying to run this application with .NET 2.0 installed on the
client. This runs fine as long as I don't use a proxy server.
With a proxy server (without authentication), I'm receiving a WebPermission
security exception when accessing the web service. Setting the proxy server
in the machine.config file doesn't make any difference. The only thing that
helps is adding full web access permission to the "Internet Zone" (instead of
same site access).
How can I get it working through the proxy without changing the client side
permissions? It doesn't make sense to me that the application can't
comunicate with the proxy server when running in the "Internet Zone".

Thanks ind advance,
Jürgen
 
B

Bryan Phillips

Is it possible that the client "thinks" that the proxy server is in the
Internet Zone when it is not?

Can you browse the proxy server from the client using IE? If so, you
could verify this and make changes to ensure that the proxy server is
determined to be in the "Local Intranet Zone" without having it manually
put it there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top