Asp.net bigrock主机的sql server联机错误

Asp.net bigrock主机的sql server联机错误,asp.net,sql-server,web-services,web,Asp.net,Sql Server,Web Services,Web,在asp.net应用程序的bigrock主机上显示错误 用户“”的登录失败 在登录链接有登录页面后,输入正确的凭证,它给我的错误 “用户'shresa.mdf'登录失败” Bigrock技术支持团队未能解决此问题。请帮忙解决这个问题 据我所知,我的web.config文件中存在一些问题 我还在这里添加代码 <configuration> <system.web> <customErrors mode="Off"/> &l

在asp.net应用程序的bigrock主机上显示错误

用户“”的登录失败

在登录链接有登录页面后,输入正确的凭证,它给我的错误

“用户'shresa.mdf'登录失败”

Bigrock技术支持团队未能解决此问题。请帮忙解决这个问题

据我所知,我的web.config文件中存在一些问题

我还在这里添加代码

<configuration>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true" targetFramework="4.0">
            <assemblies>
                <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            </assemblies>
        </compilation>
    </system.web>

    <connectionStrings>
        <add name="Conn" connectionString="Data Source=localhost;Initial Catalog=shreesa.mdf;Integrated Security=False; User Id=saachlrw; Password=******;" providerName="System.Data.SqlClient" />
    </connectionStrings>
</configuration>

通过以下方式修改您的连接字符串:

之前

connectionString="Data Source=localhost;Initial Catalog=shreesa.mdf;Integrated Security=False; User Id=saachlrw; Password=******;"
之后

connectionString="Server=localhost;AttachDbFilename=|DataDirectory|shreesa.mdf;Database=yourdbname;Integrated Security=False; User Id=saachlrw; Password=******;"

连接字符串中的数据源是“localhost”。请检查。我已将其更改为服务器ip地址,但给出相同的错误