|
-
Dec 3rd, 2002, 07:31 AM
#1
Thread Starter
Fanatic Member
Xcopy
Hi, when My web host company runs my web site address in .net it gives the following message. Any ideas why? Thanks
Server Error in '/' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'e:\home\fmardani\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access application directory 'e:\home\fmardani\'. The directory does not exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below
-
Dec 3rd, 2002, 03:56 PM
#2
Put a regular ASP (not aspx) in the same folder with only the following code and what does it say when you browse to it?:
<% Response.write(Server.Mappath(".")) %>
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Dec 3rd, 2002, 05:36 PM
#3
Thread Starter
Fanatic Member
xcopy
Originally posted by Lord_Rat
Put a regular ASP (not aspx) in the same folder with only the following code and what does it say when you browse to it?:
<% Response.write(Server.Mappath(".")) %>
Done it and it shows e:\home\fmardani
-
Dec 3rd, 2002, 05:54 PM
#4
Have your host add the ASP_NET user account to that directory. THey are most likely on NTFS permissions and your directory is not within the standard Web share for that IIS installation.
If they add the ASP_Net user, it should resolve it. Also, if you are using any DLLs, have them put EXECUTE permissions on that directory.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Dec 4th, 2002, 07:23 AM
#5
Thread Starter
Fanatic Member
Originally posted by Lord_Rat
Have your host add the ASP_NET user account to that directory. THey are most likely on NTFS permissions and your directory is not within the standard Web share for that IIS installation.
If they add the ASP_Net user, it should resolve it. Also, if you are using any DLLs, have them put EXECUTE permissions on that directory.
Its done now. Thanks for your time;-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|