Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Running ASP.Net Application where site files on remote server

Reply
Thread Tools

Running ASP.Net Application where site files on remote server

 
 
Yinka
Guest
Posts: n/a
 
      02-04-2004
Hello,
I recieve the following error when I run my ASP.Net application
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 'Marketing.Global'.

Source Error:

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



Source File: \\pluto\staging_sites\marketingdb\global.asax Line: 1



Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573


I have developed an APS.Net application on my development server and all
works fine. Here the home directory is a folder on the web server and it is
running IIS6.

In my testing area I have the following setup
Server A runs IIS6. The Web site has its content based on a share on server
B. Server B is not running IIS in any format and is more of a file store
(the content folder is shared).

The application works fine if the files are located in a directory on Server
A but if I change the web site properties such that the content is based
on a share on a remote computer, the above error is displayed.

What do I need to do to Server A so that I can place the source files on
this second server? I can do this with no problems when the website is based
on ASP files but not ASPX files.

I am doing this as a precursor to deploying a web cluster where the web
content is placed in one place and the websites on the deifferent machines
point to that content folder.

Thanks in advance for any suggestions.

Yinka


 
Reply With Quote
 
 
 
 
Marshal Antony
Guest
Posts: n/a
 
      02-05-2004
The problem is kind of the same with running applications across app
domains.
This may sound like a distributed application.The IIS can run ASP.NET pages
from a UNC but will be hard time
pulling the assemblies into memory.That is what the message Parser Error
Message: Could not load type 'Marketing.Global'.
The solutions can be put all your code in aspx pages so that you
don't have load assemblies into memory and the app will compile itself.
Another one is map the UNC to a drive letter in the local drive of the
IIS and use it when you create the virtual directory.

Impersonation may be an option to look into but I am not sure whether
it will suite in this scenario or not.
Anybody has more suggestions on it?

Hope this helps

Regards,
Marshal Antony
http://www.dotnetmarshal.com



"Yinka" <> wrote in message
news:bvrqgj$cki$...
> Hello,
> I recieve the following error when I run my ASP.Net application
> 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 'Marketing.Global'.
>
> Source Error:
>
> Line 1: <%@ Application Codebehind="Global.asax.vb"
> Inherits="Marketing.Global" %>
>
>
>
> Source File: \\pluto\staging_sites\marketingdb\global.asax Line: 1
>
>
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET
> Version:1.1.4322.573
>
>
> I have developed an APS.Net application on my development server and all
> works fine. Here the home directory is a folder on the web server and it

is
> running IIS6.
>
> In my testing area I have the following setup
> Server A runs IIS6. The Web site has its content based on a share on

server
> B. Server B is not running IIS in any format and is more of a file store
> (the content folder is shared).
>
> The application works fine if the files are located in a directory on

Server
> A but if I change the web site properties such that the content is based
> on a share on a remote computer, the above error is displayed.
>
> What do I need to do to Server A so that I can place the source files on
> this second server? I can do this with no problems when the website is

based
> on ASP files but not ASPX files.
>
> I am doing this as a precursor to deploying a web cluster where the web
> content is placed in one place and the websites on the deifferent machines
> point to that content folder.
>
> Thanks in advance for any suggestions.
>
> Yinka
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a Python app on a remote server and displaying the output files Jason Hsu Python 2 12-09-2012 04:27 PM
Ruby, net-ssh, running an application on remote systems. lance.sanchez@gmail.com Ruby 2 03-14-2007 10:38 PM
Running an asp.net application on a remote share (UNC) - parser er =?Utf-8?B?cGpfc2VydmFkbWlu?= ASP .Net 2 07-01-2005 05:21 PM
Runtime error while running web application on remote machine Marina Anufreichik ASP .Net 10 02-17-2005 02:07 PM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57