Microsoft Knowledge Base Email Alertz

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,

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 319246 - Last Review: October 11, 2005 - Revision: 3.3

FIX: Error Dialog Box During SQL Server Database Backup

This article was previously published under Q319246

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.

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.

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:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
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.

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  (http://kbalertz.com/Feedback.aspx?kbNumber=281345/EN-US/ ) FIX: Dialog Box Opens During Backup Process Prompting You To Insert Disk in Drive A

APPLIES TO
  • Microsoft Data Access Components 2.6 Service Pack 2
  • Microsoft Data Access Components 2.7
  • Microsoft SQL Server 7.0 Standard Edition
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbqfe kbhotfixserver KB319246
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate