0

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...

6
Contributors
9
Replies
51
Views
3 Years
Discussion Span
Last Post by Begginnerdev
Featured Replies
  • 1

    Are 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. Read More

0

My guess would be that that would depend on the setup (communication method, ip address, authentication) of your "online database". Once you are connected, the rest should be business as usual. Google "Remote connection", if you have not yet.

0

Disconnect your computer from the internet and run the app. If it complains then the answer is yes. Alternately you can run the performance monitor as

perfmon /res

and monitor your app for network activity.

0

how can i do that?.i dont have any idea...im sorry im just a newbie ...

1

Are 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.

Comments
0

yes x10hosting does i added my ip to the remote sql connection exeption panel..

Edited by sashyn01

1

How 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?

0

con.ConnectionString = "server = **********.com; user id = *****; password = *****; database = soundpro_Datas"

here is my server string but every time i log.in vb.net always throw me and error...i've seen connecting vb.net using php and xml but my brain explodes in their codes...i dont get it how..

Edited by deceptikon: Removed login details

1

What 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
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.