Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 939554 - Last Review: September 10, 2011 - Revision: 2.0
Error message when you try to attach an.sbd data file to an instance of Microsoft SQL Server in Accounting Professional or in Accounting Express: "Access is denied"
When you try to attach an .sbd data file to an instance of Microsoft SQL Server in Microsoft Office Accounting Professional or in Microsoft Office Accounting Express, you may receive the following error message:
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
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:
Company_name.sbd
- The log file resembles the following file:
Company_name.sbl
- Right-click Company_name.sbd, and then click Properties.
- On the Security tab, click Advanced.
- On the Owner tab, select the user name that you want to make the owner, click Apply, and then click OK.
- Under Permissions, click to select the Full Control check box in the Allow column, and then click OK.
- Repeat step 4 through step 8 for the Company_name.sbl file.
- Click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Accounting <year> Tools, and then click Data Tools.
- On the Advanced Tools tab, click Attach to attach the data file.
APPLIES TO
- Microsoft Office Accounting Express 2007
- Microsoft Office Accounting Professional 2007
| kberrmsg kbexpertisebeginner kbtshoot kbmbsmigrate kbprb kbexpertiseinter KB939554 |
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