re:
Can anyone point out what I may be doing wrong?
1. The simplest solution of course, given that apparently you don't need
any global functions, is not to include a global.asax in your web service fileset.
2. Something else you can do is download sample code for web services,
and check for glaring differences in the sample's global.asax and yours.
Here's one :
http://www.codeproject.com/vb/net/xy...dispatcher.asp
3. When you open your global.asax in the VS IDE, do you see a squiggly
line under the "Application Language" line at the top of the code ?
If you do, when you right-click it, do you have an option
available to "move global.asax" into the project ?
What happens if you move it ? Does that help ?
4. Check the filename for the global.asax created by VS.
Is it Global.asax...or Global1.asax ?
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"Al Santino" <as******@hotmail.comwrote in message news:u1Dsh.3049$QE6.1447@trnddc02...
Hello,
I've created a simple C# web services project using Visual Studio 2005. My service compiles and
runs correctly when called by remote clients.
I'm able to step through the service in the debugger unless I add a Global.asax file. When I do
that and then try to run the debugger I receive error 403. If I remove the Global.asax file things
work fine. The Global.asax file is the one generated by VS 2005 - I don't try to add anything to
it and receive the errors.
I've been through the past threads and tried the suggestions from here:
Title: BUG: Permissions Error When You Try to Debug an ASP.NET Web Application
URL: http://support.microsoft.com/default...b;EN-US;319842
PRB: "Access Is Denied. Check the DCOM Configuration Settings for the Machine Debug Manager" Error
Message When You Debug ASP.NET Applications
http://support.microsoft.com/default...;en-us;q306164
and a variety of other sources. Nothing seems to work.
I'm running under a local Admin account on Windows XP Pro and service packs are up to date. The
project in on my computer (localhost). Can anyone point out what I may be doing wrong?
Thanks.
Al