473,804 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is wrong with my connection.

Experts

I'm experimenting with ADP and MSDE and I'm trying to connect a remote
front end through the internet.

I have already enabled TCP/IP connection on port 1433 on the MSDE host
computer and at the remote client computer on the File>Connection >Data
link properties I'm using an IP address for the server name which I got
from the LOG file of MSDE (192.168.xxx.xx ,1433) but then I realised
that that IP could not be used to connect from a remote computer, but
then only that IP and a 127.xxx.xxx were listed as "listening" on the
LOG file, so I went to www.whatismyip.com and used that IP,1433 (not
static) instead and still nothing. I have already tried setting my
firewall to accept connection from the remote computer by specifying
its IP address but no luck either.

Can someone please tell me what is the right procedure to distribute
ADP, ADE applications to remote computer and connect them to a back end
database (MSDE) through the internet?

GAVO.

Nov 18 '05 #1
3 1909
Let's look at a typical (for me) connection string to an Internet
Enabled MS-SQL db.

Sub a()
Dim c As ADODB.Connectio n
Set c = New ADODB.Connectio n
With c
.Open "PROVIDER=SQLOL EDB.1" _
& ";INITIAL CATALOG=Databas eName" _
& ";DATA SOURCE=server.i paddress" _
& ";USER ID=USERID" _
& ";PASSWORD=Pass word"

Debug.Print .State = adStateOpen
' shows True
End With
End Sub

What might be wrong?

Did you specify the correct server name and ip address in the Data
Source?

You've specified Port 1433. Port 1433 is sometimes blocked by ISP
providers. Have you tried using another port for both the in and the
out? (It may be bad practice to use 1433 anyway, as it is likely to be
the first port tested by SQL hackers).

You stated previously that you are trying to connect via Dial Up. Maybe
this is OK. Maybe it isn't. I would never have thought that a Dial Up
would be sufficient to do an MS-SQL connection and so I have never
tried.

You are using MSDE. I've never tried MSDE via the Internet. If you're
using an ADP, you should be aware that one ADP can (yes, I have seen
this after hearing some new swear words from an SA) make multiple
(multiple -> more than two) connections to the db. Perhaps, over the
internet MSDE recognizes each connection as a user and balks?

If you are desperate and trusting send me your connection info and let
me try connecting.Mayb e your workstation TC etc is not set up properly
for this.

Nov 18 '05 #2
Have you got msn messenger? if yes this is mine: ga******@hotmai l.com

It would be greate if you could help me test the connection.
GAVO.

lylefair wrote:
Let's look at a typical (for me) connection string to an Internet
Enabled MS-SQL db.

Sub a()
Dim c As ADODB.Connectio n
Set c = New ADODB.Connectio n
With c
.Open "PROVIDER=SQLOL EDB.1" _
& ";INITIAL CATALOG=Databas eName" _
& ";DATA SOURCE=server.i paddress" _
& ";USER ID=USERID" _
& ";PASSWORD=Pass word"

Debug.Print .State = adStateOpen
' shows True
End With
End Sub

What might be wrong?

Did you specify the correct server name and ip address in the Data
Source?

You've specified Port 1433. Port 1433 is sometimes blocked by ISP
providers. Have you tried using another port for both the in and the
out? (It may be bad practice to use 1433 anyway, as it is likely to be
the first port tested by SQL hackers).

You stated previously that you are trying to connect via Dial Up. Maybe
this is OK. Maybe it isn't. I would never have thought that a Dial Up
would be sufficient to do an MS-SQL connection and so I have never
tried.

You are using MSDE. I've never tried MSDE via the Internet. If you're
using an ADP, you should be aware that one ADP can (yes, I have seen
this after hearing some new swear words from an SA) make multiple
(multiple -> more than two) connections to the db. Perhaps, over the
internet MSDE recognizes each connection as a user and balks?

