wcf 4.0 service on IIS7

Posted by Jan on Stack Overflow See other posts from Stack Overflow or by Jan
Published on 2010-03-31T18:29:46Z Indexed on 2010/03/31 18:33 UTC
Read the original article Hit count: 440

Filed under:
|
|

I am currently developing a service with wcf 4.0 (visual studio 2010 RC).

When I try my service on the Visual Studio Development Server, it all works perfect.

However, when I tree to run my service on IIS7 on a windows 7 machine, the service doesn't work anymore. (I already changed the framework version on my application pool).

When I call an operation on the service, like the default operation GetData when I create a service, I get an error. I used the WCF test client to connect to the service.

When I call the operation on the service, the Visual Studio Just-In-Time debugger shows the following message:

An unhandled win32 exception occured in w3wp.exe

The Just-In-Time debugger was launched without necessary security permissions. To debug this proces, the JIT debugger must be run as an administrator. Would you like to debug the proces?

As far as I know, I am running Visual Studio as an administrator and this is probably the process that starts the JIT debugger. The only option I have is to debug the W3WP process, which is probably not the right thing to do.

What can I do the make the Service to run on IIS7?

© Stack Overflow or respective owner

Related posts about c#4.0

Related posts about wcfservice