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