Appendix B, Error CodesAppendix B, Error Codes*
*



Contents  *



Index  *Topic Contents
*Previous Topic: WPSITEINFO
*Next Topic: Appendix C, Parameters

Appendix B, Error Codes

The following error codes are used in this SDK.

Web Publishing API

Error code Meaning
WEBPOST_ERROR_AUTOBIND_FAILED The Web Publishing API was unable to automatically determine which service provider to use for this site.
WEBPOST_ERROR_BAD_PROV_PTR The Web Publishing API was not able to obtain a valid pointer to the requested service provider.
WEBPOST_ERROR_COCREATE_WIZARD The Web Publishing API could not invoke the Web Publishing Wizard.
WEBPOST_ERROR_CREATE_SITE An error occurred while the Web Publishing API was creating the requested site.
WEBPOST_ERROR_DELETE_SITE An error occurred while the Web Publishing API was deleting the requested site.
WEBPOST_ERROR_ENUM_PROVS An error occurred while the Web Publishing API was enumerating the providers on this system.
WEBPOST_ERROR_EXTENDED_ERROR A Web Publishing extended error occurred. This means that the API received an error code that the API client may not be able to translate, so the API performed the translation and cached the error message for retrieval on a call to the WpGetErrorString method.
WEBPOST_ERROR_HTTP_GET_FAILED Informational (non-failure) result indicating failure in the attempt to retrieve one of the published files with an HTTP GET. This error is only returned in cases where the files were all successfully uploaded.
WEBPOST_ERROR_INIT_FAILED An error occurred while attempting to initialize the Web Publishing API DLL.
WEBPOST_ERROR_INVALID_POSTINFO Informational (non-failure) result indicating that the postinfo file found on the server during site creation could not be parsed correctly. This error is only returned if the site creation is otherwise successful.
WEBPOST_ERROR_LIST_SITES An error occurred while the Web Publishing API was enumerating the sites on this system.
WEBPOST_ERROR_NO_EXT_ERR_INFO An extended error occurred in the Web Publishing API, but the error message could not be retrieved.
WEBPOST_ERROR_NO_POSTINFO Informational (non-failure) result indicating that the postinfo file could not be retrieved during a site creation. This error is only returned if the site creation is otherwise successful.
WEBPOST_ERROR_POST_FILES An error occurred while the Web Publishing API was attempting to post the requested files.
WEBPOST_ERROR_POSTINFO_REQUIRED This service provider requires a postinfo file on the server, and none could be found.
WEBPOST_ERROR_PROV_CORRUPT The Web Publishing API could not retrieve all of the required service provider information.
WEBPOST_ERROR_PROV_DLL The Web Publishing API could not load the DLL for one of its service providers.
WEBPOST_ERROR_PROV_EP The Web Publishing API could not locate a required entry point in one of its service providers.
WEBPOST_ERROR_PROV_NOT_IN_POSTINFO The server to which you are trying to post does not indicate support for the service provider you have requested.
WEBPOST_ERROR_PROV_QI The Web Publishing API was unable to determine what interface is exported by the specified service provider.
WEBPOST_ERROR_PROVCLSID_UNKNOWN The Web Publishing API could not locate the service provider used to transfer files to this site.
WEBPOST_ERROR_SITE_CORRUPT The Web Publishing API could not retrieve all of the required site information.
WEBPOST_ERROR_SITE_DOESNOTEXIST The Web Publishing API could not delete the requested site because no site with the specified name exists.
WEBPOST_ERROR_SITE_EXISTS The Web Publishing API could not create the requested site because a site with the same name already exists.
WEBPOST_ERROR_UNKNOWN An unknown error occurred during Web Publishing.
WPWIZ_ERROR_COCREATE_WEBPOST The Web Publishing Wizard could not create the Web Publishing implementation object.
WPWIZ_ERROR_FILE_NOT_FOUND The local file(s) selected to be published could not be found.
WPWIZ_ERROR_INIT_FAILED An error occurred during the initialization of the Web Publishing Wizard.
WPWIZ_ERROR_NO_PROVIDERS The Web Publishing Wizard could not run because there are no service providers installed.
WPWIZ_ERROR_OUTOFMEMORY The Wizard ran out of memory.
WPWIZ_ERROR_PROPSHEET_ERROR The wizard received an error result back from the PropertySheet() call into the system.
WPWIZ_ERROR_PROV_QI The Web Publishing Wizard could not determine which interface is exported by the requested service provider.
WPWIZ_ERROR_STATE_PTR The Web Publishing Wizard could not retrieve a pointer to its state object.
WPWIZ_ERROR_UNKNOWN An unknown error occurred.
WPWIZ_ERROR_WEBPOST_PTR The Web Publishing Wizard cannot complete the operation because it does not have a pointer to the Web Publishing API implementation object.

Web Publishing SPI

Error code Meaning
CRSWPP_BIND_FAILED Could not bind to the site with the information specified.
CRSWPP_FAILED_AUTH You do not have the necessary access privileges to post content to this CRS server.
CRSWPP_INVALID_POSTINFO_FILE The postinfo file is invalid on the server you selected.
CRSWPP_NO_MATCHING_MAPURL The CRS project you selected has no MAPURL.
CRSWPP_POSTINFO_NEEDED Server does not have a postinfo file. Additional information is needed, please invoke my Wizard Pages to complete bind operation.
CRSWPP_PROJECT_BINDING_INCOMPLETE An internal error (0x2205) has occurred in the CRS service provider.
CRSWPP_SECURITY_PACKAGE The initialization of the security package failed.
CRSWPP_SECURITY_PACKAGE_NOT_FOUND The security package(s) required by the server could not be found on your computer.
CRSWPP_SERVER_BINDING_INCOMPLETE The site is not yet bound to a CRS server.
CRSWPP_SERVER_NOT_RESPONDING The CRS server is not responding.
FTPWPP_ERROR_AUTHENTICATION_FAILED The FTP service provider was unable to log on to the FTP server.
FTPWPP_ERROR_INETOPEN_FAILED The FTP service provider was not able to connect to the Internet.
WPP_POST_POSTING_NO_RESPONSE_ERROR Posting Server response is either missing or invalid. No status is available about the uploaded files.
WPP_POST_POSTING_SERVER_ERROR Server returned a posting error.
WPP_POST_POSTING_URL_ERROR The supplied posting URL is invalid.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.