first web application and cs0016

From: Marc Pelletier (no.email_at_please.com)
Date: 03/31/04


Date: Tue, 30 Mar 2004 20:02:06 -0800

Hello all,

I've been putsing with c# for a few months now, and have finally built
something I would like to expose via the web. So I have created a new
solution, with a new web application, changed the name of the page to
start.aspx and put a label on it. I know, not much to show for 3 months
work! But when I go to run it I get the dreaded cs0016 compiler error.

CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework
\v1.1.4322\Temporary ASP.NET Files\webapplication1\8dd84b00\b065eec7
\z1vcuoyo.dll' -- 'Access is denied. '

I've found a whole pile of references to this error and every one insists
the problem is with my file permissions. Well, I've gone into the IIS
management console and confirmed that WebApplication1 has anonymous access
for IUSR_machinename, I've opened up the c:\WINDOWS\Microsoft.NET
\Framework\v1.1.4322\Temporary ASP.NET Files path to Web sharing. I've been
banging my head on this for 2 days. All of my console apps ran no problem,
so I'm sure this is just a configuration problem of IIS, but what?

Can anyone point me to a definitive source of info, or give me any
pointers? Im a reasonably competent programmer, but have never done web
development.

Thanks

Marc Pelletier



Relevant Pages

  • Re: Website cannot be found.
    ... IIS including all websites are running in the IIS management console. ... you access any other web site? ... Can you ping that machine from another one? ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 5.1 On Windows XP Will Not Start
    ... "The World Wide Web Publishing service hung on starting." ... > Any events in the event viewer? ... >> IIS management console is accessible but IIS has to be started to ...
    (microsoft.public.inetserver.iis)
  • Re: Website cannot be found.
    ... IIS including all websites are running in the IIS management console. ... Can you ping that machine from another one? ... "iisreset -restart" won't help. ...
    (microsoft.public.inetserver.iis)
  • Re: Website cannot be found.
    ... IIS including all websites are running in the IIS management console. ... Hi again Andrew, ... "iisreset -restart" won't help. ...
    (microsoft.public.inetserver.iis)
  • Re: Website cannot be found.
    ... IIS including all websites are running in the IIS management console. ... Immediately i get the message in the browser one usually gets when there is no internet or network connection. ... Can you ping that machine from another one? ...
    (microsoft.public.inetserver.iis)

Loading