查询的标签:


往IIS 7.5的Application Pools中添加ASP .NET v4.0

标签: and

如果你的网站/WCF Service是使用ASP .NET 4.0编写的,但是在你的IIS的Application Pools中没有ASP .NET v4.0,那么你可能会在访问该服务上相关页面时遇到如下错误:
HTTP Error 404.3 – Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Detailed Error InformationModule StaticFileModule.
当然,出现上...

No Comments »

IIS7中的unable to generate a temporary class错误解决办法

标签: , and

在访问IIS7的网站时,可能会遇到Service Unavailable的错误,错误的原因当然可能会有很多种,因此需要使用Just-In-Time Debugger来go into到实际的内部错误。
错误信息:
System.ServiceModel.CommunicationException was unhandled
  Message=There was an error in serializing body of message SearchRequest1: 'Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\s0phakvt.0.cs' ...

No Comments »