Link to home
Start Free TrialLog in
Avatar of falconew
falconew

asked on

Create DSN using ASP

I'm wondering how to create a DSN over a browser ? I've seen a web hosting company gives a service to his client to create a DSN connecting to SQL Server. The client can create the DSN himself from a browser. Any ideas would be great.
ASKER CERTIFIED SOLUTION
Avatar of sunj
sunj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of robbert
robbert

suni's code might/should work - when the user was logged on as a system administrator.

Alternatively,
a) run a VB DLL under an administrator's account, using MTS
b) use a DSN-less connection.
or simply just use a free asp component to create DSN on the fly.  Checkout this site: www.alphasierrapapa.com, look for asp component list.
Avatar of falconew

ASKER

It is using RDO, can you give me a sample in ASP ? Thank you for your answer.