473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Connect to remote DataBase

Dear Friends
I'm new with asp.net.
I have a asp.net 2.0 application hosted in a ISP, that don't permit instal
of Firebird database.

I need this application to access a firebird database that is installed in a
Windows 2008 Server in another place, ie, in my local network.

This is for test only, but I intend to create this app to real clients that
has another win32 app that uses the database in local network

I created in No-IP a host, that redirect to 3050 port (used by firebird)
In the router I created a portforward to ip (machine) that has the firebird
and database instaled
I use the follow ConnectionString in web.config:

<add name="SilojaNetFB"
connectionString="User=SYSDBA;Password=masterkey;d atabase=c:\silojaw\ibo\HRMERCADO.gdb;DataSource=ht tp://silojafb.no-ip.com;Port=3050;Dialect=3; "/>

When run the application, I get error.
Can you help me?

Thanks
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br

Sep 24 '08 #1
3 2566
I am not sure how Firebird works. In general, however, you cannot attach to
a file on a local drive remotely:
c:\silojaw\ibo\HRMERCADO.gdb

Based on what little I have found out there, it appears that your connection
string should be more like:

connectionString="User=SYSDBA;Password=masterkey;d atabase=HRMERCADO.gdb;DataSource=http://silojafb.no-ip.com;Port=3050;Dialect=3;"

But I am not sure the DataSource is correct here. You may have to change to
IP address instead:

connectionString="User=SYSDBA;Password=masterkey;d atabase=HRMERCADO.gdb;DataSource=10.0.0.2;Port=305 0;Dialect=3;"

Here is an excellent site to bookmark for when you are having problems with
connection strings:
http://www.connectionstrings.com/

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"HRsoft Informática" <HR**************@discussions.microsoft.comwrote in
message news:B9**********************************@microsof t.com...
Dear Friends
I'm new with asp.net.
I have a asp.net 2.0 application hosted in a ISP, that don't permit instal
of Firebird database.

I need this application to access a firebird database that is installed in
a
Windows 2008 Server in another place, ie, in my local network.

This is for test only, but I intend to create this app to real clients
that
has another win32 app that uses the database in local network

I created in No-IP a host, that redirect to 3050 port (used by firebird)
In the router I created a portforward to ip (machine) that has the
firebird
and database instaled
I use the follow ConnectionString in web.config:

<add name="SilojaNetFB"
connectionString="User=SYSDBA;Password=masterkey;d atabase=c:\silojaw\ibo\HRMERCADO.gdb;DataSource=ht tp://silojafb.no-ip.com;Port=3050;Dialect=3;
"/>

When run the application, I get error.
Can you help me?

Thanks
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br
Sep 24 '08 #2
Thank you for your response.
In local network, works ok.
But when the application try to connect with another network, via Internet,
not.
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br

"Cowboy (Gregory A. Beamer)" wrote:
I am not sure how Firebird works. In general, however, you cannot attach to
a file on a local drive remotely:
c:\silojaw\ibo\HRMERCADO.gdb

Based on what little I have found out there, it appears that your connection
string should be more like:

connectionString="User=SYSDBA;Password=masterkey;d atabase=HRMERCADO.gdb;DataSource=http://silojafb.no-ip.com;Port=3050;Dialect=3;"

But I am not sure the DataSource is correct here. You may have to change to
IP address instead:

connectionString="User=SYSDBA;Password=masterkey;d atabase=HRMERCADO.gdb;DataSource=10.0.0.2;Port=305 0;Dialect=3;"

Here is an excellent site to bookmark for when you are having problems with
connection strings:
http://www.connectionstrings.com/

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"HRsoft Informática" <HR**************@discussions.microsoft.comwrote in
message news:B9**********************************@microsof t.com...
Dear Friends
I'm new with asp.net.
I have a asp.net 2.0 application hosted in a ISP, that don't permit instal
of Firebird database.

I need this application to access a firebird database that is installed in
a
Windows 2008 Server in another place, ie, in my local network.

This is for test only, but I intend to create this app to real clients
that
has another win32 app that uses the database in local network

I created in No-IP a host, that redirect to 3050 port (used by firebird)
In the router I created a portforward to ip (machine) that has the
firebird
and database instaled
I use the follow ConnectionString in web.config:

