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._Erro r.WinIOError(In t32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIB UTES secAttrs, String
msgPath, Boolean bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access)
at System.IO.FileS tream.Compiler. TempFileCollect ion.EnsureTempN ameCreated()
at System.IO.FileS tream.Compiler. TempFileCollect ion.AddExtensio n(String
fileExtension, Boolean keepFile)
at System.IO.FileS tream.Compiler. TempFileCollect ion.AddExtensio n(String
fileExtension)
at
Microsoft.CShar p.CSharpCodeGen erator.System.C odeDom.Compiler .ICodeCompiler. *CompileAssembl yFromSourceBatc h(CompilerParam eters
options, String[] sources)
at
System.codeDom. Compiler.CodeDo mProvider.Compi leAssemblyFromS ource(CompilerP *arameters
options, String[] sources)
at System.Xml.Seri alization.TEmpA ssembly.Generat eAssembly(XmlMa pping[]
xmlMappings, Type[] types, String defaultNamespac e, Evidence evidence,
CompilerParamet ers parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Seri alization.TempA ssembly..ctor(X mlMapping[]
xmlMappings, Type[] types, String defaultNAmespac e, String location,
Evidence evidence)
at System.Xml.Seri alization.XmlSe rializer.FromMa ppings(XmlMappi ng[]
mappings, Type type)
at System.Web.Serv ices.Protocols. SoapClientType. .ctor(Type type)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol..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 :)
0 1716 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Russ |
last post by:
Hello. My new dev machine is running XP Pro. In the past all
equipment has only used Windows 2000. I have had a lot of problems
getting my projects up and running on the new machine. The current
one is a permission error.
The project is a VC++ Web Service. It works fine when the service is
hosted on the old W2K dev machine, but on the new XP machine I get a
permission error when the service tries to open a text file on the
Windows...
|
by: Marcin Zmyslowski |
last post by:
Hello!
I have a few tables in MS SQL Server 2000, where I have admin
permissions for these tables. I have created a blank database in MS
Access 2003, where I linked a table from MS SQL Server 2000. The
problems is that I have only read permissions on these tables in MS
Access 2003, while I have admin permissions in MS SQL Server 2000. Is it
possible to have the sime permission in both MS Access 2003 and MS SQL
Server 2000? Is it...
|
by: Brent Bigler |
last post by:
The computer: W2K server, domain controller, Microsoft.Net Framework 1.1
========================
The error message:
Access to the path "c:\fanmail\newfiles" is denied
....
Exception Details: System.UnauthorizedAccessException: Access to the path
"c:\fanmail\newfiles" is denied
|
by: Nathan |
last post by:
We are encountering strange errors using IE 6 with a specified
automatic configuration script and an internal ASP.NET application.
The application performs very oddly throwing JavaScript errors all
over the place. The JS errors are all in the built in .NET
JavaScripts: wwwroot\aspnet_client\system_web\1_0_3705_288\WebUIValidation.js
and
wwwroot\aspnet_client\system_web\1_0_3705_288\SmartNav.js
most of them are "Permission denied"...
|
by: David Berman |
last post by:
Hello, I'm receiving an error reading the machine.config file when I try
to access my web application. This error came out of nowhere. After
searching many sites, googelizing and searching here, I've found others
with the same problem but no resolution. The problem for me (and for
others) came out of nowhere.
Here's the error message:
>>>>> START <<<<<
Server Error in '/MyApp' Application....
| |
by: ElGordo |
last post by:
I have a .Net application which includes a function to open a command shell
and run an executable (for a file extraction program, 7zip).
I can run the same exact command line manually with no problems. I noticed
that each time the same command line statement is run from the .Net
application (always unsuccessfully), an event is logged in the event viewer
stating:
______
The machine-default permission settings do not grant Local...
|
by: Pupkin |
last post by:
Hi,
I recently moved several sites from a dying 2000 Server to a Windows
2003 Server box.
Even though a few sites were already up and running on the 2003 box,
I've had numerous permissions problems getting some of the transferred
sites to work correctly.
Right now I'm having FSO problems on a bit of code like this:
|
by: sflynn |
last post by:
I've just created a new program in Visual Studio 2005, Visual Basic.
I can publish, install, and run the program just fine as long as the
user is a member of the "Domain Admins" group. My problem is when a
non-admin using tries to run the program. The program gets hung up on
the following line
Dim cn As System.Data.SqlClient.SqlConnection = New SqlConnection("Data
Source=spdb01;Initial Catalog=SToP;Integrated Security=True;")
How...
|
by: Benjamin |
last post by:
Hello, I'm running PHP 5.2.0 as a Apache 2.2 server module. When, I try
to unlink I get this: "Warning: unlink(file.txt) :
Permission denied..." What and how do I change this so it works?
Thanks
|
by: xzzy |
last post by:
I have a v1.1 web app that works on my local computer. However, running it
at the host computer, the following breaks:
when a viewer selects a different country, the State dropdown should
repopulate with the new country's state/proviences.
Running on the host, the dropdown does not repopulate and says 'Permission
Denied', I take this to mean that at the host, a viewer does not have
permission to put new items in the State dropdown.
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |