Re: Running ASP.NET application from network share
From: Cowboy \(Gregory A. Beamer\) (NoSpamMgbworld_at_comcast.netRemuvThis)
Date: 07/25/03
- Next message: Davis_at_roan.com: "Updated NEW Exam questions 15987"
- Previous message: Robert Remen: "Running ASP.NET application from network share"
- In reply to: Robert Remen: "Running ASP.NET application from network share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jul 2003 08:27:32 -0500
The problem is the same with running apps across domain boundaries (app
domain, not NT domain). You are creating what, in essence, is a distributed
application. The system can pull the ASPX pages and parse from your UNC, but
it has a hard time pulling the assemblies into memory. Thus, you end up with
a failure.
Choices:
1. Move all of your code into the ASPX pages and ASAX page. .NET will
compile when you run the app
2. Go to local drive, or map the UNC to a drive letter (The machine will set
it as local)
3. Separate the UI layer from the back end and run the backend on the other
server (remoting or web services or serviced component)
IIS has never been good at serving apps from another server. What happens if
the web server stays up and the application server goes down? How do you
create a system to handle this without overengineering the rest of the
system? And, how many customers try to serve web apps from a machine that
does not have a web server on it?
-- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA Author: ADO.NET and XML: ASP.NET on the Edge **************************************************************************** **** Think Outside the Box! **************************************************************************** **** "Robert Remen" <robert@remen.at> wrote in message news:bfr3ts$ghm$1@at-vie-newsmaster01.nextra.at... > Hi, > > i'm trying to run an asp.net application wich is located on network share. i > use an win2003 server configured as domain controller running IIS. I have > created and shared a directory, wich contains the application files. If i > configure the root of the virtual directory to point to this network share > and i try to access this application with a webbrowser, i get following > error: > > Server Error in '/' Application. > -------------------------------------------------------------------------- -- > ---- > > 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 'Test.Global'. > > Source Error: > > Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Test.Global" > %> > > > > > But if i configure the root of the virtual directory to point to local > directory (wich ist in fact the shared directory), everything works fine. > To be sure, the problem are not the share permissions or ntfs permissions i > have set the share permission and also ntfs permissions for everyone to full > control, but it doesn't help. > This really doesn't seem to be share or ntfs permissions problem, because i > can access static pages in this application wihout problems. > > Does anybody have an idea what's wrong? > Thank you for your help. > > Robert > >
- Next message: Davis_at_roan.com: "Updated NEW Exam questions 15987"
- Previous message: Robert Remen: "Running ASP.NET application from network share"
- In reply to: Robert Remen: "Running ASP.NET application from network share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|