Hi,
when i send request (order) from PDA I get this error:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 9/29/2008 3:56:09 PM
Event time (UTC): 9/29/2008 1:56:09 PM
Event ID: 8c55602e185f47308abe30c83e04d58b
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/LoggingService-4-128671701693932967
Trust level: WSS_Minimal
Application Virtual Path: /LoggingService
Application Path: C:\Inetpub\wwwroot\LoggingService\
Machine name: NPSBGPRO-2
Process information:
Process ID: 3928
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Type 'System.ServiceModel.Activation.HttpHandler' cannot be instantiated under a partially trusted security policy (AllowPartiallyTrustedCallersAttribute is not present on the target assembly). (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 243)
Request information:
Request URL:
http://192.168.6.27/LoggingService/Logging.svc
Request path: /LoggingService/Logging.svc
User host address: 192.168.6.165
User: NPS-GROUP\predrag
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: True
Stack trace: at System.Web.HttpRuntime.FailIfNoAPTCABit(Type t, ElementInformation elemInfo, String propertyName)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
at System.Web.Configuration.HttpHandlerAction.InitValidateInternal()
at System.Web.Configuration.HttpHandlersSection.ValidateHandlers()
at System.Web.Configuration.HttpHandlersSection.FindMapping(String verb, VirtualPath path)
at System.Web.HttpApplication.GetHandlerMapping(HttpContext context, String requestType, VirtualPath path)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I check trust level in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config and they is set to Full.
Comments
1)
Application information:
Application domain: /LM/W3SVC/1/Root/LoggingService-4-128671701693932967
Trust level: WSS_Minimal
Application Virtual Path: /LoggingService
Application Path: C:\Inetpub\wwwroot\LoggingService\
Machine name: NPSBGPRO-2
Process information:
Process ID: 3928
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
this error is caused due to your system does not allow the network users so you need to check the rights of the mobile users.here mobile users are not in admin group of ur system so that this error is caused
2)this one may the configuration i'm not sure abt this because u need to install windows dotnet frame work 2.0 sp1 in your system and sql ce framework 3.0 also
check u r system configuration once.