PRB: "Error Finding IIS Object" Error Message When You Try to Package a Site (326750)



The information in this article applies to:

  • Microsoft Commerce Server 2000

This article was previously published under Q326750

SYMPTOMS

When you try to package (pup) a Commerce Server 2000 site, the following error messages appear in the Pup.log file:
Error finding IIS object for Site Name:Automation error The system cannot find the path specified. Error finding directory for Site Name 0:There is no entry in IIS for this application on this machine.
Error finding IIS object for Site NameBizDesk:Automation error The system cannot find the path specified. Error finding directory for Site NameBizDesk 0:There is no entry in IIS for this application on this machine.
Commerce Site Packager reports that the process was completed successfully.

CAUSE

This behavior occurs when you created the site before you applied Commerce Server Service Pack 2 (SP2), and then you try to package (pup) the site.

This error is caused by a renumbering of s_WebServerInstance in the ResourceProps table of the MSCS_ADMIN database. Before Commerce Server SP2, if you wrote a single digit number (0 through 9) in the Admin database, a zero (0) was also written in front of the value. To fix a problem with different locals, this behavior was corrected in Commerce Server SP2. Existing values or data in the database are not changed when you install Commerce Server SP2.
If you run the following script on the ResourceProps table
SELECT s_PropertyName, s_value
FROM ResourceProps
WHERE (s_PropertyName ='s_WebServerInstance')
				
the result is similar to the following:
s_WebServerInstance 03#^
s_WebServerInstance 01#^
				

RESOLUTION

To resolve this behavior, remove the leading zeros from the s_Value column (for example, change 01#^ to 1#^), for every occurrance of s_WebServerInstance in the s_PropertyName column, in the ResourceProps table of the MSCS_ADMIN database. Try to package the site again.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

313965 PRB: You Cannot Add a Web Server to a Commerce Server 2000 Site After You Upgrade to SP2


Modification Type:MajorLast Reviewed:9/18/2002
Keywords:kbprb KB326750