Re: asp.net assemblies over UNC network shares

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 02/03/05


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
|
|



Relevant Pages

  • RE: Office 2000 Fails to install on WIN 98 SYSTEM
    ... When you start Office Setup, you may receive the following error message ... Create a new administrative installation of Office in a folder that is ... Turn Off the "Restrict CD-ROM Access to Locally Logged on User ...
    (microsoft.public.office.setup)
  • My mail busted after stable update
    ... I'm using the setup that ... saslauthd with mysql, pam-mysql and a web interface to modify and add ... I have tested testsalauthd -u -p, same error message. ... and re-installed from actual port the whole cyrus stuff, postfix (well ...
    (comp.unix.bsd.freebsd.misc)
  • CORRUPT NTFS.SYS FILE-VIRUS RELATED?
    ... The error message during setup is not familiar to me, ... this is not a virus problem.. ... >You can attempt to repair this file by starting Windows ... >Setup using the original setup cd-rom. ...
    (microsoft.public.security.virus)
  • RE: Office Enterprise 2007 will not install under Vista
    ... It just hangs during the setup or do you get an error message? ... > Patrick Schmid [OneNote MVP] ... >> It does not look like MS has a way of supporting install problems with Office. ...
    (microsoft.public.office.setup)
  • Re: Re-Installing XP Office
    ... you receive the error message if the ... if the path to Office Setup is ... >> Microsoft has confirmed that this is a problem in the Microsoft ... Thanks for your suggestion having installed 'Windows Install Clean up' ...
    (microsoft.public.office.setup)

Quantcast