1

Closed

Unable to use ASTrace in 64 Bit machine

description

I tried to build ASTrace targetting x86 cpu and deployed into 64bit server. I cant get to start the service. It always fails with following message.
8/19/2009 10:28:54 PM: Error: Microsoft.SqlServer.Management.Trace.SqlTraceException: Failed to initialize object as reader. ---> System.Runtime.InteropServices.COMException (0x8004021A)
at ?A0x8159d01c.ProcessError(Int32 hr, UInt16* lpszMessage)
at Microsoft.SqlServer.Management.Trace.CTraceControllerBase.InitSource(Boolean bReOpen)
at Microsoft.SqlServer.Management.Trace.CTraceObjectsRowsetController.InitSource(Boolean bReOpen)
at Microsoft.SqlServer.Management.Trace.TraceServer.InitializeAsReader(ConnectionInfoBase serverConnInfo, String profileFileName)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Trace.TraceServer.InitializeAsReader(ConnectionInfoBase serverConnInfo, String profileFileName)
at ASTrace.Trace.OnStart(String[] args)
 
I have already applied the sugesstions given in the other thread related to this issue.
 
Please let me know what else needs to be done.
Closed Aug 21, 2009 at 5:13 PM by furmangg
resolved

comments

furmangg wrote Aug 20, 2009 at 8:58 PM

you followed the instructions at http://timlaqua.com/2008/11/installing-astraceexe-in-a-64-bit-environment/ and it still didn't work? Works great for me.

sambathraj wrote Aug 21, 2009 at 5:31 AM

Thanks For your reply. I now reinstalled the service and added the registry key. It now worked.