开发者

Login failed for user [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

SQL Server 2008 to SQL Server 2005

Hi all:

I get this error in visual studio 2008 server explorer when i click the aspnet db in MVC 1 applic开发者_如何学编程ation:

The database 'D:\Myproj\APP_DATA\ASPNETDB.MDF' cannot be opened because it is version 661. This server supports version 612 and earlier. A downgrade path is not supported. Cannot open user default database. Login failed. Login failed for user 'Sparrow-VAIO\Sparrow'.

Please suggest solution.


looks like you need to install the 2008 R2 version of SQL (or Express). heres the link

EDIT: looks like the server explorer in VS 2008 isnt up to par with the databse file tha you have. is moving to VS 2010 is an option ? if not you can attach the database file to the R2 instance you have installed and access the database using a standard connection string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