403 Error on VS2008 VB web application

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
 
K

kimiraikkonen

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
 
R

rowe_newsgroups

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]
 
F

Family Tree Mike

We ran into a similar issue recently, though in csharp. Had to do this:

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

Hope this helps...
 
M

Mark Brown

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

Mark
 

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