Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Weird isn't it ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Piotr Nowak - 09 Oct 2007 10:19 GMT
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.
Michael Nemtsev, MVP - 09 Oct 2007 10:55 GMT
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>
Piotr Nowak - 09 Oct 2007 11:05 GMT
Michael Nemtsev pisze:
> Hello Piotr,
>
[quoted text clipped - 25 lines]
> PN> Source File:    Line: 0
> PN>

Yes, i did it, and it didnt help.
Roland Dick - 09 Oct 2007 11:00 GMT
Hi Piotr,

Piotr Nowak schrieb:
> 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
Michael Nemtsev, MVP - 09 Oct 2007 11:10 GMT
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>
>> When i want to put my application on IIS and start it, i get the
>> following error (below):
[quoted text clipped - 3 lines]
>> z_iwp.dll'
>> -- 'Access is denied. '
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>
Piotr Nowak - 09 Oct 2007 11:27 GMT
Roland Dick pisze:
> Hi Piotr,
>
[quoted text clipped - 15 lines]
>
> Roland
already tried, didnt help :(
Peter Bromberg [C# MVP] - 09 Oct 2007 12:49 GMT
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.
Signature

Recursion: see Recursion
site:  http://www.eggheadcafe.com
unBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder:    http://www.blogmetafinder.com

> When i want to put my application on IIS and start it, i get the
> following error (below):
[quoted text clipped - 95 lines]
>
> greets.
Piotr Nowak - 09 Oct 2007 12:56 GMT
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\
[quoted text clipped - 3 lines]
> 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..
Juan T. Llibre - 09 Oct 2007 13:21 GMT
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/
======================================
> 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..
Roland Dick - 10 Oct 2007 00:12 GMT
Hi Piotr,

Piotr Nowak schrieb:
> 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\
>>
> already done, didnt help.
> something fishy is going on here..

that sounds really strange. Maybe install FileMon from
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx
and see whether you can find any more information from there?

Roland
Göran Andersson - 09 Oct 2007 13:56 GMT
> 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.

Signature

Göran Andersson
_____
http://www.guffa.com

Piotr Nowak - 10 Oct 2007 12:17 GMT
Piotr Nowak pisze:
> When i want to put my application on IIS and start it, i get the
> following error (below):
[quoted text clipped - 3 lines]
>
> --------------------------------------------------------------------------------

OK found.

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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.