Ask a Question related to ASP.NET General, Design and Development.
-
Erik Lindeblom #1
ASP.net using UNC references and IIS 5.0
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
Erik Lindeblom Guest
-
Web References
hi, There are 10 machines which run the same webservice. I have 10 webreferences in my client. Only during runtime, will i decide which webservice... -
Getting references
How does one get a reference to a previously created object? Here's the scenario. I'm writing a web application, so there's a listener object... -
[PHP-DEV] References
The current support for references is mediocre at best. For instance: class foobar { var $variable; function foobar() { $variable =... -
references help
Hi, I need some desperate help with my references usage in the code below. I'd appreciate the help enormously. Following is the input in the... -
references
Ok lets see I have the following two functions one calls the other Function a (&$myref) { ...something... then calls function b b($myref); ... -
Anatoly #2
Re: ASP.net using UNC references and IIS 5.0
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
"Erik Lindeblom" <lindeed@dshs.wa.gov> wrote in message
news:uxVa4w3WDHA.1480@tk2msftngp13.phx.gbl.....asmx)> I am having trouble getting ANY asp.net application (either .aspx orcomputer"> working when IIS is configured to use a "share located on anotherwhen> via a UNC reference. Any .aspx or .asmx generates the following errorfar> 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 ashave> as references or anything. I'm using IIS 5.0 on a Win 2K server, and Iassigned,> 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 asbut> "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...> nothing seems to resolve this issue.
>
> Any ideas would be greatly appreciated.
>
> Erik Lindeblom
> Information Tech. Application Specialist
>
>
Anatoly Guest



Reply With Quote

