当我们将站点上传到服务器时如何为linq配置连接字符串 [英] how to configure connection string for linq when we upload site to server

查看:58
本文介绍了当我们将站点上传到服务器时如何为linq配置连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过FTP上传了我的网站。它显示无效的对象错误。我认为这可能是由于连接字符串。请任何博德帮我配置linq作为数据库。我的数据库已准备好并且代码也是因为连接问题我的网站无法正常工作。

I uploaded my site through FTP. It show invalid object error.I think it may be due to connection string.Please any bode help me to configure linq as database.My database is ready and code too but due to connection problem my site is not working.

推荐答案

您好你必须查看你的connectionstring所在的web.config文件,所以只需去那里用正确的一个替换连接字符串。
Hi You have to look at the web.config file where your connectionstring resides so just go there and replace connectionstring with correct one.


这篇关于当我们将站点上传到服务器时如何为linq配置连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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