Re: I don't really understand windows security...I need help

From: Rich (richgi@hotmail.com)
Date: 09/19/02


From: "Rich" <richgi@hotmail.com>
Date: Thu, 19 Sep 2002 18:20:38 +1000


Okay I checked out the article. That is my exact problem, however the fix
didn't fix it.

I now have updated to the new visual studio, so I've created a new aspnet
visual studio project. I moved the files into this directory and they work
fine. It definitely seems like a problem with permissions.

However, I really want to get a handle on why it didn't work, since one day
soon I'll probably have to deploy in a situation where there is no copy of
VS to automate the process for me. So I tried opening the
settings/security tab of the new project's directory and duplicating the
exact permissions list into my old directory. Well it still didn't work.

There are a few differences between the two though:
  1. The old directory is just an alias in IIS, it doesn't reside beneath
the wwwroot folder, it's actually in my MyDocuments (though I tried moving
it and still it didn't work). The new directory is under wwwroot.
  2. The permissions in the new 'working' directory, some are greyed out
and ticked, I presume this means they are inherited from a parent directory,
though I can't imagine this should matter if the ticks are all in the right
places.
  3. VS seems to have added a link in My Network Places, though I think
this just amounts to a shortcut and is probably irrelevant.

I think my biggest problem is that I don't really understand what all the
system accounts are for or the context in which an Asp.net page executes.
I assume one of these accounts has an associated access control list that is
checked when the page is accessed.

any thoughts?

thanks for the help, much appreciated.

cheers.

"Mark Johnson" <MarkJohnsonIII@nospam.hotmail.com> wrote in message
news:ODcoXEnXCHA.2416@tkmsftngp09...
> I doubt this has anything to do with IE
>
> Check out Microsoft Knowledge Base Article - Q316721
>
> It discusses a slightly different scenario than you describe but I bet the
> solution is the same.
>
> Let us know how it goes.
>
> Mark
>
> "Rich" <richgi@hotmail.com> wrote in message
> news:em5du$YXCHA.2780@tkmsftngp10...
> > thanks for the help, the answers are yes, I can view html, but haven't
> tried
> > hello world.
> >
> > the error message is:
> >
> > Access denied to 'C:\Documents and Settings\Administrator\My
> > Documents\Sites\ApexJindalee\' 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\Sites\ApexJindalee\' directory.
> > Failed to start monitoring directory changes.
> >
> > You know, it might be caused by an error with IE, it was strange but
after
> I
> > reinstalled everything, I rebooted, windows told me it had to check my
> disk
> > for consistency for some reason, then it said there was a problem with
IE
> in
> > the file system, I clicked fix, and ever since IE won't launch off the
> > desktop, but will launch off the quick launch, but only in something
> called
> > compatability mode. Maybe it's related, maybe it's not...
> >
> > cheers.
> >
> > Rich.
>
>
>



Relevant Pages

  • Re: I dont really understand windows security...I need help
    ... I would chalk this one up to having a beta version of Visual Studio and let ... however the fix ... It definitely seems like a problem with permissions. ... >>> desktop, but will launch off the quick launch, but only in something ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • MVS 2005 ERROR -Cant run Device Emulator Manager
    ... Visual Studio 2005 Professional Edition ... When I try to load a new project I get this error: ... Somebody suggest removing everything and installing again - I did this ... How can I fix it? ...
    (microsoft.public.windowsce.app.development)
  • Re: All shortcuts open the same program
    ... That fix didn't ... I did a system restore which has fixed things. ... I have uninstalled UptoDate and I now get "File not found" if I launch ... I would like to avoid trashing the entire user account if possible. ...
    (microsoft.public.windowsxp.general)
  • [ANN] Currently available hotfixes for VC 2005
    ... FIX: An access violation may occur when you try to run a Visual C++ 2005 application that contains OMG CORBA IDL code ... You may receive an invalid type exception when floating-point optimization of a Visual C++ application occurs in Visual Studio 2005 ... FIX: Error message when you use certain code patterns that involve the IDisposable interface in the Visual Studio 2005 C++ compiler: Fatal error C1001 ... The IDE stops responding when you build a project that generates lots of text in the Output window in Visual Studio 2005 ...
    (microsoft.public.vc.language)
  • Re: QuickLaunch disappears
    ... Rob. ... Quick Launch: Gives error message, ... 2004 Windows MVP "Winny" Award ... I tried the Fix from Ramesh at MVP and I now have my QL ...
    (microsoft.public.windowsxp.general)