Unable to debug a C++ Web Service in VS2005

M

Mark Oliver

Hi,

I'm trying to create a web service using managed C++ in Visual Studio 2005.

If I make a service in Visual Basic it's fine, it all works correctly.

With C++ I can make the web service using the new project but I can't get it
to debug. I get a "Server Application Unavailable" error in my browser an
"aspnet_wp.exe (PID: 2604) stopped unexpectedly" error in my event log.

However if I then call the compiled web service straight from my browser
then it works. Therefore it's something to do with debugging but I can't
see what.

Looking some more at the differences between the VB and C++ service the
output window of the C++ one records the following:

The program '[4076] aspnet_wp.exe: Native' has exited with code 0 (0x0).
The program '[4076] aspnet_wp.exe: Managed' has exited with code 0 (0x0).

The VB web service also seems to be running through an ASP.NET Development
Server on Port 4070 rather than my usual web server.

Both projects are just the initial "Hello World" ones that the "new project"
wizard creates.

Any suggestions?

Thanks in advance,

Mark Oliver
 
G

Gary Chang[MSFT]

Hi Mark,

Considering this is a managed web service debugging issue, I suggest you
consulting in a more appropriate newsgroup, you'd get better and quicker
help there:

microsoft.public.vsnet.debugging


Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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