What DB required to make the Silverlight Business Application template work?

ぐ巨炮叔叔 提交于 2019-12-02 04:19:33

You need the aspnetdb database created by running aspnet_regsql.exe against a SQL Server instance called SQLExpress - this can be found in the LocalSqlServer connection string in machine.config. Or by replacing the LocalSqlServer connection string with something that points to your SQL instance. Something like this:

<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" 
     connectionString="Data Source=YOURCOMPUTER;Initial Catalog=aspnetdb;Integrated Security=True" 
     providerName="System.Data.SqlClient"/>
Wajid

Don't mess with machine.config Go to Silverlight-TV-51-Debugging-and-Deploying-WCF-RIA-Services

then do this:

In IIS under Windows 7, Select the application pool and then "advanced settings." Under "process model" find "Load User Profile" and set it to true.

SQL should now load under the default app pool account.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!