403 Error on VS2008 VB web application

  • Thread starter Thread starter Mark Brown
  • Start date Start date
M

Mark Brown

I converted a VB web application I wrote in VS2003 to VS2008 and afterwards
went through and made all the little changes VS2008 wanted. The program
worked just fine afterwards. Just recently, I did some changes to the code
and when I tried to run it from the IDE, I get a 403 (forbidden) error.
This error makes no sense to me at all. Any idea what would cause this and
how to get rid of it?

Mark
 
I converted a VB web application I wrote in VS2003 to VS2008 and afterwards
went through and made all the little changes VS2008 wanted.  The program
worked just fine afterwards.  Just recently, I did some changes to the code
and when I tried to run it from the IDE, I get a 403 (forbidden) error.
This error makes no sense to me at all.  Any idea what would cause this and
how to get rid of it?

Mark

Mark,
If your trouble is with ASP.NET, these may solve the problem:

http://www.nwds-ak.com/WebResources/NET/403ForbiddenError/tabid/287/Default.aspx
http://support.microsoft.com/kb/822322
http://msmvps.com/blogs/simpleman/archive/2006/01/06/80442.aspx

Regards,

Onur Güzel
 
I converted a VB web application I wrote in VS2003 to VS2008 and afterwards
went through and made all the little changes VS2008 wanted.  The program
worked just fine afterwards.  Just recently, I did some changes to the code
and when I tried to run it from the IDE, I get a 403 (forbidden) error.
This error makes no sense to me at all.  Any idea what would cause this and
how to get rid of it?

Mark

Vista?

If so, you might need to disable UAC, apparently a recent patch has
caused some issues with Visual Studio and UAC, a friend from work was
having similar troubles.

Thanks,

Seth Rowe [MVP]
 
We ran into a similar issue recently, though in csharp. Had to do this:

service.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

Hope this helps...
 
Thanks for the reply. Where did you put this line? Was in the codebehind,
the web.config file?

Mark
 
Back
Top