您好我最近从Windows 7升级到Windows 8.并且已经在我的PC上安装了Visual Studio 2010和2012.我有两个个人应用程序在Windows 7下工作正常但是在尝试在Windows 8上运行它之后我得到了以下错误。
第一个应用程序显示以下错误:
The database 'E:\PROJECTS IDE\VISUAL STUDIO\2010\WEBAPPLICATIONS\FORUM\APP_DATA\ASPNETDB.MDF' cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported.
Could not open new database 'E:\PROJECTS IDE\VISUAL STUDIO\2010\WEBAPPLICATIONS\FORUM\APP_DATA\ASPNETDB.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file E:\Projects IDE\Visual Studio\2010\WebApplications\Forum\App_Data\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
这似乎与两个应用程序上的ASPNETB.MDF数据库相关联。
第二个应用程序一开始运行正常但我只是因为我创建了两个数据库并且为了运行应用程序访问ASPNETDB.MDF不是必需的。但是在我尝试登录到应用程序后我得到了这个错误:
An attempt to attach an auto-named database for file D:\Projects IDE\Visual Studio\MyWork\Websites\e-commerce\e-commerce\App_Data\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
我发布应用程序问题的原因是因为我遇到了阻止我的应用程序运行的同样问题。
我该怎么做才能解决这个问题?