Win7 / Vista SQL Server installation after 2005/2008, additional database wrong solution

Win7 / Vista SQL Server installation after 2005/2008, additional database wrong solution

I installed SQL Server 2008 in Win7 / Vista, after separation of the database, additional time, the following error occurred:

Prompt "Unable to open the physical file ............ operating system error 5:." 5 (Access is denied) "(Microsoft SQL Server, Error: 5120)

Installation resolved 2005/2008 SQL Server, additional database error under Vista - small steamed bread - my network academy

Many are saying online The problem occurs because the login authentication database with mixed result, as long as the login authentication replaced windows can solve the problem. After testing, not so ......

We know that Win7 / Vista UAC using Account Control, even if you are an administrator account, the default is to use the standard token. After testing, just use "administrator privileges" running "SQL Server Management Studio", you can attach to normal.

Installation resolved 2005/2008 SQL Server, additional database error under Vista - small steamed bread - my network academy Installation resolved 2005/2008 SQL Server, additional database error under Vista - small steamed bread - my network academy

Another case, or if additional fail, it may be the current account does not have permission to access .mdf and .log files, additional current account permission to the data files and log files can then be attached:

Installation resolved 2005/2008 SQL Server, additional database error under Vista - small steamed bread - my network academy

Installation resolved 2005/2008 SQL Server, additional database error under Vista - small steamed bread - my network academy

Reproduced in: https: //www.cnblogs.com/ruanzb/archive/2011/04/28/2031552.html

Guess you like

Origin blog.csdn.net/weixin_34162228/article/details/94018892