Hello.
I 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.E nsureTempNameCreated()
at System.IO.FileStream.Compiler.TempFileCollection.A ddExtension(String
fileExtension, Boolean keepFile)
at System.IO.FileStream.Compiler.TempFileCollection.A ddExtension(String
fileExtension)
at
Microsoft.CSharp.CSharpCodeGenerator.System.CodeDo m.Compiler.ICodeCompiler.*CompileAssemblyFromSourc eBatch(CompilerParameters
options, String[] sources)
at
System.codeDom.Compiler.CodeDomProvider.CompileAss emblyFromSource(CompilerP*arameters
options, String[] sources)
at System.Xml.Serialization.TEmpAssembly.GenerateAsse mbly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[]
xmlMappings, Type[] types, String defaultNAmespace, String location,
Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor (Type type)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol..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