Re: Server Error in '/' Application - Compilation Error - Temporary ASP.NET Files

From: Tyrel van Niekerk (tyrel_at_tyrelweb.com)
Date: 09/09/03

  • Next message: Tyrel van Niekerk: "Re: Server Error in '/' Application - Compilation Error - Temporary ASP.NET Files"
    Date: Mon, 8 Sep 2003 17:22:48 -0500
    
    

    I set impersonation to an admin user on the server, same error. Tried it
    with a strong name key in case that had something to do with it, also same
    problem. Not sure what else to try. I have to get this site up and running
    soon...
    "Tyrel van Niekerk" <tyrel@tyrelweb.com> wrote in message
    news:OBFxCLldDHA.2268@TK2MSFTNGP12.phx.gbl...
    > Just default install. Think I should try impersonation, have to find the
    > machine.config file everyone is talking about. :D
    > "Chris Jackson" <chrisj@mvps.org> wrote in message
    > news:%23MP1sChdDHA.3596@TK2MSFTNGP11.phx.gbl...
    > > What authentication mechanism are you using, and are you using
    > > impersonation?
    > >
    > > --
    > > Chris Jackson
    > > Software Engineer
    > > Microsoft MVP - Windows XP
    > > Windows XP Associate Expert
    > > --
    > > "Tyrel van Niekerk" <tyrel@tyrelweb.com> wrote in message
    > > news:eu0LsPXdDHA.3596@TK2MSFTNGP11.phx.gbl...
    > > > I have a site that works fine on my local box. I then copy it to my
    > > > production server (Win2003) and when I try to access the site I get:
    > > >
    > > >
    > > > Server Error in '/' Application.
    > >
    >
    > --------------------------------------------------------------------------
    > > --
    > > > ----
    > > >
    > > > Compilation Error
    > > > Description: An error occurred during the compilation of a resource
    > > required
    > > > to service this request. Please review the following specific error
    > > details
    > > > and modify your source code appropriately.
    > > >
    > > > Compiler Error Message: CS0016: Could not write to output file
    > > > 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    > > > Files\root\a9e59083\3254c4a0\oxtcux7z.dll' -- 'Access is denied. '
    > > >
    > > > I have tried suggestions from various posts on the net to solve this,
    > but
    > > no
    > > > luck so far. Basically gave the NETWORK_SERVICE, ASP.NET full access
    to
    > > the
    > > > temp folder. Then I gave full access to everyone, Then just to all the
    > > users
    > > > already listed, etc. etc. Does not seem to matter what I set the
    access
    > > > rights to, I always get this error.
    > > >
    > > > Any ideas? Please? :D
    > > >
    > > >
    > >
    > >
    >
    >


  • Next message: Tyrel van Niekerk: "Re: Server Error in '/' Application - Compilation Error - Temporary ASP.NET Files"

    Relevant Pages

    • Re: Read-only access to SPGlobalConfig without administrator rights
      ... back to the impersonation thing again. ... > admin user names and passwords in code, ... One way would be to use to application pool identity ... > credentials are stored safely in the IIS metabase), ...
      (microsoft.public.sharepoint.portalserver.development)
    • Re: Read-only access to SPGlobalConfig without administrator rights
      ... We agree you shouldn't hardcode admin user names and passwords in code, but you can have impersonation using other options. ... SPGlobalAdmin and SPGlobalConfig without impersonation? ...
      (microsoft.public.sharepoint.portalserver.development)
    • XP SP2, SSPI, Bad Impersonation level Error
      ... password which allowed me to use SSPI to impersonate the admin user ... Since installing XP SP2, the SSPI impersonation code works the same ...
      (microsoft.public.platformsdk.security)
    • Re: Error: "Unable to connect to database" when impersonating on Sharepoint Portal
      ... There are some limitations when doing impersonation within SPPT, you could try another approach which is described in more detail on http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?ID=7, basically, in this scenario you're using impersonation, after that you need to create a new AppDomain and have your code executed in that. ... After that you must ensure the data is marshalled back to your parent AppDomain. ... If I impersonate with the same admin user as worked fine before I now ... Dim web As SPWeb = New SPSite.OpenWeb ...
      (microsoft.public.sharepoint.portalserver.development)
    • Re: Going from anonymous security to Windows Security in an ASP.NET application
      ... as I said in my previous post - there is no context on the client... ... Your page.context exists purely on the server. ... we need to have our own login page instead of the standard Windows logon ... impersonation, which takes place on the server has no effect on page ...
      (microsoft.public.dotnet.framework.aspnet.security)