Godaddy ASP.NET会员数据库困境

我在godaddy上购买了一个带有2个MSsql数据库的Windows共享主机帐户.我设置了一个来保存我的站点数据,另一个安装了aspnet成员模式来存储站点成员.该站点可以完美地显示来自第一个数据库的数据.但是,当我尝试登录注册时,我得到了这个令人讨厌的错误

Exception Details:
System.Configuration.Provider.ProviderException:
The SSE Provider did not find the
database file specified in the
connection string. At the configured
trust level (below High trust level),
the SSE provider can not automatically
create the database file.

我已经浏览了我的web.config并且我的2个连接字符串没有任何问题.当1是成员资格时,似乎godaddy在同时使用2个mssql数据库时遇到问题.

有谁知道解决方案或解决方法

解决方法

我希望我的经历对每个人都有好处.基本上如果你想避免在godaddy上的aspnet成员资格问题,总是使用“LocalsqlServer”作为连接字符串.即
<providers>
    <remove name="AspNetsqlMembershipProvider" />
    <add name="AspNetsqlMembershipProvider" connectionStringName="LocalsqlServer"
        ..other attributes here... />
</providers>

然后创建“LocalsqlServer”connectionString …记得先删除

<connectionStrings>
    <remove name="LocalsqlServer"/>
    <add name="LocalsqlServer"
        connectionString="Data Source=xxxx; Initial Catalog=xxx; User ID=xxx; Password=xxx;"
        providerName="System.Data.sqlClient" />
</connectionStrings>

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....