Unknown error in XmlSerializer
- From: Brecht Yperman <brecht.yperman@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 11:44:25 +0100
Hi,
when calling the XmlSerializer constructor, I get the following error:
Top Level Exception
Type: System.IO.IOException
Message: Unknown Error (-1).
Source: mscorlib
Stack Trace: 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.ICodeCompil
er.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)
at ...
Any ideas?
Thanks, Brecht .
- Follow-Ups:
- Re: Unknown error in XmlSerializer
- From: Brecht Yperman
- Re: Unknown error in XmlSerializer
- Prev by Date: how to add namespace prefix declarations to a new XmlDocument
- Next by Date: Re: How do I display images from an XML doc that are in this format>>
- Previous by thread: how to add namespace prefix declarations to a new XmlDocument
- Next by thread: Re: Unknown error in XmlSerializer
- Index(es):
Relevant Pages
|