System.IO.__Error.WinIOError in XmlSerializer constructor
- From: mzl <mzl@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 08:45:07 -0700
On one of the machine, when bring up the application, the execption thrown
with the following message:
Could not find a part of the path
"C:\DOCUME~1\mosesjr\LOCALS~1\Temp\1i-ak8ur.0.cs"
and the call stack shows it's from the XmlSerializer ctor:
Source=mscorlib
StackTrace= at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,
Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share)
at
System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters
options, String[] sources)
at System.CodeDom.Compiler.CodeCompiler.FromSource(CompilerParameters
options, String source)
at
System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, String source)
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String
defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
Any idea what's the cause for this to happen? Anti-virus, etc.? Please help.
Thank you in advanced
.
- Prev by Date: How can I generate a user friendly error message when validating XML against a schema?
- Next by Date: Re: How can I generate a user friendly error message when validating XML against a schema?
- Previous by thread: How can I generate a user friendly error message when validating XML against a schema?
- Next by thread: XML - all its cracked up to be?
- Index(es):
Relevant Pages
|