Weird isn't it ?

P

Piotr Nowak

When i want to put my application on IIS and start it, i get the
following error (below):
(all files/folders rights are set correct).

Server Error in '/umowix2' 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\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll'
-- 'Access is denied. '

Source Error:



[No relevant source lines]


Source File: Line: 0


Show Detailed Compiler Output:


c:\windows\system32\inetsrv>
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library
/utf8output
/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\63312b1f\6158bbc6_500ac801\Model.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\b662e14c\e1246bc7_500ac801\SmtpLibrary.DLL"
/R:"C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll"
/R:"C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Word.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\fd758b9b\0071eb82_ba60c701\Novell.Directory.Ldap.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.Design.dll"
/R:"C:\WINDOWS\assembly\GAC\Microsoft.Vbe.Interop\11.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll"
/R:"C:\WINDOWS\assembly\GAC\office\11.0.0.0__71e9bce111e9429c\office.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\cf869e01\3e9be1aa_510ac801\App_GlobalResources.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\b5e292b8\9893d5c8_500ac801\PDF.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\c2e13a71\da3e2aab_510ac801\App_Code.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\af41986b\00c740cf_5942c701\log4net.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\34b4c9fa\09c884c7_500ac801\XmlTools.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\a2d02a9d\739ba3c7_500ac801\NumberInWords.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll"
/R:"C:\WINDOWS\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\34c25056\c936f0c7_500ac801\Server.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\ad754364\aa0d71ab_510ac801\App_global.asax.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\5da19d84\dc6301c7_500ac801\Word.DLL"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll"
/D EBUG /debug+ /optimize-
/res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\loginform.aspx.resources" /w:4
/nowarn:1659;1699
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.0.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll'
-- 'Access is denied. '



It works in Visual Studio, it happened yesterday when we tried to deploy
app on IIS. It worked that way before, but something happend..

anyone had similar issue ?

greets.
 
M

Michael Nemtsev, MVP

Hello Piotr,

Did you try to clear the "Temporary ASP.NET Files" folder ?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


PN> When i want to put my application on IIS and start it, i get the
PN> following error (below):
PN> (all files/folders rights are set correct).
PN> Server Error in '/umowix2' Application.
PN>
PN> --------------------------------------------------------------------
PN> ------------
PN>
PN> Compilation Error
PN> Description: An error occurred during the compilation of a
PN> resource
PN> required to service this request. Please review the following
PN> specific
PN> error details and modify your source code appropriately.
PN>
PN> Compiler Error Message: CS0016: Could not write to output file
PN> 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
PN> Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.df
PN> mz_iwp.dll'
PN>
PN> [No relevant source lines]
PN> Source File: Line: 0
PN>
 
R

Roland Dick

Hi Piotr,

Piotr said:
When i want to put my application on IIS and start it, i get the
following error (below):
Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll'
-- 'Access is denied. '

can you check that the Temporary ASP.NET Files folder permits write
access to the account your application runs under (likely Network
Service or IUSR_xxxxx)?
This is required because ASP.NET compiles the application the first time
it is called.

Hope this helps,

Roland
 
P

Piotr Nowak

Michael Nemtsev pisze:
Hello Piotr,

Did you try to clear the "Temporary ASP.NET Files" folder ?

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and
we miss it, but that it is too low and we reach it" (c) Michelangelo

PN> When i want to put my application on IIS and start it, i get the
PN> following error (below):
PN> (all files/folders rights are set correct).
PN> Server Error in '/umowix2' Application.
PN> PN>
--------------------------------------------------------------------
PN> ------------
PN> PN> Compilation Error
PN> Description: An error occurred during the compilation of a
PN> resource
PN> required to service this request. Please review the following
PN> specific
PN> error details and modify your source code appropriately.
PN> PN> Compiler Error Message: CS0016: Could not write to output file
PN> 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
PN> Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.df
PN> mz_iwp.dll'
PN> PN> [No relevant source lines]
PN> Source File: Line: 0
PN>

Yes, i did it, and it didnt help.
 
M

Michael Nemtsev, MVP

Hello Roland,

or for "network service" user

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


RD> Hi Piotr,
RD>
RD> Piotr Nowak schrieb:
RD>RD> can you check that the Temporary ASP.NET Files folder permits write
RD> access to the account your application runs under (likely Network
RD> Service or IUSR_xxxxx)?
RD> This is required because ASP.NET compiles the application the first
RD> time
RD> it is called.
RD> Hope this helps,
RD>
RD> Roland
RD>
 
