ASP.NET SQL服务器 [英] asp.net sql server
本文介绍了ASP.NET SQL服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我是MSSQL的新手.
hey guys,
I M NEW TO MSSQL.
if i connect to db and than if i want to run it on other pc than what to do?
推荐答案
对不起,
我会详细解释.
实际上,我正在根据自己的建议创建数据库.并将其连接到asp.net.它运行成功.但是当我在其他comp上运行它时.它给出了错误.-它给出了没有找到这样的数据库的错误.或连接字符串错误.
sry guys,
I Explain it in details.
actually, i m creating database at my comp. and connecting it wid asp.net. it runs successful. but when i run it on others comp. it gives error.-it gives the error that no such database found. or error in connection string.
我认为,
您应在web.config文件的connectionstring中更改系统名称,或将数据库包括在另一台计算机中.
我不知道你的情况.
您在同一台计算机上有数据库和asp.net应用程序?或单独的机器?
I think,
You should change the System name in connectionstring in web.config file or you should include the database in your other machine.
I don''t know your scenario..
You have database & asp.net app in same machine? or separate machines?
这篇关于ASP.NET SQL服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文