Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Error Dialog Box During SQL Server Database Backup


View products that this article applies to.

Symptoms

When you back up a SQL Server database, a dialog box may state that there is no floppy disk in drive A, or that there is no hard disk in the removable disk drive (for example, a Zip drive). This dialog box appears on the SQL Server server, not on the computer that is running SQL Server Enterprise Manager and launching the backup.

↑ Back to the top


Cause

When a linked server link is used to query a table on another SQL Server server, SQL Server uses the SQLOLEDB Provider. SQLOLEDB calls the operating system API function SetErrorMode() and sets the mode to SEM_NOOPENFILEERRORBOX. However, the provider does not restore the original error mode value (SEM_FAILCRITICALERRORS) later in the code. The failure occurs because SQL Server also uses the SetErrorMode() function, which has not been reset correctly by the provider.

↑ Back to the top


Resolution

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next MDAC service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   Date         Time   Version        Size    File name
   -------------------------------------------------------
   19-FEB-2002  14:23  2000.80.585.0  495697  Sqloledb.dll
				

The new SQLOLEDB.DLL file should replace the existing SQLOLEDB.DLL file on the SQL Server computer.

IMPORTANT: To install this file stop all services and close all applications that use Sqloledb.dll. For example, SQL Server or IIS. Rename the existing Sqloledb.dll in the C:\Program Files\Common Files\System\Ole DB folder, and then copy the new dll to the same folder. Once the file has been copied into the folder, register the file using regsrv32. For exmaple, regsrv32 C:\Program Files\Common Files\System\Ole DB\sqloledb.dll.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
281345 FIX: Dialog Box Opens During Backup Process Prompting You To Insert Disk in Drive A

↑ Back to the top


Keywords: KB319246, kbhotfixserver, kbqfe, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 319246
Revision : 6
Created on : 10/11/2005
Published on : 10/11/2005
Exists online : False
Views : 365