Hi there,
My initial guess is that the ASPNET user doesnt have sufficient permissions
to make the COM call (to obtain the Application ID)
If you remove the "PopulateComPlusInfo" parameter from the <eventSource> in
the EI.config file - it should not try and obtain this value and should
work for you.
Hope this helps
Mike
--------------------
| Hi,
|
[quoted text clipped - 16 lines]
| System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
| at Microsoft.EnterpriseInstrumentation.Schema.Helpers.IObjectContextInfo2.GetAp
plicationId()
| at
Microsoft.EnterpriseInstrumentation.Schema.Helpers.ComPlus.get_ApplicationID
()
| at Microsoft.ApplicationBlocks.Logging.Schema.ComPlusInfo..ctor()
| at
Microsoft.ApplicationBlocks.Logging.Schema.DiagnosticEvent.PrepareForSeriali
zation(EventSource eventSource, RequestContext requestContext)
| at Microsoft.EnterpriseInstrumentation.EventSource.RaiseEvent(Object eventToRaise, RequestContext requestContext)
|
[quoted text clipped - 3 lines]
| Thanks
| Neeraja

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Neeraja - 22 Jun 2004 21:27 GMT
EI.config doesn't contain PopulateComplusInfo parameter.
I have copied my EI.config file here.
Please have a look into this and let me know the answer as quickly as possible
Thanks
Neeraja
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://www.microsoft.com/schema/EnterpriseInstrumentation/v1/EnterpriseInstrumen
tation.xsd">
<instrumentedApp name="CGIPortal" mode="released" />
<eventSources>
<eventSource name="Application" type="softwareElement" internalExceptionHandler="report" description="Application level event source." />
</eventSources>
<filterBindings>
<eventSourceRef name="Application">
<filterRef name="defaultSoftwareElementFilter" />
</eventSourceRef>
</filterBindings>
<filters>
<filter name="defaultSoftwareElementFilter" description="A default filter for the Software Element event sources.">
<eventCategoryRef name="Standard Events">
<eventSinkRef name="logSink"/>
</eventCategoryRef>
</filter>
</filters>
<eventSinks>
<eventSink name="logSink" description="Outputs events to the Windows Event Log." type="Microsoft.ApplicationBlocks.Logging.EventSinks.LogEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85">
<parameter name="entryTypeFieldName" value="EventLogEntryTypeID" />
<parameter name="defaultEntryType" value="Information" />
<parameter name="enableFormatting" value="false" />
<parameter name="machineName" value="." />
<parameter name="formatterName" value="logSinkXslt" />
</eventSink>
<eventSink name="basicLogSink" description="Outputs events to the Sql Server Basic Log." type="Microsoft.ApplicationBlocks.Logging.EventSinks.BasicLogEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85">
<parameter name="enableFormatting" value="false" />
<parameter name="formatterName" value="basicLogSinkXslt" />
<parameter name="basicLog" value="Server=(local);Database=BasicLog;Integrated Security=True" />
</eventSink>
<eventSink name="sqlSink" description="Outputs events to the Sql Server flexible log." type="Microsoft.ApplicationBlocks.Logging.EventSinks.SqlServerEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85">
<parameter name="formatterName" value="sqlSinkXslt" />
<parameter name="numberOfRetries" value="0" />
<parameter name="connectionString" value="Server=(local);Database=AppLog;Integrated Security=True" />
</eventSink>
</eventSinks>
<eventCategories>
<eventCategory name="Standard Events" description="A category containing all sample schema events.">
<event type="Microsoft.ApplicationBlocks.Logging.Schema.AdminMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85" />
<event type="Microsoft.ApplicationBlocks.Logging.Schema.AuditMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85" />
<event type="Microsoft.ApplicationBlocks.Logging.Schema.AuditOperationEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85" />
<event type="Microsoft.ApplicationBlocks.Logging.Schema.ErrorMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85" />
<event type="Microsoft.ApplicationBlocks.Logging.Schema.TraceMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69c06fe6e86c8d85" />
</eventCategory>
</eventCategories>
</configuration>
> Hi there,
>
[quoted text clipped - 50 lines]
> | Thanks
> | Neeraja
Neeraja - 23 Jun 2004 21:20 GMT
This solved my problem. But, I want to find the root cause.
What permissions do i need to set for asp.net user account.
> EI.config doesn't contain PopulateComplusInfo parameter.
>
[quoted text clipped - 112 lines]
> > | Thanks
> > | Neeraja