如何在服务器上部署aspnetdb.mdf? [英] how to deploy aspnetdb.mdf on server?

查看:63
本文介绍了如何在服务器上部署aspnetdb.mdf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在服务器上部署aspnetdb.mdf?
当我将网站放在实时服务器上并尝试登录时,出现以下错误消息.
错误:
部署Aspnetdb成员资格..错误:26-查找服务器/实例时出错

我正在使用Visual Studio中的内置成员资格功能进行登录.
当我从vs.net 2005进行测试时,我的网站在客户端上运行良好.但是,当我将其部署到Web服务器时,会出现此错误:从Web服务器远程和本地.建立与服务器的连接时发生错误.连接到SQL Server 2005时,此故障可能是由于以下事实导致的:在默认设置下,SQL Server不允许远程连接. (提供者:SQL网络接口,错误:26-指定服务器/实例时出错)我的Web配置包含以下内容:< connectionstrings> <删除名称="LocalSqlServer"> Web服务器上没有安装sql server.我使用vs.net 2005在客户端上创建了该站点.感谢您的帮助或信息.

i want to know how to deploy aspnetdb.mdf on server?
when i put my website on live server and tried to login i got following error message.
error:
Deploying Aspnetdb Membership .. Error: 26 - Error Locating Server/Instance

i am using inbuilt membership function in visual studio for login.
My website works great on my client when I test from vs.net 2005. Howevever, when I deploy to the web server, I get this error: remotely and local from the web server. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) My web config contains this: <connectionstrings> <remove name="LocalSqlServer"> There is no sql server install on the Web Server. I used vs.net 2005 to create the site on my client. Thanks for any help or information.

推荐答案

您要部署到的计算机需要安装SQL Express 2005,以便所有必需的位都在其中.查看此演练 [本指南 [
The machine you are deploying to needs to have SQL Express 2005 installed so that all the required bits are there. Check out this walkthrough[^] and there''s another link in there to this guide[^].

Cheers.


这篇关于如何在服务器上部署aspnetdb.mdf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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