App cannot access the internet when run on Vista but works fine on

Discussion in 'ASP .Net Security' started by Jon Prisbe, Feb 15, 2008.

  1. Jon Prisbe

    Jon Prisbe Guest

    sI have a very small .NET 2.0 app that creates a webrequest and get a
    response from a website.

    It works fine on XP but throws the following error on Vista.
    Request for the permission of type 'System.Net.WebPermission' ..... failed.

    If I modify the code by creating a WebPermission it works on Vista but I
    feel I am forcing an override of some local security settings.

    Is there a way to configure the .NET framework on Vista to allow this app to
    access the website?

    Jon Prisbe, Feb 15, 2008
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page