Error: Update application block (UAB) :The requested URL does not exist on the server.
-
I have an application which use update application block 2.0 to update. Everything works fine on the staging server. But when i move my update package on to the production server. I got error : The requested URL does not exist on the server. when applying an update. Below is the detail i cut from the error log: Summary for : ====================================== --> MachineName: WAXIANGZ --> TimeStamp: 2008-2-22 7:36:11 --> FullName: Microsoft.Practices.EnterpriseLibrary.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null --> AppDomainName: EMSWindowsClient.exe --> WindowsIdentity: ASIAPACIFIC\waxiangz Exception Information Details: ====================================== Exception Type: Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloadErrorException Code: -2145844844 Context: 5 ContextDescription: The error occurred while the remote file was being processed. Message: The requested URL does not exist on the server. Protocol: http LocalFileName: C:\Program Files\HPInvent\EMS\UAB\downloader\{215E1AD7-9ABA-432f-A952-24BABA556850}\5e4b3b14-30a5-47a5-bdcc-7a0fc173c3ac\updaterconfiguration.config1 RemoteFileName: http://g2w0293.austin.hp.com/EMSUpdateTest/config/updaterconfiguration.config1 TargetSite: Void LogAndThrowException(System.String, System.Exception) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Updater StackTrace Information Details: ====================================== at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(String message, Exception ex) at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.OnJobError(UpdaterTask task, IBackgroundCopyJob pJob, IBackgroundCopyError pError, Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.WaitForDownload(UpdaterTask task, IBackgroundCopyJob backgroundCopyJob, TimeSpan maxWaitTime) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.Download(UpdaterTask task, TimeSpan maxWaitTime) Any one have ideas???:confused:
-
I have an application which use update application block 2.0 to update. Everything works fine on the staging server. But when i move my update package on to the production server. I got error : The requested URL does not exist on the server. when applying an update. Below is the detail i cut from the error log: Summary for : ====================================== --> MachineName: WAXIANGZ --> TimeStamp: 2008-2-22 7:36:11 --> FullName: Microsoft.Practices.EnterpriseLibrary.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null --> AppDomainName: EMSWindowsClient.exe --> WindowsIdentity: ASIAPACIFIC\waxiangz Exception Information Details: ====================================== Exception Type: Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloadErrorException Code: -2145844844 Context: 5 ContextDescription: The error occurred while the remote file was being processed. Message: The requested URL does not exist on the server. Protocol: http LocalFileName: C:\Program Files\HPInvent\EMS\UAB\downloader\{215E1AD7-9ABA-432f-A952-24BABA556850}\5e4b3b14-30a5-47a5-bdcc-7a0fc173c3ac\updaterconfiguration.config1 RemoteFileName: http://g2w0293.austin.hp.com/EMSUpdateTest/config/updaterconfiguration.config1 TargetSite: Void LogAndThrowException(System.String, System.Exception) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Updater StackTrace Information Details: ====================================== at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(String message, Exception ex) at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.OnJobError(UpdaterTask task, IBackgroundCopyJob pJob, IBackgroundCopyError pError, Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.WaitForDownload(UpdaterTask task, IBackgroundCopyJob backgroundCopyJob, TimeSpan maxWaitTime) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.Download(UpdaterTask task, TimeSpan maxWaitTime) Any one have ideas???:confused:
And sometimes got error: The job is not making headway. The server may be misconfigured. Background Intelligent Transfer Service (BITS) will try again later.:confused:
-
I have an application which use update application block 2.0 to update. Everything works fine on the staging server. But when i move my update package on to the production server. I got error : The requested URL does not exist on the server. when applying an update. Below is the detail i cut from the error log: Summary for : ====================================== --> MachineName: WAXIANGZ --> TimeStamp: 2008-2-22 7:36:11 --> FullName: Microsoft.Practices.EnterpriseLibrary.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null --> AppDomainName: EMSWindowsClient.exe --> WindowsIdentity: ASIAPACIFIC\waxiangz Exception Information Details: ====================================== Exception Type: Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloadErrorException Code: -2145844844 Context: 5 ContextDescription: The error occurred while the remote file was being processed. Message: The requested URL does not exist on the server. Protocol: http LocalFileName: C:\Program Files\HPInvent\EMS\UAB\downloader\{215E1AD7-9ABA-432f-A952-24BABA556850}\5e4b3b14-30a5-47a5-bdcc-7a0fc173c3ac\updaterconfiguration.config1 RemoteFileName: http://g2w0293.austin.hp.com/EMSUpdateTest/config/updaterconfiguration.config1 TargetSite: Void LogAndThrowException(System.String, System.Exception) HelpLink: NULL Source: Microsoft.ApplicationBlocks.Updater StackTrace Information Details: ====================================== at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(String message, Exception ex) at Microsoft.ApplicationBlocks.Updater.Logger.LogAndThrowException(Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.OnJobError(UpdaterTask task, IBackgroundCopyJob pJob, IBackgroundCopyError pError, Exception ex) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.WaitForDownload(UpdaterTask task, IBackgroundCopyJob backgroundCopyJob, TimeSpan maxWaitTime) at Microsoft.ApplicationBlocks.Updater.Downloaders.BitsDownloader.Download(UpdaterTask task, TimeSpan maxWaitTime) Any one have ideas???:confused:
The error code under BitsDownloadErrorException code is 0x80190194 in hex. Windows error codes are defined in WinError.h (which you can find under vc\PlatformSDK\include under Visual Studio's install folder, if you installed the C++ tools). Error codes are grouped into 'facilities' to allow codes to be allocated independently. The 'facility' part is the second byte of four, here it's 0x19 = 25 decimal. Facility number 25, according to WinError.h is FACILITY_HTTP, so it's an error defined by the WinHttp APIs. I can't find where this is actually used, but the last 16 bits are always the specific error. 0x194 hex = 404 decimal, which is of course the 'not found' HTTP status code. Assuming that you've copied the files to the right location, I'd check that your web server is configured to send that type of file. IIS 6.0 only sends files that it knows the MIME type for, in contrast to earlier versions. The Updater Application Block 2.0 FAQ mentions this and how to fix the issue at http://msdn2.microsoft.com/en-us/library/ms978569.aspx#updaterfaq_deploytopic5[^].
DoEvents: Generating unexpected recursion since 1991
-
The error code under BitsDownloadErrorException code is 0x80190194 in hex. Windows error codes are defined in WinError.h (which you can find under vc\PlatformSDK\include under Visual Studio's install folder, if you installed the C++ tools). Error codes are grouped into 'facilities' to allow codes to be allocated independently. The 'facility' part is the second byte of four, here it's 0x19 = 25 decimal. Facility number 25, according to WinError.h is FACILITY_HTTP, so it's an error defined by the WinHttp APIs. I can't find where this is actually used, but the last 16 bits are always the specific error. 0x194 hex = 404 decimal, which is of course the 'not found' HTTP status code. Assuming that you've copied the files to the right location, I'd check that your web server is configured to send that type of file. IIS 6.0 only sends files that it knows the MIME type for, in contrast to earlier versions. The Updater Application Block 2.0 FAQ mentions this and how to fix the issue at http://msdn2.microsoft.com/en-us/library/ms978569.aspx#updaterfaq_deploytopic5[^].
DoEvents: Generating unexpected recursion since 1991
Thanks, very useful....