我的项目在本地主机上工作但它在服务器上不起作用 [英] my project is working in local host but it is not working in server

查看:67
本文介绍了我的项目在本地主机上工作但它在服务器上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用数据库

而我放入iis链接它在所有本地主机上工作

但我在服务器上传后得到的链接

无法正常工作

im using databses
while i put in iis link its is working in all local host
but link i got after uploading in server
that is not working

推荐答案

您必须确保可以从服务器访问您的数据库。



由于您没有提供任何确切的信息,也没有任何现有的代码,这几乎是关于您的问题的所有内容。



如果您想要一个精确的答案,请详细说明您现有的项目; 不工作不够精确,无法提供有价值的解决方案。
You have to make sure your database is accessible from the server.

As you did not give any precise information, neither any existing code, that is pretty much everything that can be said about your problem.

If you want a precise answer, then please give precise details about your existing project ; 'is not working' is not precise enough to allow a valuable solution.


生产数据库与IIS在同一服务器上?检查防火墙。检查IIS中的应用程序池标识,并尝试将标识更改为NetworkService - http:// www.iis.net/learn/manage/configuring-security/application-pool-identities [ ^ ]
Production database is on the same server as IIS or not? Check Firewall. Check Application Pool Identity in IIS for your site and try change identity to NetworkService - http://www.iis.net/learn/manage/configuring-security/application-pool-identities[^]


这篇关于我的项目在本地主机上工作但它在服务器上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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