I strongly suspect that the account your Web service is running
under does not have permissions to write to c:\winnt\temp
directory. Run your Web service under a privileged account
and see if you get the same results. Or, change the permissions
on the directory and give full control to ASPNET account.

Hope this helps

Pradeep
http://www.tapadiya.net/pradeep

----- Original Message -----
From: "Armand Du Plessis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 2:24 AM
Subject: [DOTNET] InvalidOperationException - webservice


> Hi,
>
> Any help with the following will be much appreciated,
> whenever I call a webservice on my development machine i get the following
> error :
>
>
> System.InvalidOperationException: Unable to generate a temporary class
> (result=1).
> error CS2001: Source file 'C:\WINNT\TEMP\rku-ie9v.0.cs' could not be found
> error CS2008: No inputs specified
>
>    at System.Xml.Serialization.Compiler.Compile()
>    at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
xmlMappings)
>    at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
> mappings)
>    at
>
System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[]
> methodInfos)
>    at
>
System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodI
> nfo[] methodInfos)
>    at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type
type,
> LogicalMethodInfo[] methodInfos)
>    at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
>    at System.Web.Services.Protocols.HttpServerProtocol.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)
>
>
> The exact same code copied to another machine executes 100%.
> This seems to be the case with any webservice I run on my machine.
>
> Kind Regards
>
> Armand du Plessis
> Everything in this e-mail and any attachments relating to the official
> business of Isonet ZA is proprietary to the company. It is confidential,
> legally privileged and protected by law. Isonet ZA does not own and
endorse
> any other content. Views and opinions are those of the sender unless
clearly
> stated as being that of Isonet ZA. The person addressed in the e-mail is
the
> sole authorised recipient. Please notify the sender immediately if it has
> unintentionally reached you and do not read, disclose or use the content
in
> any way. Isonet ZA cannot assure that the integrity of this communication
> has been maintained nor that it is free of errors, virus, interception or
> interference.
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to