开发者

wcf serviceActivations could not be found

开发者 https://www.devze.com 2023-03-29 08:54 出处:网络
Can anyone tell me about this error? system.serviceModel/serviceHostingEnvironment/serviceActivations

Can anyone tell me about this error?

system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.

I开发者_StackOverflow'm trying to make WCF app in VS2010 on Windows 7.

Any resolution?


Windows Activation Service is a feature of Windows 2008 Server which allow you to host WCF services using non-HTTP transport protocol, it's an IIS replacement to host services, i do not know if you can run it on a Windows 7.

If you are developing a WCF service on a developer PC you do not need it. You can host your WCF service in a simple console application, in a local HTTP server (VS.NET HTTP) or a local IIS server.

Right click your WCF project in the solution explorer, open Properties, select the Web tab, you should find development servers options (to run it locally, on a remote IIS, or on WAS).


Have a look at following link

Deploying WCF Tutorial App on IIS7

hope this help to solve your problem.


I change the framework version to .Net 4.5 and the error is gone.

0

精彩评论

暂无评论...
验证码 换一张
取 消