|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
problems with xmlserializer on domain machineI have developed an application (an office addin).The application works fine with no error messages on my devoping machine (that machine is not connected to any domains). I have problems getting this application to run on a computer where the user is on a domain (as in a big company where you log on to the company domain). The funny thing is that the application works fine in outlook. But not in word or excel... The error occurs when trying to create the proxy object. This proxy objects creates successfully when run from outlook. The stack trace from my error is as follows: at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.IO.FileStream.Compiler.TempFileCollection.EnsureTempNameCreated() at System.IO.FileStream.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile) at System.IO.FileStream.Compiler.TempFileCollection.AddExtension(String fileExtension) at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources) at System.codeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources) at System.Xml.Serialization.TEmpAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters 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, Type type) at System.Web.Services.Protocols.SoapClientType..ctor(Type type) at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() After reading several posts on the internet I found something about calling the XmlSerializer could create problems. This because it has to compile code and has to make a temporary file to write to. Is there anything is this lead or are ther other things that may cause my problems? I'll be very happy for any hints or tips you can give me :) |
|||||||||||||||||||||||