Well Dio...
A little bit of basics...... See once u start a web project the files are
put into a physical path "c:/Inetpub/wwwroot/<Project Folder>, This is
because the IIS(Internet Information Server) is the one which actually
maintains all the websites of a concern and this IIS is configures into that
folder and some files need (Like Bin Directory etc, a folder in InetPub) for
this IIS are stored in corresponding folders under the same root.
If in case ur "C:/" drive is full and u want to change the root directory to
some other drive then u have to copy the folder called "InetPub from the
"c:/" drive and copy it into another folder and go to IIS and then right
click on default website and click on properties and change the folder path
to where u have copied....
The is by default stores all the website only in the "Inetpub/wwwroot" what
windows offer u and u cannot have ur project under any folder and make it
work, because the associated files to run the web project are present only
in those folders.
Read some thing on IIS and this will solve the problem......
Keep me osted if u have any problem......cheers
S.Ramanujam
Programmer Analyst
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: dio@s... [mailto:dio@s...]
Sent: Wednesday, August 21, 2002 9:47 PM
To: ASPX_Professional
Subject: [aspx_professional] Access denied to <site path>
I recently just installed MS.net and I have permission problems. I am
using Windows 2000 server SP3. I have 'Everyone' and 'ASPNET' user
permissions enabled in the site root.
The only way I could find to have a ".NET" web site running was putting
the files in a folder under the "c:\inetpub\wwwroot" folder.
Any help would be much appreciated...
Here is the error message received when run locally:
Server Error in '/' Application.
--------------------------------------------------------------------------
Access denied to 'C:\Documents and Settings\Administrator\My
Documents\Projectos\mailing.net\Web\' directory. Failed to start
monitoring directory changes.
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: Access denied
to 'C:\Documents and Settings\Administrator\My
Documents\Projectos\mailing.net\Web\' directory. Failed to start
monitoring directory changes.
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.
Stack Trace:
[HttpException (0x80004005): Access denied to 'C:\Documents and
Settings\Administrator\My Documents\Projectos\mailing.net\Web\' directory.
Failed to start monitoring directory changes.]
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirector
y(String dir, FileChangeEventHandler callback) +446
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +324
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +927
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
--------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.209;
ASP.NET Version:1.0.3705.0
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---