Check the permissions, I would wager that the service your Web Application is running under does not have appropriate rights to the folder mentioned in the error (or possibly some other folder).
Question: are you using 'code behind' pages (i.e. you have an actual binary under the web-root) or are you just trying to run a .aspx with inline code? If it is the latter case, ASP.NET will convert your .aspx file into a C# file and compile it in a temp directory behind the scene. If it can't open that temp directory, it won't work, though the path doesn't seem quite right for that particular issue ( I seem to recall the tempdir path being something along the lines of:
\\<server>\c$\WINNT\Microsoft.NET\Framework\v1.0.3 705\Temporary ASP.NET Files\<project>
Quote:
quote:Originally posted by hunter11
Dear all,
I have a big big problem...
I have to work with xml web services written in C#...
trying to test the simplest web service "Hello world"
I got this error message :
System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\nggk6w2y.0.cs' could not be found
error CS2008: No inputs specified
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[] mappings)
at System.Web.Services.Protocols.XmlReturn.GetInitial izers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.XmlReturnWriter.GetI nitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetIni tializers(Type type, LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor (Type type)
at System.Web.Services.Protocols.HttpServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
I reinstalled Visual Studio including Windows Components without
problems , and again didn't work
please , help...:(
|