Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Unspecified Error in ADODB.CONNECTION in IIS 6.0

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Application State Unload  
Author Message
Sumit Chawla

External


Since: Jul 27, 2007
Posts: 1



(Msg. 1) Posted: Fri Jul 27, 2007 3:33 am
Post subject: Unspecified Error in ADODB.CONNECTION in IIS 6.0
Archived from groups: microsoft>public>inetserver>iis (more info?)

The following code works fine when using VBScript. However it fails in
ASP page


dim con, dsn
dsn = "provider=SQLOLEDB;data source=MyXP,
1433;uid=user;pwd=pass;database=dbMy"
Set con = CreateObject("ADODB.Connection")
con.Open(dsn)

The code bombs at con.Open

I have IIS 6.0 installed on Windows XP. That code is well tested code
and used to fine well on my machine. However some configuration
change has triggered this error.

I get following error from the code:

Provider Unspecified Error


Any help in this regard will be highly beneficial.

Thanks
Sumit

 >> Stay informed about: Unspecified Error in ADODB.CONNECTION in IIS 6.0 
Back to top
Login to vote
"Egbert Nierop

External


Since: Oct 14, 2005
Posts: 201



(Msg. 2) Posted: Fri Jul 27, 2007 7:56 am
Post subject: Re: Unspecified Error in ADODB.CONNECTION in IIS 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Sumit Chawla" <enetra.TakeThisOut@gmail.com> wrote in message
news:1185532408.167512.210440@z24g2000prh.googlegroups.com...
> The following code works fine when using VBScript. However it fails in
> ASP page
>
>
> dim con, dsn
> dsn = "provider=SQLOLEDB;data source=MyXP,
> 1433;uid=user;pwd=pass;database=dbMy"
> Set con = CreateObject("ADODB.Connection")
> con.Open(dsn)


Try this.
You have a connection string that looks like a mix of ODBC and an Oledb
connection string.

'now it is ole db
dsn = "provider=SQLOLEDB;data source=MyXP,1433;user
id=user;password=pass;data source=dbMy"

> Set con = CreateObject("ADODB.Connection")
> con.Open(dsn)

> The code bombs at con.Open
>
> I have IIS 6.0 installed on Windows XP. That code is well tested code
> and used to fine well on my machine. However some configuration
> change has triggered this error.
>
> I get following error from the code:
>
> Provider Unspecified Error
>
>
> Any help in this regard will be highly beneficial.
>
> Thanks
> Sumit
>

 >> Stay informed about: Unspecified Error in ADODB.CONNECTION in IIS 6.0 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ADODB.Connection error '800a0e7a' - hello, I have a problem on a Windows 2000 Server sp4 where any asp page that tries to connect to a database (SQL or Access) get's the following eror: ----- ADODB.Recordset error '800a0e7a' Provider cannot be found. It may not be properly installed. ..

Error Creating ADODB.Connection Connection in IIS6 - Cross posting here as recommended by Bob. If anyone has any ideas or suggestions please let me know. Thanks B ------------------------------------------- "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote: Nope. I'm assuming MDAC i...

Availibility of ADODB connections - I've noticed that when I use the browser that hasn't made a call to my IIS server for a while, that there can be a large delay in the first call back to the IIS server. Subsequent calls all respond in a timely fashion, but the first one can take as lon...

ASP Appn: ADODB.Connection Is OK on XP#1, Fails on XP#2 - Hope you guys can suggest where to start looking. I've loaded subject app on a new XP notebook, gotten IIS's dirs and ODBC defined OK - AFAIK. The new XP is at SP#1 with 282010, the old XP isn't. The problem is that I can't get past the first..

ADODB connection to FoxPro causing problems - Is anyone having problems with the VFP 6.01.8629 driver? We installed the debug tool and have narrowed down the problem to VFP. What are the ramifications of reinstalling the driver? What is happening is that when a person comes to any of the .asp...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]