Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server Error in '/myapp' Application
Message
De
15/02/2005 10:24:50
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Server Error in '/myapp' Application
Divers
Thread ID:
00987033
Message ID:
00987033
Vues:
78
I am trying to get my asp.net webforms to work on our production servers but I am having problems doing this. Our production environment is using MS network load balancing. We have two Win2000 advance servers as the web servers which are connected to another Win2000 Adv. server which is acting as the file server.

My Vfp8 Web Connect application has been running perfectly in this environment for a few years and accessing all the VFP databases and tables from the file server.

Also, I can get a simple Asp.Net 'Hello World' webform to run in this environment as long as the webform doesn't access a table or anything from the file server.

The problem is I can't access a VFP table that resides on the file server through a Asp.net webform.

I am using identity impersonate in my web.config as shown below.
identity impersonate = "true" userName="myusername" password="mypassword"
But this doesn't help.

When I attempt to display the asp.net webform I get the following errors:
-Web server1 displays a login prompt and asks for a username and password. Reguardless of what I enter, I get this error in my browser:
***
Server Error in '/myapp' Application
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to ACLs). Ask the Web server's administrator to give you access to 'D:\Inetpub\myvirdir\mywebform.aspx'.
***

-Web server2 returns this error message, but no login prompt:
***
Server Error in '/myapp' Application.
Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\myapp\4fa0f5af\42bf6097\hash.web" is denied.

Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\myapp\4fa0f5af\42bf6097\hash.web" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via identity impersonate="true", the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
***

What do I need to do to get my Asp.net webforms to work in a Network load balancing environment?

Thanks,

Jerry
Répondre
Fil
Voir

Click here to load this message in the networking platform