|
1/21/2010 5:12:09 PM
|
f.graefe Posts 8
|
Hi,
I installed AppScriber 2 on my Win2008 (x32) domain controller. Installation and configuration went well: During configuration I was able to browse the Active Directroy and "test" the connection, also connecting to the database worked.
When I open the AppScriber WebSite, I get an error page:
=========================================================== Server Error in '/AppScriber' Application. --------------------------------------------------------------------------------
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Source Error:
Line 19: enableWKRID="true" enablePrimaryGroups="true" provisioningConnectionStringName="AppScriber" Line 20: loggingConnectionStringName="AppScriberLog" name="SqlApplicationProvisioningProvider" Line 21: type="Immidio.AppScriber.Data.SqlApplicationProvisioningProvider, Immidio.AppScriber" /> Line 22: </providers> Line 23: </applicationProvisioning>
Source File: C:\Program Files\Immidio\AppScriber\Web\web.config Line: 21
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
=============================
Windows System Eventlog states:
=====================================
Warning 1/21/2010 4:05:50 PM ASP.NET 2.0.50727.0 1310 Web Event
----------------- Log Name: Application Source: ASP.NET 2.0.50727.0 Date: 1/21/2010 4:05:50 PM Event ID: 1310 Task Category: Web Event Level: Warning Keywords: Classic User: N/A Computer: DC.masterclass.int Description: Event code: 3008 Event message: A configuration error has occurred. Event time: 21.01.2010 16:05:50 Event time (UTC): 21.01.2010 15:05:50 Event ID: bbfe57c10e6447e19e71270ac33d5a7f Event sequence: 1 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/AppScriber-3-129085599428801914 Trust level: Full Application Virtual Path: /AppScriber Application Path: C:\Program Files\Immidio\AppScriber\Web\ Machine name: DC Process information: Process ID: 3080 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: TargetInvocationException Exception message: Exception has been thrown by the target of an invocation. Request information: Request URL: http://dc/appscriber Request path: /appscriber User host address: fe80::a419:98c:f28d:b693C:\Program Files\Immidio\AppScriber\Web\ User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 6 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) Custom event details:
Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="ASP.NET 2.0.50727.0" /> <EventID Qualifiers="32768">1310</EventID> <Level>3</Level> <Task>3</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-01-21T15:05:50.000000000Z" /> <EventRecordID>1797</EventRecordID> <Channel>Application</Channel> <Computer>DC.masterclass.int</Computer> <Security /> </System> <EventData> <Data>3008</Data> <Data>A configuration error has occurred.</Data> <Data>21.01.2010 16:05:50</Data> <Data>21.01.2010 15:05:50</Data> <Data>bbfe57c10e6447e19e71270ac33d5a7f</Data> <Data>1</Data> <Data>1</Data> <Data>0</Data> <Data>/LM/W3SVC/1/ROOT/AppScriber-3-129085599428801914</Data> <Data>Full</Data> <Data>/AppScriber</Data> <Data>C:\Program Files\Immidio\AppScriber\Web\</Data> <Data>DC</Data> <Data> </Data> <Data>3080</Data> <Data>w3wp.exe</Data> <Data>NT AUTHORITY\NETWORK SERVICE</Data> <Data>TargetInvocationException</Data> <Data>Exception has been thrown by the target of an invocation.</Data> <Data>http://dc/appscriber</Data> <Data>/appscriber</Data> <Data>fe80::a419:98c:f28d:b693%12</Data> <Data> </Data> <Data>False</Data> <Data> </Data> <Data>NT AUTHORITY\NETWORK SERVICE</Data> <Data>6</Data> <Data>NT AUTHORITY\NETWORK SERVICE</Data> <Data>False</Data> <Data> at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) </Data> </EventData> </Event>
===========================================================
It seesn that something should be access using the NETWORK SERVICE account but I am not sure what object should be accessible...
Do you have any advice?
Thank you in advance
Falko
|
|
1/22/2010 10:07:55 AM
|
Arnout Grootveld — Immidio Posts 269
|
Hi Falko,
It's not exactly the same error message, but it looks like the one that's mentioned in the "Troubleshooting" topic in the documentation.
Are you by any chance using Windows authentication (integrated security) to connect to the database? If so, does NETWORK SERVICE have sufficient permissions to your AppScriber database?
-- Arnout.
|
|
1/22/2010 4:58:58 PM
|
f.graefe Posts 8
|
Hi Arnout,
Adding the NETWORK SERVICE account to tue AppScriber and AppScriberLog databases made the trick, not its working.
Thank you very much :-)
Falko
|
|
1/22/2010 6:50:22 PM
|
Arnout Grootveld — Immidio Posts 269
|
Hi Falco,
Glad to hear it's working now.
-- Arnout.
|
|
pages:
1 |