If you are desperate and trusting send me your connection info and let
me try connecting.Mayb e your workstation TC etc is not set up properly
for this.


Nov 18 '05 #3
"GAVO-UK" <an****@peoplee x.com> wrote in news:1132322373 .440270.152270
@o13g2000cwo.go oglegroups.com:
Have you got msn messenger? if yes this is mine: ga******@hotmai l.com

It would be greate if you could help me test the connection.
GAVO.


I'm sorry that I don't have time to address this interactively, but if you
send me your connection information

ly***********@a im.com

I will try to see if I can effect a connection and let you know my results.
This will rule out some peculiarity of machine.

--
Lyle Fairfield
Nov 18 '05 #4

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

Similar topics

1
3595
by: iam247 | last post by:
Hi I have a web page which receives information from a form (using request.form) and also attempts to look at an Access query to read in recoeds to a variable named rsGroup. When I have the following line commented, so it does not activate, I can successfully print all of the response.write's below: rsGroup.Open strSQL, adoCon
10
2265
by: Daniel Sélen Secches | last post by:
I was trying to make a simple dataReader.... Sub projets() Dim conn As New OleDbConnection(connstring) Dim dr As OleDbDataReader() Dim cmd As New OleDbCommand() cmd.CommandText = "select * from projeto order by nome" cmd.Connection = conn conn.Open() dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
4
1179
by: Hyphessobrycon | last post by:
Private Sub btnrubriekbij_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnrubriekbij.Click 'insert hier Dim cn As New OleDb.OleDbConnection(constr) Dim dc As New OleDb.OleDbCommand dc.Connection = cn
0
1320
by: Arielle | last post by:
Please tell me what's wrong with this picture. public class MyClass { SqlConnection ConnectionSql = null; SqlCommand CommandSql = null; SqlDataReader QueryResult = null;
5
12810
by: darthghandi | last post by:
I've created a class to listen to all interfaces and do a BeginAccept(). Once it gets a connection, it passes the connected socket off and stores it in a List. Next, it continues to listen for more incoming connections and does the BeginAccpet() again. It does an infinite loop this way. My question is: What is the best way to stop this? I thought about putting a boolean in there, but then what if it's still waiting for an incoming...
2
1551
by: estherschindler | last post by:
For a lot of IT people -- everyone from software developers to tech writers to network support folks -- telecommuting is the best personal option. They get a flexible schedule, they aren't bothered by noisy cube-mates, they can code during whichever hours work for them (with the help of IM and email), and so on. Many of us are lucky enough to live this lifestyle; I include myself in this set, as I've been a full time telecommuter for...
167
8376
by: darren | last post by:
Hi I have to write a multi-threaded program. I decided to take an OO approach to it. I had the idea to wrap up all of the thread functions in a mix-in class called Threadable. Then when an object should run in its own thread, it should implement this mix-in class. Does this sound like plausible design decision? I'm surprised that C++ doesn't have such functionality, say in its STL. This absence of a thread/object relationship in...
0
2042
by: lopes80andre | last post by:
Hi, I'am trying to configure a Postfix server to send e-mails by SMTP using the SMTP server of my ISP. I have made a Postfix installation as "Internet with Smarthost". I'am using a domain in Godaddy, I have point "A (Host) Record" to my IP and the "MX Record" is also pointing to my IP. I have tested sending e-mail from my gmail.com account to my server, the server receive e-mails from gmail.com to my /home/andre/mbox successfully. ...
0
4546
by: okonita | last post by:
Hi all, I am having a DB2 connectivity problem that I hope someone can help me resolve. I need this to test Replication and such other things. What am I doing wrong here? Any help that I can get will be highly appreciated. First, the error that I am getting when I try to connect to the remote host after performing NODE and database catalog is the following: SQL1336N The remote host "WINSVR2008R2-2" was not found. SQLSTATE=08001. I...
0
9589
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10593
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10329
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9163
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.