RE: Server Error in '/Remote' Application - Compiler Error Message: CS
- From: v-branee@xxxxxxxxxxxxxxxxxxxx ("Brandy Nee [MSFT]")
- Date: Thu, 06 Oct 2005 04:00:01 GMT
Hello Mark,
Thank you for posting to the SBS Newsgroup.
I understand that when you accessing RWW, you got following error message:
Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\remote\3f1585d2\3070828a\nz0kzvmb.dll' -- 'Access is denied. '
If I have misunderstood your issue, please let me know.
Based on my research, most possible cause is that the TMP and TEMP system
variable are not set correctly. By default, they should be set to
C:\Windows\Temp folder. In some cases, some third-party application or
deployment tools will modify this variable.
According to the output, the problem is probably caused by the permission
issue. Here, I would like to give you the following action plan:
1. Open Internet Information Service (IIS) Manager console. Navigate to
Server\Application Pools\DefaultAppPool. Right-click it and choose
''Properties''. In the ''Identity'' tab, change the Select ''Local System''
as the identity. Click ''OK'' to close the dialog box. Also change the
identity of ''StsAdminAppPool''. Run ''iisreset'' (without quotation
marks). After doing this, try the web sites again. What is the result?
2. Go to c:\WINODWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files, right click folder "Temporary ASP.NET Files", select Properties,
Security tab, "Network Service" and "Local Service" should have Full
Control.
3. Run "WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i"
(without quotation marks) to reset the ACL just in case. Run "iisreset"
(without quotation marks) afterwards.
4. Check the variables of the system temp folder. Open registry editor,
navigate to the following key:
Run "regedit" (without quotation marks).
Expand to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment
Can you find the TEMP and TMP values in the right panel? Please also make
sure that the type of the values is ''REG_EXPAND_SZ''. If the key does not
exist, please refer to the following KB article to modify the system
variables:
825791 PRB: CS0013 or CS0016 Compilation Errors in ASP.NET Web Applications
http://support.microsoft.com/?id=825791
After doing the above steps, you may need to reboot the server to make sure
it is in effect.
I appreciate you taking time to perform the tests. If you have any other
questions, please feel free to let me know. I look forward to your reply!
Best regards,
Brandy Nee
Microsoft CSS Online Newsgroup Support
Get Secure! - www.microsoft.com/security
======================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.
Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.
For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.
Any input or comments in this thread are highly appreciated.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Thread-Topic: Server Error in '/Remote' Application - Compiler Error
Message: CS
>thread-index: AcXJ9jPDtfAjy3eERhaJrJO7y2x1oA==
>X-WBNR-Posting-Host: 85.212.135.36
>From: =?Utf-8?B?TWFyayAoQWRtaW4p?= <Mark (Admin)@discussions.microsoft.com>
>Subject: Server Error in '/Remote' Application - Compiler Error Message: CS
>Date: Wed, 5 Oct 2005 14:46:11 -0700
>Lines: 133
>Message-ID: <BF851740-71F8-4AC0-8D37-D7331C8DC0B7@xxxxxxxxxxxxx>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.windows.server.sbs
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:159140
>X-Tomcat-NG: microsoft.public.windows.server.sbs
>
>Whenever I try to access https://<my_server>/Remote/ I get the following
>error message:
>
>
>************* START OF MESSAGE *************
>
>Server Error in '/Remote' 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\remote\3f1585d2\3070828a\nz0kzvmb.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\v1.1.4322\csc.exe" /t:library
/utf8output
>/R:"c:\windows\assembly\gac\system.web.ui.mobilecontrols.adapters\1.1.0.0__
b03f5f7f11d50a3a\system.web.ui.mobilecontrols.adapters.dll"
>/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f1
1d50a3a\system.enterpriseservices.dll"
>/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system
..data.dll"
>/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\
system.web.mobile.dll"
>/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sys
tem.drawing.dll"
>/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.
xml.dll"
>/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
>files\remote\3f1585d2\3070828a\assembly\dl2\d2b100ed\0009c5a9_d34cc501\remo
te.dll"
>/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3
a\system.web.services.dll"
>/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
>/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.
web.dll"
>/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
>/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
>Files\remote\3f1585d2\3070828a\nz0kzvmb.dll" /D:DEBUG /debug+ /optimize-
>/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
>ASP.NET Files\remote\3f1585d2\3070828a\nz0kzvmb.0.cs"
>
>
>Microsoft (R) Visual C# .NET Compiler version 7.10.6310.4
>for Microsoft (R) .NET Framework version 1.1.4322
>Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
>
>error CS0016: Could not write to output file
>'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
>Files\remote\3f1585d2\3070828a\nz0kzvmb.dll' -- 'Access is denied. '
>
>
>
>
>
>Show Complete Compilation Source:
>
>
>Line 1:
>//-------------------------------------------------------------------------
-----
>Line 2: // <autogenerated>
>Line 3: // This code was generated by a tool.
>Line 4: // Runtime Version: 1.1.4322.2300
>Line 5: //
>Line 6: // Changes to this file may cause incorrect behavior and
will
>be lost if
>Line 7: // the code is regenerated.
>Line 8: // </autogenerated>
>Line 9:
>//-------------------------------------------------------------------------
-----
>Line 10:
>Line 11: namespace ASP {
>Line 12: using System;
>Line 13: using System.Collections;
>Line 14: using System.Collections.Specialized;
>Line 15: using System.Configuration;
>Line 16: using System.Text;
>Line 17: using System.Text.RegularExpressions;
>Line 18: using System.Web;
>Line 19: using System.Web.Caching;
>Line 20: using System.Web.SessionState;
>Line 21: using System.Web.Security;
>Line 22: using System.Web.UI;
>Line 23: using System.Web.UI.WebControls;
>Line 24: using System.Web.UI.HtmlControls;
>Line 25:
>Line 26:
>Line 27:
>[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
>Line 28: public class Global_asax : remote.Global {
>Line 29:
>Line 30: private static bool __initialized = false;
>Line 31:
>Line 32: public Global_asax() {
>Line 33: if ((ASP.Global_asax.__initialized == false)) {
>Line 34: ASP.Global_asax.__initialized = true;
>Line 35: }
>Line 36: }
>Line 37: }
>Line 38: }
>Line 39:
>
>
>
>
>
----------------------------------------------------------------------------
----
>Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET
>Version:1.1.4322.2300
>
>************* END OF MESSAGE *************
>
>I also see this problem for 'Monitoring' & 'Backup'.
>
>I can access my 'http://companyweb/default.aspx' and remote email via
>'https://<my_server>/exchweb'.
>
>I have tried various solutions from different posts, but none of the
>solutions have resolved the issue and I cannot find any fresh information
>concerning this problem.
>
>Regards,
>
>Mark
>
.
- References:
- Server Error in '/Remote' Application - Compiler Error Message: CS
- From: Mark (Admin)
- Server Error in '/Remote' Application - Compiler Error Message: CS
- Prev by Date: RE: Bug in Configure Fax Services wizard?
- Next by Date: RE: System Monitoring
- Previous by thread: Server Error in '/Remote' Application - Compiler Error Message: CS
- Next by thread: RE: Server Error in '/Remote' Application - Compiler Error Message
- Index(es):
Relevant Pages
|