<add name="SilojaNetFB"
connectionString="User=SYSDBA;Password=masterkey;d atabase=c:\silojaw\ibo\HRMERCADO.gdb;DataSource=ht tp://silojafb.no-ip.com;Port=3050;Dialect=3;
"/>

When run the application, I get error.
Can you help me?

Thanks
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br

Sep 24 '08 #3
It could be a port is being filtered and the database cannot be reached. I
would look at the firewall on the database server side.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"HRsoft Informática" <HR**************@discussions.microsoft.comwrote in
message news:28**********************************@microsof t.com...
Thank you for your response.
In local network, works ok.
But when the application try to connect with another network, via
Internet,
not.
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br

"Cowboy (Gregory A. Beamer)" wrote:
>I am not sure how Firebird works. In general, however, you cannot attach
to
a file on a local drive remotely:
c:\silojaw\ibo\HRMERCADO.gdb

Based on what little I have found out there, it appears that your
connection
string should be more like:

connectionString="User=SYSDBA;Password=masterkey; database=HRMERCADO.gdb;DataSource=http://silojafb.no-ip.com;Port=3050;Dialect=3;"

But I am not sure the DataSource is correct here. You may have to change
to
IP address instead:

connectionString="User=SYSDBA;Password=masterkey; database=HRMERCADO.gdb;DataSource=10.0.0.2;Port=30 50;Dialect=3;"

Here is an excellent site to bookmark for when you are having problems
with
connection strings:
http://www.connectionstrings.com/

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"HRsoft Informática" <HR**************@discussions.microsoft.comwrote
in
message news:B9**********************************@microsof t.com...
Dear Friends
I'm new with asp.net.
I have a asp.net 2.0 application hosted in a ISP, that don't permit
instal
of Firebird database.

I need this application to access a firebird database that is installed
in
a
Windows 2008 Server in another place, ie, in my local network.

This is for test only, but I intend to create this app to real clients
that
has another win32 app that uses the database in local network

I created in No-IP a host, that redirect to 3050 port (used by
firebird)
In the router I created a portforward to ip (machine) that has the
firebird
and database instaled
I use the follow ConnectionString in web.config:

<add name="SilojaNetFB"
connectionString="User=SYSDBA;Password=masterkey;d atabase=c:\silojaw\ibo\HRMERCADO.gdb;DataSource=ht tp://silojafb.no-ip.com;Port=3050;Dialect=3;
"/>

When run the application, I get error.
Can you help me?

Thanks
--
Hércules
HRsoft Informática - Rio de Janeiro - Brasil
http://www.hrsoft.com.br

Sep 26 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: NagaKiran | last post by:
Hi I need a help. I have a VB code In that I want to connect to a remote database thru VB code. Can we connect a Access database which is located in a web server thru VB? If so how can we...
4
by: JIM.H. | last post by:
Hello, My database stays in a remote site and I have access it through VPN. I would like connect my current Windows based Asp.Net application with this database. What are my options? Can I...
3
by: Luca | last post by:
I'have Easy PHP in localhost and i need connect php page (local) to remote database: $db_host = "62.149.225.23"; $db_user = "gfo"; $db_password = "gfo"; $db_name = "gfonline"; $db =...
3
by: Pakna | last post by:
Hello, I have what may be a beginner's question regarding DB2. How does one access a remote table on a remote database via SQL? What is the command string, is there an equivalent of Oracle...
7
by: Vivek | last post by:
Hi, I want to know if it is possible to load(using the db2load API) into a remote database. By remote database i mean one that i have cataloged. Any parameters that need to be changed ? TIA
10
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END...
6
by: mktselvan | last post by:
hi here we have oracle financial system (dbtier, applicatin tier) @ sun solaris sparc from windows client, application tier ip address is working (pinging from remote area) but dbtier...
5
by: Rnt6872 | last post by:
Hello. All, I've been trying to connect to my hosting company's (Go Daddy) remote database. But continuously receive "Server does not allow remote connections". Do I need a open_source...
1
by: sbettadpur | last post by:
hi, i wrote a script in php, to connect remote database server. i am getting the following errors Warning: mysql_connect() : Host 'IPaddress(i changed)' is not allowed to connect to this MySQL...
1
by: wdelacruz | last post by:
Hi.. I have a server in which exists a db2(8.1.2) database, and i'm installing a software in other server in the same net that connects with this database, but it doesn't connect with the db2...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.