Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvb' list.


Beren Longstreet
-- Copied from [aspngconfig] to [aspngvb] by devin <Click here to reveal e-mail address> --

We are having a problem running our application under a specific user account.

When I put <identity impersonate="true" userName="joeblow" password="123456" /> in the web.config, the application will build just fine.
The user in question is a local machine user (not a member of the Active Directory Domain) and is a member of the Administrators and Users Group.

Any help would be appreciated greatly!

When I run it I get the following error:

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: The compiler failed with error code 1.

Show Detailed Compiler Output:

C:\WINDOWS\SYSTEM32> "c:\windows\microsoft.net\framework\v1.0.3705\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net files\crsportal\55741433\5ef750e7\assembly\dl\c103a7f8\008abca8_21ccc101\infragistics.webui.ultrawebnavigator.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\infragistics.shared\1.0.5005.21__7dd5c3163f2cd0cb\infragistics.shared.dll" /R:"c:\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net files\crsportal\55741433\5ef750e7\assembly\dl\5c0a6b67\32bdaebf_88fbc101\crsportal.dll" /R:"c:\windows\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.0.3705\temporary asp.net files\crsportal\55741433\5ef750e7\assembly\dl\9f28ce5d\00070478_0dcac101\infragistics.webui.ultraweblistbar.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\crsportal\55741433\5ef750e7\2lhx_sii.dll" /D:DEBUG=1 /debug+ "C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\crsportal\55741433\5ef750e7\2lhx_sii.0.vb"

Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.00.3705.209
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.

vbc : Command line error BC2010 : compilation failed : '0xC0000005'

Show Complete Compilation Source:

Line 1: '------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.0.3705.209
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: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31: <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits CRSPortal.Global
Line 34:
Line 35: Private Shared __intialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__intialized = false) Then
Line 40: ASP.Global_asax.__intialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:

Thanks in advance,

Beren, MCP
Click here to reveal e-mail address
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Reply to this message...
 
    
Little, Ambrose
Check this article out. It details what permissions the ASP.NET worker
process needs:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q317012#5j

(watch for wrapping)

--Ambrose

[Original message clipped]

\windows\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\
[Original message clipped]

\windows\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\
[Original message clipped]


| [aspngvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngvb.asp = JOIN/QUIT

******************************************************************************
The Company reserves the right to amend statements
made herein in the event of a mistake. Unless expressly
stated herein to the contrary, only agreements in writing signed
by an authorized officer of the Company may be enforced against it.
*******************************************************************************

Reply to this message...
 
 
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com