P

Piotr Nowak

Roland Dick pisze:
Hi Piotr,



can you check that the Temporary ASP.NET Files folder permits write
access to the account your application runs under (likely Network
Service or IUSR_xxxxx)?
This is required because ASP.NET compiles the application the first time
it is called.

Hope this helps,

Roland
already tried, didnt help :(
 
G

Guest

You need to grant "Full" permissions on this folder:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

If you aren't sure what account it is running under to grant permissions to,
you could try granting
the "everyone" account Full Control, if it is your local machine and doesn't
present any security risks.
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com



Piotr Nowak said:
When i want to put my application on IIS and start it, i get the
following error (below):
(all files/folders rights are set correct).

Server Error in '/umowix2' 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\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll'
-- 'Access is denied. '

Source Error:



[No relevant source lines]


Source File: Line: 0


Show Detailed Compiler Output:


c:\windows\system32\inetsrv>
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library
/utf8output
/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\63312b1f\6158bbc6_500ac801\Model.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\b662e14c\e1246bc7_500ac801\SmtpLibrary.DLL"
/R:"C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll"
/R:"C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Word.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\fd758b9b\0071eb82_ba60c701\Novell.Directory.Ldap.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.Design.dll"
/R:"C:\WINDOWS\assembly\GAC\Microsoft.Vbe.Interop\11.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll"
/R:"C:\WINDOWS\assembly\GAC\office\11.0.0.0__71e9bce111e9429c\office.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\cf869e01\3e9be1aa_510ac801\App_GlobalResources.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\b5e292b8\9893d5c8_500ac801\PDF.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\c2e13a71\da3e2aab_510ac801\App_Code.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\af41986b\00c740cf_5942c701\log4net.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\34b4c9fa\09c884c7_500ac801\XmlTools.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\a2d02a9d\739ba3c7_500ac801\NumberInWords.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll"
/R:"C:\WINDOWS\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\34c25056\c936f0c7_500ac801\Server.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\ad754364\aa0d71ab_510ac801\App_global.asax.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\assembly\dl3\5da19d84\dc6301c7_500ac801\Word.DLL"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll"
/D EBUG /debug+ /optimize-
/res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\loginform.aspx.resources" /w:4
/nowarn:1659;1699
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.0.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\umowix2\b041354c\a8977098\App_LocalResources.login.f9b0821e.dfmz_iwp.dll'
-- 'Access is denied. '



It works in Visual Studio, it happened yesterday when we tried to deploy
app on IIS. It worked that way before, but something happend..

anyone had similar issue ?

greets.
 
P

Piotr Nowak

Peter Bromberg [C# MVP] pisze:
You need to grant "Full" permissions on this folder:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

If you aren't sure what account it is running under to grant permissions to,
you could try granting
the "everyone" account Full Control, if it is your local machine and doesn't
present any security risks.
already done, didnt help.
something fishy is going on here..
 
J

Juan T. Llibre

Which operating system are you using ?

If you are using Windows 2003 Server, and are not impersonating,
the account that needs full permissions is "NT Authority\Network Service"

If you are using Windows XP, and are not impersonating,
the account that needs full permissions is "MachineName\ASPNET"

If you are impersonating, the account which needs full permissions is
the account you are impersonating, no matter which OS you're using.




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/
======================================
Piotr Nowak said:
Peter Bromberg [C# MVP] pisze:
You need to grant "Full" permissions on this folder:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

If you aren't sure what account it is running under to grant permissions to, you could try granting
the "everyone" account Full Control, if it is your local machine and doesn't present any security risks.
 
?

=?ISO-8859-2?Q?G=F6ran_Andersson?=

Piotr said:
When i want to put my application on IIS and start it, i get the
following error (below):
(all files/folders rights are set correct).

8< snip
It works in Visual Studio, it happened yesterday when we tried to deploy
app on IIS. It worked that way before, but something happend..

anyone had similar issue ?

greets.

Have you tried to turn it off and on again?

Sounds like a problem that might go away with a reboot... If not, you
have at least elliminated that possibility.
 
R

Roland Dick

P

Piotr Nowak

Piotr Nowak pisze:
When i want to put my application on IIS and start it, i get the
following error (below):
(all files/folders rights are set correct).

Server Error in '/umowix2' Application.

OK found.

There was access denied on c:\windows\temp.
Now everything works, thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top