Jump to content

Adodb Doesn't Work On Clients Computer


Recommended Posts

I need to save the users IP and some other basic stuff into a SQL-database on a hosted server.

On my own computer it works great when I use:

$adoCon = ObjCreate("ADODB.Connection")

$adoCon.Open($fetchedconnectionstring)

But $adoCon.Open($fetchedconnectionstring) gives an error message on a completely clean XP machine telling me: The requested action with this object has failed.

Are there any alternatives for me other than using ADODB?

Very grateful for fast answer!

Regards,

Tobias

Link to comment
Share on other sites

I need to save the users IP and some other basic stuff into a SQL-database on a hosted server.

On my own computer it works great when I use:

$adoCon = ObjCreate("ADODB.Connection")

$adoCon.Open($fetchedconnectionstring)

But $adoCon.Open($fetchedconnectionstring) gives an error message on a completely clean XP machine telling me: The requested action with this object has failed.

Are there any alternatives for me other than using ADODB?

Very grateful for fast answer!

Regards,

Tobias

Microsoft used to have seperate installations for ADO wiche you can distribute with your program, or even have the program download and install it.

Guite many SQL servers have a mail backend suport. Mail your ip to a mailserver where the sql servers reads it's mail.

Or if you do not want to install anything on your clients and mail is not a option create your own little server pice of software to be used on a computer with the correct ADO objects installed and have your clients connect to your server passing on the information.

Link to comment
Share on other sites

Microsoft used to have seperate installations for ADO wiche you can distribute with your program, or even have the program download and install it.

Guite many SQL servers have a mail backend suport. Mail your ip to a mailserver where the sql servers reads it's mail.

Or if you do not want to install anything on your clients and mail is not a option create your own little server pice of software to be used on a computer with the correct ADO objects installed and have your clients connect to your server passing on the information.

Thank's a lot for the suggestions!

I don't think I dare to install anything on my clients except the script file so I have to find another solution than ADO. Can you point me in any direction how to connect and pass information to my Internet based server?

Regards,

Tobias

Link to comment
Share on other sites

Look in the "Network Functions" section of the help file. If you have a web server you might be intrested in the IE.au3 udf by DaleHome.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...