Welcome to MSDN Blogs Sign in | Join | Help
Why isn't my Commerce Server Events recorded in Data Warehouse Analytic Reports?

So you finally get Commerce Server events recorded in your site and you’re wondering why it doesn't show up in your Data Warehouse Reports!?

  • First, let's make sure that you are actually seeing the events.  Open your IIS logs (usually found in C:\windows\system32\logfiles\w3svc1).  You should see something similar to below your CS events in your log files.  I'll pick three common event types to illustrate:
    • Campaign Event:
      • CEVT={T=CAMP,CI=2,EVT=REQUEST,PG=0}
    • Order Event (Submit Order)
      • CEVT={T=ORD,ORID=%7b037ef285-26b1-4ce4-993f-f3850b46ce37%7d,EVT=SUBOR}
    • Basket Events (Add Item to Basket)
      • CEVT={T=BSK,EVT=AIBSK,PRID="Adventure+Works+Catalog%3bAW031-14",BSKT=}
  • Second, If you site uses SSL, you need to make sure your server is configured for the SSL port in Commerce Server Manager.
    • To Verify this, Open Commerce Server Manager -> Expand Commerce Sites -> Expand your site -> Expand the Applications for your site -> Then for each server that the application uses right click and hit properties. You should see the tab “Identities” at the top. In the SSL Identities, be sure to add your port here. The default SSL port is usually 443.
  • Third, In order for Data warehouse to resolve the IIS user against the Commerce Server/ASP.NET Authenticated user, the Data warehouse httpModule needs to be added to your site. Just add the following in the <httpModules> section of your web.config file.
    • <add name="CommerceDataWarehouseAuthenticationModule" type="Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    • To verify that you have this added, you should see something similar to the following in your IIS Web log:
      • MSCSAuth=4615EE3B2C3E55008DA4F………….

After you have done those items, you should now see your event items in the Data Warehouse Analytic reports!

Hope this helps!

 

-Alan

 

 

   

 

Posted: Friday, July 28, 2006 8:22 PM by akfaulkner

Comments

J Steele said:

I still cannot get the Data Warehouse Import Wizard to work. I select the option to save the import configuration to SQL Server. Then I click next. Then I get an error saying that the SQL Server does not exist or access denied.

The SQL Server DOES exist and I have verified that all security has been set correctly.

Is there anyways for me to get more diagnostic information of the problem?

Any ideas?

Thanks

James
# August 4, 2006 9:30 AM

J Steele said:

As a follow up... Because there are problems getting the DW going I am unable to produce any reports.

Do you have any samples of the reports?

Thanks

James
# August 4, 2006 9:44 AM

akfaulkner said:

Hey James,

Are there any events in the event log?  Also, is this a named instance of Sql? Is it Sql Server 2005?  Is the Sql Server instance on the same machines that the import wizard is executing on?

Let me know.

Thanks
Alan
# August 4, 2006 11:58 AM

James Steele said:

Alan,

Thanks for the reply. Feel free to contact me @ v-james.steele@cactuscommerce.com Cactus is a partner with MS.

- No events in the log.
- It is NOT a named instance.
- Yes its on the same machine.

Thanks again.

Appreciated the help.

James
# August 4, 2006 2:20 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker