Re: asp.net assemblies over UNC network shares
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 02/03/05
- Next message: BG: "Re: Am I blind?"
- Previous message: Shuvro Mazumder [MSFT]: "Re: Runtime error while running web application on remote machine"
- In reply to: zerokarma: "asp.net assemblies over UNC network shares"
- Next in thread: jongalloway: "Re: asp.net assemblies over UNC network shares"
- Reply: jongalloway: "Re: asp.net assemblies over UNC network shares"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Feb 2005 18:15:55 -0800
the asp machine account will need to be a domain account in order to have
access to the share so it can compile the code. also you may need to
configure .net to trust the remote machine for any dlls its loads, if they
get runtime permission errors.
-- bruce (sqlwork.com)
"zerokarma" <zerokarma@discussions.microsoft.com> wrote in message
news:DF92811D-DBE0-471C-A70A-4F80623447A7@microsoft.com...
| I've recently setup a webfarm using win2k3 and a network disc array to
store
| all the files served up by the webfarm. All web sites being hosted are
| configured to work over UNC.
|
| My problem is IIS doesn't load the .Net assembly from the UNC share (in
the
| bin directory) and the page fails. Here is the error message:
|
| Parser Error Message: Could not load type aspnettest.Global'.
| Source Error: Line 1:
| <% @ Application Codebehind="Global.asax.vb" Inherits="aspnettest.Global"
%>
|
| The web site runs as a low privilage domain user and has no problems
| accessing the older content. I added <imperonate="true".../> to the
| web.config file and made sure the machine.config file had
| allowOveride="true". I also setup file system auditing on the cluster
server,
| which manages the diskarray, to see if the IUSR accont could connect and
| access the domdotcom.dll assembly in the bin directory, which the IUSR was
| properly accessing the assembly because i setup impersonation. I've
adjusted
| the trust level for the assembly to the 2nd from lowest trust setting.
I've
| also used ildasm to open up the assembly and find ensure the Global class
was
| there. I can reproduce the behavior with another asp.net site that uses
the
| code behind model.
|
| I've tried adding the assembly to the global assembly cache but it didn't
| have a public key token. I can get the site to work if I move it to a
local
| disc. One of my test sites was c# the other was VB. Please advise
|
|
| thanks
| adam
|
|
- Next message: BG: "Re: Am I blind?"
- Previous message: Shuvro Mazumder [MSFT]: "Re: Runtime error while running web application on remote machine"
- In reply to: zerokarma: "asp.net assemblies over UNC network shares"
- Next in thread: jongalloway: "Re: asp.net assemblies over UNC network shares"
- Reply: jongalloway: "Re: asp.net assemblies over UNC network shares"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|