Topics: Troubleshooting
Apr 27, 2011 at 2:16 PM

Hello Everyone,

I have been trying to install Composite on an IIS locally. Whenever I try to access the server through my browser, I get the following error:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\khlnzer1.0.cs' could not be found
error CS2008: No inputs specified

   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
   at System.Web.Services.Protocols.SoapServerType..ctor(Type type, WebServiceProtocols protocolsSupported)
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

I have been looking through the forum and have not been able to find any post related to this problem.

Any help would be greatly appreciated.

Apr 27, 2011 at 2:32 PM

Check - this KB article is about 2.0 but I guess the solution is also valid for 4.0. Looks like a ASP.NET WebService + AppPool security setup issue, not directly Composite C1 related.

Apr 27, 2011 at 8:31 PM

Thank you, the issue has been resolved now. Turns out I didn't give permissions to the IIS users inside the Inetpub folder