R
Randy
Hello,
I'm getting an "Access Denied" error when I hit the line of code...
Excel.Application oXL = new Excel.Application();
From what I've read, you can get around this by putting the file (where this
code is) in a separate directory and also putting its own web.config in this
separate directory with this line in it...
<identity impersonate="true"/>
My question is simple...how can you get the .NET project (solution) to add
(use) a file not in the home directory? When I add this file (in the
separate directory) to the solution, .NET copies the file into the main
project directory and uses it.
Is there a way to do this? Am I missing something?
Thanks in advance to anyone who can help.
I'm getting an "Access Denied" error when I hit the line of code...
Excel.Application oXL = new Excel.Application();
From what I've read, you can get around this by putting the file (where this
code is) in a separate directory and also putting its own web.config in this
separate directory with this line in it...
<identity impersonate="true"/>
My question is simple...how can you get the .NET project (solution) to add
(use) a file not in the home directory? When I add this file (in the
separate directory) to the solution, .NET copies the file into the main
project directory and uses it.
Is there a way to do this? Am I missing something?
Thanks in advance to anyone who can help.
