File access denied

From: Shannon Cayze (scayze_at_us.loreal.com)
Date: 06/27/03


Date: 27 Jun 2003 05:45:12 -0700


Hello all,

I'm new to web development and ASP.Net so hopefully this is trivial.
I've got a web page that contains a custom user control. The .ascx
file for the control is stored in a subdirectory within my project
folder in the wwwroot directory. When the page is brought up in the
browser I get a file access denied on the .ascx file. The page comes
up under the Trusted Sites zone, which I've given Full Trust to. Also,
I'm logged in as an administrator to the local machine and the
security permissions on the file gives me complete control. What else
could cause this exception to be thrown?

Thanks in advance,
Shannon Cayze



Relevant Pages

  • Re: UI - Period.
    ... It's bare bones - which I see as a good thing. ... When I wrote the first version I had a sound foundation in Pick but was ... not up to making any assumptions whatever about web development, ... only just beginning to get under control, I haven't been able to do ...
    (comp.databases.pick)
  • Re: how to throw (raise) exception from a custom control
    ... what you need is a way to catch an exception throw by ... > I couldn't find a OnError method in the Control or the WebControl> class. ... The> error occurs in the aspx page but the control still goes> to the custom control class. ... >>> Unable to throw a exception from within the custom user control I ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: ASP.NET 2.0 User Control that implements a template
    ... The reason it doesn't work is that the ASCX is the concrete class that's being put on the page and it doesn't have the attribute and all the other things like ControlDesigers that are necessary to make the deisgn mode work. ... IOW, and IMO, you don't need the ASCX portion of this control. ... The control has no issues until I try to go into design mode on the aspx page that is implementing the control. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Ignoring the ASP.NET conventions...
    ... If only you spent as much time learning as you did ranting. ... That will let you do "old style" web development where you build up your ... control isn't a form control it can sit outside a FORM. ... I don't use the drag and drop wysiwyg and I'm sure more regular posters on ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple controls with the same ID _ctl11
    ... control on your page, that has the same ID on it. ... > ASCX files. ... > fires before the page loads and it loads all of ASCX files into ... > actually fires. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)