I'm suddenly getting this problem today on my machine. I am unable to debug in the VS web server nor in IIS, I keep getting error 403. I just upgraded to Visual Studio SP 1 yesterday and things were working fine then all of a sudden these erros started
and now I can't get any work done for the last 5 hours. First I thought something got currup in these folders so I got a new copy of my work in a new folder from svn but the problem is the same.
I'm running VS 2008 Pro SP 1 on Vista 64bit.
I guess I'm going to try uninstalling SP1 of VS and see what happens.
Very frustrated I am behind in my work and now this.
Did you check that iis default user has access to the database?
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Marked as answer by Esmith236 on Aug 22, 2008 07:10 PM
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Marked as answer by Esmith236 on Aug 22, 2008 07:09 PM
I've tried uninstalling and re-installing IIS, VS 2008 SP1, and just now at your suggestion I uninstalled the remote debugger and then re-installed it from the separate download but still the same problems. I can't get it to open a page in the debugger
using the VS Web Server no way no how. I pull down the same solution on an older slower xp machine and it works fine.
So I try a few things to see about getting it working in IIS
1. If I try to just get it working in IIS using (All Unassigned) localhost without the debugger I get the same 403, same if I try 127.0.0.1, same if I try the specific ip 172.16.0.101
2. If I delete the web site then add it again and configure it to use a specific ip initially instead of all unassigned it works, it serves the app, everything is fine but I can't debug. If I try to set VS to debug using the ip address it says it needs to
create a virtual directory but then it can't. So I try editing my hosts file and point localhost to my specific ip 172.16.0.101 and again it works in the browser but can't run in the debugger. If I set it back to all unassigned it doesn't work and then to
get it working again I have to delete the site and create it with a specific ip as the initial setting, just changing from All unassigned to a specific ip doesn't work.
I had been working for several hours this morning with no problems and then this 403 happened and now it won't go away. I know there was a big windows update last night, I can't help but suspect that as a factor, but something is really hosed.
omg! I just figured it out, how embarrasing is this. I have a custom http module that bans ip addresses based on certain errors that indicate hacking. Apparently it banned my local addresses due to errors when I was debugging. So my own code was making
the 403 happen.
aargh it was all my own fault [:$]
Thanks for trying to help me,its been one of those days.
Talk about lost! I seem to have very little control with VS 2008. 2005 had a sql management process that gave quite good control over my databases. No such thing in VS 2008 You mention iis default user. I see nowhere to give access to the database other
than what was given at install time. I searched my entire disk drive for any instance of iis and only found an iis.inf burried in Windows. Is there any help here or should I abandon VS2008? I would appreciate any advice.
With grateful thanks,
esmith236
Edward D. Smith
Marked as answer by Esmith236 on Aug 22, 2008 07:10 PM
Glad to hear you got it fixed, always the best errors to find.
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Marked as answer by Esmith236 on Aug 22, 2008 07:09 PM
You should have no problems working with 2008 should just be the same as 2005 but better.
Hope it helps
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Marked as answer by Esmith236 on Aug 22, 2008 07:11 PM
Esmith236
Member
20 Points
49 Posts
Visual Sudio 2008 http error 403
Aug 14, 2008 05:22 PM|LINK
I'm still yet probably over my head on this one.
1. I uninstalled all of Visual studio componets of 2005.
2. I installed the new visual studio 2008 express. VB, VWD, SQL, Plus a Windows installer update.
3. The installation went very smooth although long.
4. I had to recreate my SQL tables via VWD which went well. I populated it with a couple of records.
5. I set up a web site. Did the form work via formview and its datasources and templates. (Lots of work) It went very well.
6. Now the big test. Do a build which worked flawlessly.
7. Submitted the page to Interner Explorer.
8. Bang! I"m dead. Got the old "HTTP error 403". Any experience with this message?
I did all the research I could via Microsoft and other places on the Internet. This is where I am over my head.
Anything with respect to this message and Visual Studio 2008 Express?
My blood pressure reflects my anxieties!
Esmith236
ravivb.net
Participant
882 Points
187 Posts
Re: Visual Sudio 2008 http error 403
Aug 14, 2008 05:55 PM|LINK
What do you mean submitted to Internet Explorer? Did you hit F5 or viewing the page in IE?
I think the easiest thing you could do is to hit F5 and debug it...
joeaudette
Contributor
2984 Points
596 Posts
Re: Visual Sudio 2008 http error 403
Aug 15, 2008 07:45 PM|LINK
I'm suddenly getting this problem today on my machine. I am unable to debug in the VS web server nor in IIS, I keep getting error 403. I just upgraded to Visual Studio SP 1 yesterday and things were working fine then all of a sudden these erros started and now I can't get any work done for the last 5 hours. First I thought something got currup in these folders so I got a new copy of my work in a new folder from svn but the problem is the same.
I'm running VS 2008 Pro SP 1 on Vista 64bit.
I guess I'm going to try uninstalling SP1 of VS and see what happens.
Very frustrated I am behind in my work and now this.
Somebody please help if you can.
Thanks,
Joe Audette
Visual Studio 2008 vista 64-bit ASP.NET 2.0
http://www.mojoportal.com
jeremyh
Star
8173 Points
1477 Posts
Re: Visual Sudio 2008 http error 403
Aug 15, 2008 08:55 PM|LINK
Hello Esmith236,
Did you check that iis default user has access to the database?
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
jeremyh
Star
8173 Points
1477 Posts
Re: Visual Sudio 2008 http error 403
Aug 15, 2008 08:56 PM|LINK
Joe,
Did you upgrade the remote debugger?
Links here if you need it http://blogs.microsoft.co.il/blogs/bursteg/archive/2008/08/11/Download-VS2008-SP1-Net-Framework-35-SP1.aspx
Hope it helps
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
joeaudette
Contributor
2984 Points
596 Posts
Re: Visual Sudio 2008 http error 403
Aug 15, 2008 09:43 PM|LINK
I've tried uninstalling and re-installing IIS, VS 2008 SP1, and just now at your suggestion I uninstalled the remote debugger and then re-installed it from the separate download but still the same problems. I can't get it to open a page in the debugger using the VS Web Server no way no how. I pull down the same solution on an older slower xp machine and it works fine.
So I try a few things to see about getting it working in IIS
1. If I try to just get it working in IIS using (All Unassigned) localhost without the debugger I get the same 403, same if I try 127.0.0.1, same if I try the specific ip 172.16.0.101
2. If I delete the web site then add it again and configure it to use a specific ip initially instead of all unassigned it works, it serves the app, everything is fine but I can't debug. If I try to set VS to debug using the ip address it says it needs to create a virtual directory but then it can't. So I try editing my hosts file and point localhost to my specific ip 172.16.0.101 and again it works in the browser but can't run in the debugger. If I set it back to all unassigned it doesn't work and then to get it working again I have to delete the site and create it with a specific ip as the initial setting, just changing from All unassigned to a specific ip doesn't work.
I had been working for several hours this morning with no problems and then this 403 happened and now it won't go away. I know there was a big windows update last night, I can't help but suspect that as a factor, but something is really hosed.
Any other suggestions much appreciated.
Thanks,
Joe
http://www.mojoportal.com
joeaudette
Contributor
2984 Points
596 Posts
Re: Visual Sudio 2008 http error 403
Aug 15, 2008 09:58 PM|LINK
omg! I just figured it out, how embarrasing is this. I have a custom http module that bans ip addresses based on certain errors that indicate hacking. Apparently it banned my local addresses due to errors when I was debugging. So my own code was making the 403 happen.
aargh it was all my own fault [:$]
Thanks for trying to help me,its been one of those days.
Best,
Joe
http://www.mojoportal.com
Esmith236
Member
20 Points
49 Posts
Re: Visual Sudio 2008 http error 403
Aug 16, 2008 12:36 AM|LINK
Talk about lost! I seem to have very little control with VS 2008. 2005 had a sql management process that gave quite good control over my databases. No such thing in VS 2008 You mention iis default user. I see nowhere to give access to the database other than what was given at install time. I searched my entire disk drive for any instance of iis and only found an iis.inf burried in Windows. Is there any help here or should I abandon VS2008? I would appreciate any advice.
With grateful thanks,
esmith236
jeremyh
Star
8173 Points
1477 Posts
Re: Visual Sudio 2008 http error 403
Aug 16, 2008 11:49 AM|LINK
Joe,
Glad to hear you got it fixed, always the best errors to find.
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
jeremyh
Star
8173 Points
1477 Posts
Re: Visual Sudio 2008 http error 403
Aug 16, 2008 11:52 AM|LINK
Edward,
For a good guide to setting up ASP.NET and SQL take a read of http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=395
You should have no problems working with 2008 should just be the same as 2005 but better.
Hope it helps
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.