我试图将Episerver集成到我的Visual Studio项目中。我已经下载过的NuGet经理Episerver CMS延伸和一切顺利..这里的问题是,当我尝试访问episerver CMS面板是这样的:无法设置episerver默认应用程序(无法附加episerver数据库)
localhost:port/episerver/cms I get the following error
Directory lookup for the file EPiServerDB_ae17da15.mdf failed with the operating system error 5(Access is denied.).Cannot attach the file EPiServerDB_ae17da15.mdf as database 'EPiServerDB_ae17da15'.
这是我的连接字符串:
<connectionStrings>
<add name="EPiServerDB" connectionString="Data Source=.;AttachDbFilename=|DataDirectory|EPiServerDB_ae17da15.mdf;Initial Catalog=EPiServerDB_ae17da15;Connection Timeout=60;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
</connectionStrings>
我在做什么错在这里?有人可以帮我吗?
您是否在IIS Express中运行您的站点?你是否在管理员帐户下运行你的VS实例? –