do you guys have any idea on how would i know if my vb.net app is trying to retrieve data from online database?.i am hoping that someone here can give idea because i really dont how would start doing it...
sashyn01
-1
Newbie Poster
Recommended Answers
Jump to PostAre you sure your "online" database allows inbound connections over the Internet? For example, I know with GoDaddy, you have the option to expose your SQL outside over the internet, but many providers do not allow this option.
Jump to PostHow are you connecting inside your application?
Generally if you wrap your connect code in a try/catch a problem will be thrown.
Have you check your connection string?
Jump to PostWhat error does the Connection.Open() method throw?
You can do a try/catch with a msgbox to find out:
Try con.Open() Catch ex As Exception MsgBox(ex.ToString()) End Try
All 9 Replies
PerplexedB
2
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
sashyn01
-1
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Begginnerdev
commented:
Yep
+9
sashyn01
-1
Newbie Poster
ReyJEnriquez
0
Junior Poster in Training
Begginnerdev
256
Junior Poster
sashyn01
-1
Newbie Poster
Begginnerdev
256
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.