Article ID: 303673
Article Last Modified on 10/10/2003
APPLIES TO
- Microsoft Commerce Server 2002 Standard Edition
- Microsoft Commerce Server 2000 Service Pack 1
This article was previously published under Q303673
SYMPTOMS
When you use Commerce Server, you may receive the following error message:
In the Microsoft Windows 2000 Application Event log, you see the following:
CAUSE
Commerce Server uses a Universal Data Link (UDL) data link connection over OLEDB provider to connect to the Microsoft SQL Server computer. These errors indicate that the connection to the site's database failed. Possible causes include the following:
- The connection string is wrong. The password may have changed, the port may have changed, and so on.
- The database is offline.
- The SQL server is paused or stopped.
- The SQL server is unreachable because of a network issue, such as a DNS issue, a changed name, and so on.
RESOLUTION
To check the connection strings, follow these steps:
- Open Commerce Server Manager, double-click Commerce Server Manager, and then double-click Commerce Sites.
- Double-click the site that is not working, then double-click Site Resources.
- Right-click Transactions and click Properties.
- Click Modify to change the connection string information.NOTE: To change the SQL port number, you must add a comma and then the port number, as follows:
SERVERNAME,Portnumber
- Click Test Connection.
Repeat this process for the Retail Data Warehouse ProductCatalog object, as well as the Campaign and Profile objects.
After you correct the problem, you must restart the Commerce application by using IISReset.
If you receive the following error message
there is a problem with the connection to the MSCS_Admin database. To verify the connection string, follow these steps:
- Open Commerce Server Manager.
- Right-click Commerce Server Manager and click Properties.
- Click Modify to change the connection string information.NOTE: To change the SQL port number, you must add a comma and then the port number, as follows:
SERVERNAME,Portnumber
- Click Test Connection.
MORE INFORMATION
Steps to Reproduce Behavior
- Open Commerce Server Manager, double-click Commerce Server Manager, and then double-click Microsoft SQL Servers.
- Browse to the site's database (for example, Retail_Commerce).
- Right-click the database, click All Tasks, and then click Take Offline.
- Open Microsoft Internet Explorer and type the URL to the Commerce site.
Keywords: kbprb KB303673