ASP.net using UNC references and IIS 5.0

E

Erik Lindeblom

I am having trouble getting ANY asp.net application (either .aspx or .asmx)
working when IIS is configured to use a "share located on another computer"
via a UNC reference. Any .aspx or .asmx generates the following error when
I try to browse to the page:

Parser Error Message: Could not load type 'dummyASPX.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="dummyASPX.Global" %>


Source File: \\jrahqa491689wk\issdwwwroot\dummyASPX\global.asax Line: 1

However, when I set IIS to use "A directory located on this computer" for
it's content, and hit the same .aspx or .asmx application - it runs fine.

This particular test, called dummyASPX is just an .aspx page with a label
control which is set to "TEST", so there is nothing complex going on as far
as references or anything. I'm using IIS 5.0 on a Win 2K server, and I have
tried a UNC share on a remote machine, as well as just as pointing to a
share on my local server via UNC name.

I have given the account specified in the IIS "connect as..." field full
control over the resource that the UNC name points to, as well as assigned,
"Act As Part of the Operating System" rights to the account on the IIS
box... I even gave it full control over the ASP.net temp files folder... but
nothing seems to resolve this issue.

Any ideas would be greatly appreciated.

Erik Lindeblom
Information Tech. Application Specialist
 
A

Anatoly

You need also to give full access permissions to
all dll files coming from this share.
You can do it from Adminirtative Tools -> Microsft .net framework
configuration tool.
HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top