Re: ASPNET does not have write access ... tried everything?

Tech-Archive recommends: Fix windows errors by optimizing your registry



You mentioned this, earlier... :

!> Nope, windows (we use iis integrated security)

Are you sure ?

Please copy this script as identity.aspx, and run it...

identity.aspx :
--------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = "ASP.NET is running as the account : " & tmp
End Sub
</script>
<html>
<head>
<title>What account is ASP.NET running as ?</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
--------------

Please post back the identity reported by that script.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"SandpointGuy" <SandpointGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FE44929D-0D27-49FE-91E5-58E6745C0C3A@xxxxxxxxxxxxxxxx
XP Pro, IIS 5.1.

Target will be w2k3, an earlier version is there now.

"Juan T. Llibre" wrote:

Please review this KB...and see if anything looks different on your server :

http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B317012

You haven't mentioned the OS version and IIS version you're running.
Which are they ?

Knowing which OS and IIS version you're running may help determine the fix.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"SandpointGuy" <SandpointGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:28EDA3FA-9BC8-4283-B9B8-4E64292EEFE4@xxxxxxxxxxxxxxxx
Nope, windows (we use iis integrated security)

"sloan" wrote:

You're not using impersonation are you? in the web.config file?

...



"SandpointGuy" <SandpointGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A7411DF1-37D1-42E9-9EE5-85579311BBDB@xxxxxxxxxxxxxxxx
Yesterday I was working with an asp.net 2.0 app. Today is a nightmare - I
can only get a "The current identity (LLCA1-ITE51218\ASPNET) does not have
write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files'" message. Ive reinstalled the mappings (aspnet_regiis),
Ive
rebooted more than once, relaxed ntfs permissions massively on the site
and
folder noted in the email above. Created a basic project with no mods to
the
aspx or anything else. The ASPNET account itself looks good. Searched on
the internet like crazy, trying some of this and that - nothing is work.

If there is one good thing, vs.net 2003 is working fine.

No idea what caused this, but its starting to hurt. Any ideas, anything I
might be missing? Thanks a lot!








.



Relevant Pages

  • Re: Server Application unavailable error
    ... Nuke IIS and the .Net Framework. ... You can, afterwards, uninstall IIS by clicking "Add/Remove Windows Components". ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Bug in .NET Framework compiling C# scripts?
    ... worked fine when copied to the server and then accessed from my ... most likely in IIS 5.1 because it uses .NET Framework 1.1 instead ... But I concede that you are right about ending the script with: ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Name Started With Invalid Character?
    ... Something you, or your system, did misconfigured ASP.NET's IIS registration. ... Juan T. Llibre, asp.net MVP ... asp.net faq: http://asp.net.do/faq/ ... BTW, Juan, any idea what caused that error? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASPNET does not have write access ... tried everything?
    ... Target will be w2k3, an earlier version is there now. ... You haven't mentioned the OS version and IIS version you're running. ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unable to open vc2002 ASP.NET web project with vc2003 HELP
    ... Add all the source files, ... This file includes the information for the IIS mapping of the project. ... >> Juan T. Llibre ...
    (microsoft.public.dotnet.framework.aspnet)