Re: Running an asp.net application on a remote share (UNC) - parse
- From: pj_servadmin <pjservadmin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 Jul 2005 10:21:03 -0700
Thanks for the response mike, but unfortunately, I got errors from
aspnet_regiis -
Starting Copying file
Failure Copying file: CopyFilefailed with HRESULT80070005: 'Access is
denied. '
Failure Setting up client site scripts dirs:
SetupSiteClientScriptFilesfailed with HRESULT80070005: 'Access is denied. '
Which of course does not seem to make sense, I am a domain admin, and
assumably aspnet_regiis was executing in my security context.
* Are there any Microsoft docs on how to setup an asp.net application to run
over a UNC?
* Are there any error logs for the .net framework, or is the best error
information I'm going to get coming straight from hitting the web page?
and now for my comment that summarizes my frustration - if you can configure
an IIS site to use a UNC, and you can make that site an asp.net application
(but it doesn't work), why didn't Microsoft just say - UNC's are only to be
used for static content?!?!?
thanks for any responses in advance
"Mike Labosh" wrote:
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> > to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> >
> > Parser Error Message: Could not load type 'Default.Global'.
> > Source Error:
> > Line 1: <%@ Application Codebehind="Global.asax.cs"
> > Inherits="Default.Global" %>
>
> Whenever I have gotten this, it was because the VS.NET compiler succeeded,
> but the JIT Compiler underneath IIS bombed. (?!?)
>
> I have always been able to fix it with this:
>
> 1. Build Solution (not REbuild)
> 2. Open a DOS-Box and do an iisreset.exe (Better yet, add this to your
> Tools -> External Tools in VS.NET)
> 3. Run your app.
>
> > And just to add to the confusion, is it possible that the parser error
> > occurs because the IUSR account is attempting to read the global.asax
> > because
> > the Thread token, when an application resides on a UNC Share is the IIS
> > UNC
> > Token, which in the case of pass through auth and a configured anonymous
> > user
> > account would be the Anonymous user?
>
> The way to fix this is to open up another DOS-Box, navigate to your .NET
> Framework folder (typically C:\WINDOWS\Microsoft.NET\Framework\<your version
> number>) and run this:
>
> aspnet_regiis.exe
>
> That will rebind all of the IIS .NET mojo back to the ASPNET user account
> and the ASP.NET ISAPI dll.
>
> If IUSR_MACHINE-NAME is still trying to process asax or aspx files, check
> the properties of your web application in the IIS MMC console.
> --
> Peace & happy computing,
>
> Mike Labosh, MCSD
>
> "Mr. McKittrick, after very careful consideration, I have
> come to the conclusion that this new system SUCKS."
> -- General Barringer, "War Games"
>
>
>
.
- Prev by Date: Re: Carrying form data between two pages
- Next by Date: Re: AddHeader is not working
- Previous by thread: Re: vb6 active-x dlls in asp.net
- Next by thread: Spell Check
- Index(es):
Relevant Pages
|