Microsoft KB Archive/939554

= Error message when you try to attach an .sbd data file to an instance of Microsoft SQL Server in Accounting Professional 2007 or in Accounting Express 2007: &quot;Access is denied&quot; =

Article ID: 939554

Article Last Modified on 8/15/2007

-

APPLIES TO


 * Microsoft Office Accounting Professional 2007
 * Microsoft Office Accounting Express 2007

-



SYMPTOMS
When you try to attach an .sbd data file to an instance of Microsoft SQL Server in Microsoft Office Accounting Professional 2007 or in Microsoft Office Accounting Express 2007, you may receive the following error message:

Access is Denied.



CAUSE
This problem occurs because the user name that you are using does not have ownership or full control of the following database files:
 * The .sbd data file
 * The .sbl data files



RESOLUTION
To resolve this problem, give the user name that you are using ownership and full control of the database files. To do this, follow these steps:  Locate the C:\ProgramFiles\Microsoft SQL Server\MSSQL.1\MSSQL\DATA folder.

Note If there are other SQL Server instances on the computer, you can use a different folder. For example, you can use the MSSQL.2 folder or the MSSQL.3 folder. Locate the company database file and the log file.

Note  The company database file resembles the following file:

.sbd

 The log file resembles the following file:

.sbl

  Right-click  .sbd, and then click Properties. On the Security tab, click Advanced.</li> On the Owner tab, select the user name that you want to make the owner, click Apply, and then click OK.</li> Under Permissions, click to select the Full Control check box in the Allow column, and then click OK.</li> Repeat step 4 through step 8 for the .sbl file.</li> Click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Accounting 2007 Tools, and then click Data Tools.</li> On the Advanced Tools tab, click Attach to attach the data file.</li></ol>

Keywords: kberrmsg kbtshoot kbprb kbmbsmigrate kbexpertiseinter kbexpertisebeginner KB939554

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.