re:
!> This is the web.config
OK, so you are not impersonating the ASP.NET account.
re:
!> I got the follow error:
!> "Access to the path
!> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
!> ASP.NET Files\inspeccion\2b77adf5\e651f5c7" is denied. "
Can you check to see if the account ASP.NET runs as has read/change/write permissions to:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
?
If you don't know which account ASP.NET runs as, save the following as "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>
------------
Save "identity.aspx" to your "/inspeccion" directory and run it from
http://localhost/inspeccion/
Then, make sure the account returned by that script has read/change/write permissions to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
You could also delete
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\inspeccion
and all its subdirectories. ASP.NET will recreate it/them when you run the app again.
Don't delete the \Temporary ASP.NET Files\ directory !
Just the \inspeccion subdirectory, and all its subdirectories and files.