Microsoft KB Archive/942006

= How to restore a company database file after you upgrade from Windows XP to Windows Vista if a backup file was not created in Accounting Express 2007, in Accounting Professional 2007, or in Small Business Accounting 2006 =

Article ID: 942006

Article Last Modified on 9/10/2007

-

APPLIES TO


 * Microsoft Office Accounting Express 2007
 * Microsoft Office Accounting Professional 2007
 * Microsoft Office Small Business Accounting 2006

-



INTRODUCTION
This article describes how to restore a company database file after you upgrade from Windows XP to Windows Vista if a backup file was not created in Microsoft Office Accounting Express 2007, in Microsoft Office Accounting Professional 2007, or in Microsoft Office Small Business Accounting 2006.



MORE INFORMATION
After you upgrade from Windows XP to Windows Vista, you may discover that a backup file was not created in Accounting Express 2007, in Accounting Professional 2007, or in Small Business Accounting 2006. To restore a company database file in this situation, follow these steps.

Note You must have administrator access to attach or to detach a company database file.  Install one of the following programs on the computer that you upgraded from Windows XP to Windows Vista:  Accounting Express 2007 Accounting Professional 2007  Copy the .sbd file and the .sbl file from the backup folder that was created when you installed Windows Vista. The backup folder is in the following location:  In Small Business Accounting 2006, the following path is the path of the backup folder:

C:\Windows.old\Program Files\Microsoft SQL Server\MSSQL$MICROSOFTSMLBIZ\Data

 In Accounting Express 2007 or in Accounting Professional 2007, the following path is the path of the backup folder:

C:\Windows.old\Program Files\Microsoft SQL Server\ \MSSQL\Data

Note The  placeholder represents the folder for an instance of SQL Server on the computer. If more than one instance is installed, replace the placeholder with the correct folder for the instance of SQL Server that is running.</li></ul> </li> Save the .sbd file and the .sbl file in the following folder:

C:\Program Files\Microsoft SQL Server\MSSQL.X\MSSQL\Data

</li> Attach the company database files that you saved in step 3, and then create a new .sbc file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Use the appropriate method:  In Accounting Express 2007 or in Accounting Professional 2007, click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Accounting 2007 Tools, and then click Data Tools.</li> In Small Business Accounting 2006, click Start, point to All Programs, point to Microsoft Small Business Accounting, and then click Data Tools</li></ul> </li> In the Microsoft Office Accounting Data Utilities dialog box, click the Advanced Tools tab.</li> Click Attach.</li> In the Attach a Database dialog box, click Browse, locate the company database file that you want to attach, and then click Open.

Notes  By default, the data file is located in the following directory:

C:\Program files\Microsoft SQL Server\ \MSSQL\Data

</li> The company database file is an .sbd file.</li></ul> </li> In the Database name field, type the name for the new company database. This will be the name of the company database (.sbc) file.</li> Click Attach.</li> Click OK.</li> Click Close to close the Microsoft Office Accounting Data Utilities dialog box.</li></ol> </li></ol>

<div class="references_section">