WebService App q.2
this is the error I get on the server:
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\ikpsuvjr.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, Evidence evidence)
at System.Web.Services.Protocols.SoapServerType..ctor(Type type,
WebServiceProtocols protocolsSupported)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type
type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)
--- End of inner exception stack trace ---
WHY IN THE WORLD is IIS attempting to read/write to Windows Temp
directory when somebody makes a webservice call? As temp directory can
be used by other apps, I would not want to give IIS permissions to it.
there might be some files that I don't want IIS to access. How do you
redirect this temp class thing?
date: Mon, 5 May 2008 15:12:48 -0700 (PDT)
author: mr t