出口网站问题 [英] exporting web sites problem

查看:54
本文介绍了出口网站问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在本地计算机上开发一个网页,然后再在部署网页之前,在目标计算机上导出该项目时,更改IP,而不是更改机器IP,而是使用目标计算机IP进行更改,而不是部署网页.获取有关连接字符串的错误.是什么问题?

Hi,
I develop a web page on my local machine, before the deploy web page, I change the IP, instead of my machine IP, I change with target machine IP, than I deploy web page, when I export that project on that target machine I getting error about the connection string. What is the problem?

推荐答案

您收到的错误消息是什么?
Whats the error message you are getting?


我在代码中使用了该连接字符串,字符串为true,但问题是我无法从远程连接连接到XE2 db(服务器db).

10.91.25.102 IP是服务器IP,

tnsnames.ora我将连接字符串写入该文件,使用SQLVav4.exe打开新会话,但无法连接到XE2数据库
XE2 =
(说明=
(地址=(协议= TCP)(主机= 10.91.25.102)(端口= 1521))
(CONNECT_DATA =
(服务器=专用)
(SERVICE_NAME = XE)
)
)

你能帮我个忙吗?
I use that connection string in my code, string is true but the problem is I cant connect to XE2 db (which is server db) from the remote connection.

10.91.25.102 IP is the server IP,

tnsnames.ora I write that connection string to the that file, I open the new session with SQLVav4.exe But I cant connect to XE2 database
XE2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.91.25.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

could you help meeee ?


一个疯狂的猜测:
A wild guess:
XE2 = <----------------- XE in connection string ??
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.91.25.102)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE) <------------- XE2 ????
)
)



问候
Espen Harlinn



Regards
Espen Harlinn


这篇关于出口网站问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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