Unspecified error when try to open commerce order web service

While setting up my commerce web services, i ran into this issue when tried to open order web service.

“System.Runtime.InteropServices.COMException (0x80004005): Unspecified error   at Microsoft.CommerceServer.Interop.Profiles.ProfileServiceClass.Initialize(String sConfigStore, String sCatalog   at Microsoft.CommerceServer.Runtime.Profiles.ProfileContext..ctor(String profileServiceConnectionString, String providerConnectionString, String bdaoConnectionString, DebugContext debugContext)”

After so much of googling i found that problem is with the connection strings for the profiles resource on the site. I did following steps to fix this issue:

Step 1: Open Commerce Server Manager

Step 2: Expand CommerceServerManager–>Global Resources–>Profiles(Your Site)–>Profile Catalog–>Data Sources

Step 3: Correct the connection string for each data source

Advertisements

About Rajan
I am Rajan Garg working as a Senior Software Engineer in a company. I am working on the Microsoft technologies.

2 Responses to Unspecified error when try to open commerce order web service

  1. mrlin says:

    I am testing the following code:
    http://www.drowningintechnicaldebt.com/RoyAshbrook/archive/2009/10/15/adding-a-task-item-to-sharepoint-with-vbscript-and-microsoft.xmlhttp.aspx

    but got ‘unspecified error’ on the statement: .open “POST”, url, False

    Any idea why and how to fix it?

    • Rajan says:

      Hi Mrlin,

      May i know what you are trying to achieve. From link i can assume you want to add a task to SharePoint list. To consume web services in VBA, you need a web service toolkit. Install the toolkit if not present.
      Check this link on how to install toolkit: http://msdn.microsoft.com/en-us/library/aa192537%28office.11%29.aspx#odc_wstknew_03

      Check this blog how to access SharePoint from VBA: http://the-simple-programmer.blogspot.in/2010/03/set-sharepoint-meta-data-from-vba-using.html

      Let me know if it wont solve your problem.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: