部署ASP.NET成员资格的Godaddy [英] Deploying ASP.NET membership to Godaddy

查看:132
本文介绍了部署ASP.NET成员资格的Godaddy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图部署使用ASP.NET成员资格的网站和托管公司GoDaddy的。问题是,由于某种原因,当我登录被抛出一个错误。我已经修改了用于测试目的一些网页,看看我是否可以从数据库中提取数据,它工作正常。所以我知道这是映射到正确的来源。我收到的错误是:

I'm trying to deploy a website using ASP.NET membership and the hosting company is godaddy. Problem is that for some reason an error is being thrown when I log in. I've modified some pages for testing purposes to see if I can pull data from the database and it works fine. So I know it's mapping to the proper source. The error I'm receiving is the following:

发生网络相关的或特定于实例的错误,服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server配置为允许远程连接。 (提供者:SQL网络接口,错误:26 - 错误定位服务器/实例指定)

"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

任何帮助将是非常美联社preciated。

Any help would be much appreciated.

推荐答案

这听起来象是仍然使用LocalSqlServer AUTOMAGIC连接字符串。删除名称=LocalSqlServer /> 你的<我&LT增加是connectionStrings> ,看看有什么吹了。

It sounds like something is using the LocalSqlServer automagic connection string still. I'd add<remove name="LocalSqlServer /> to your <connectionStrings> and see what blows up.

这篇关于部署ASP.NET成员资格的Godaddy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