473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Running ASP.NET from Another Directory

Sorry for the cross-post as I am not sure which group to post this question
to. I am trying to run an ASP.NET application in IIS 6.0. If I have my
application in the c:\inetpub\wwwroot\app1\ directory, which the Default
Website is pointing to, the application works. However, if I create a new
Website and point it to d:\IIS\sites\app1\ it does not work.

I checked the permissions on the c:\inetpub\wwwroot\ directory and the it
was the following:

-IUSR_SERVER - Explicit "Deny Write"
-IIS_WPG - Read Access
-Administrators - Full Control
-SYSTEM - Full Control
-CREATOR OWNER - No Permissions

I set the permissions on d:\IIS\sites\ to the same as c:\inetpub\wwwroot\
and the application still did not work. I kept getting the page pasted at
the end of this message. However when I set the permission on d:\IIS\sites\
to Everyone - Full Control the .aspx page loads successfully. I obviousely
do not want to do that so I am hoping someone has a better suggestion.

Shahir Ahang

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Nov 18 '05 #1
1 935
> Sorry for the cross-post as I am not sure which group to post this
question
to.


It doesn't belong in asp.general, which is for "classic" ASP...
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Shalen chhabra | last post by:
Hey, Can anyone give me a snippet for running a python program over all the files in the directory. For ex: I have ten files in a directory and I want to run a python program against all of...
1
by: Shahir A. Ahang | last post by:
Sorry for the cross-post as I am not sure which group to post this question to. I am trying to run an ASP.NET application in IIS 6.0. If I have my application in the c:\inetpub\wwwroot\app1\...
1
by: Rocio | last post by:
I do not understand why. I am running perfectly well asp.net on a virtual directory, but if I put a simple asp file such as this, and named it foo.asp, and try to run it from this virtual...
1
by: Venkat | last post by:
I just installed Visual Studio.Net 2003 and that is supposed to add that asp.net 1.1 extension. I got an error message while opening ASP.NET project.Error is : "visual studio.net has...
0
by: Morne | last post by:
i delete a child folder wich works fine, but then after that i want to delete the parent also and n ugly msgbox appears saying An unhandled exception of type 'System.IO.IOException' occurred in...
2
by: bbxrider | last post by:
for win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple parameters, see following set shell = server.createobject("wscript.shell") shell.Run...
7
by: MLH | last post by:
I have an sql script file that is supposed to create a set of database tables for me. Supposedly I type the following on my linux box and its all supposed to work... mysql (ENTER) \....
3
by: CES | last post by:
All, I was wondering is their a way of accessing/running .aspx pages that live above the web root. An example would webserver Account\Webroot1\default.aspx webserver...
17
by: JStemper | last post by:
On one of my localhost sites I'm getting a message to run aspnet_regiis -c to correct some scripting issues. When I try to run the listed command I get another error: "You must have...
5
by: Mrpush | last post by:
Hello, Have MS 2003 server with IIS 6.0 installed. ASP.net is also installed. Had to re-install the server after initial configuration by someone who left the company and now I cannot get...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.