Ask a Question related to ASP Database, Design and Development.
-
John Morgan #1
Connecton string problem with classic ASP running within Net SDK
When I run the following connection code in classic ASP on a machine
without the NET SDK installed it works perfectly and has done for some
time.
When I run it on a computer with the Net SDK installed it fails with
the message given below.
The code is:
dim strconnect
strconnect="Provider=sqloledb;DataSource=CMS2\NetS DK;Database=testThursday;uid=sa;pwd=;"
set myConn= Server.CreateObject ("ADODB.Connection")
myConn.open strConnect
The error message is:
Microsoft OLE DB Provider for SQL Server error '80004005'
Invalid connection string attribute
I would be most grateful for advice as I urgently need to solve this
problem. I
I should perhaps say that the datasource and database names are
slightly different in the two computers but I have double checked that
the names are correct and that the form of the sting is the same.
I can make a connection using the Visual Studio tool but I cannot get
what looks like a complicated VS generated string to work in the asp
file.
I am wondering if I need to use a different connection string in the
Net environment ?
Best wishes, John Morgan
John Morgan Guest
-
Freehand9 running on Classic mode of OSX
I recently moved to OSX and should be able to run older versions of software in OS9 at the same time. After reinstalling FH9, I cannot launch due... -
Running command from string variable as if part of script
I'm reading another perl script into array and want to commands from the the array as if normal perl commands. How do I do it? -
Classic Projector/ Buddy API problem
Hello, I am trying to use Buddy API to open files on a CD. Works great in OS X and Windows but not in Classic. I created the application... -
Cross-platform --- Win/Mac OS X/Classic OS... Major Problem!!!
Hi all, I'm currently working on a cross-platform app in DirMX, which has to be deployed on Mac OS X, Classic Mac OS and Windows. I have created... -
problem:Director mx projector in classic.....
When I try to run the projector in OS 9....first of all the projector icon does not appear. It appears the white sheet with the "A"....(application... -
Bob Barrows #2
Re: Connecton string problem with classic ASP running within Net SDK
See [url]www.connectionstrings.com[/url] for the correct syntax.
Bob Barrows
John Morgan wrote:strconnect="Provider=sqloledb;DataSource=CMS2\NetS DK;Database=testThursday;u> When I run the following connection code in classic ASP on a machine
> without the NET SDK installed it works perfectly and has done for some
> time.
>
> When I run it on a computer with the Net SDK installed it fails with
> the message given below.
>
> The code is:
>
> dim strconnect
>
id=sa;pwd=;">
> set myConn= Server.CreateObject ("ADODB.Connection")
> myConn.open strConnect
>
> The error message is:
> Microsoft OLE DB Provider for SQL Server error '80004005'
>
> Invalid connection string attribute
>
> I would be most grateful for advice as I urgently need to solve this
> problem. I
>
> I should perhaps say that the datasource and database names are
> slightly different in the two computers but I have double checked that
> the names are correct and that the form of the sting is the same.
>
> I can make a connection using the Visual Studio tool but I cannot get
> what looks like a complicated VS generated string to work in the asp
> file.
>
> I am wondering if I need to use a different connection string in the
> Net environment ?
>
> Best wishes, John Morgan
Bob Barrows Guest
-
John Morgan #3
Re: Connecton string problem with classic ASP running within Net SDK
Thanks Bob,
I appreciate your help - I looked up the page and the first string I
tried worked perfectly,
Best wishes, John Morgan
On Fri, 10 Oct 2003 17:16:36 -0400, "Bob Barrows"
<reb01501@NOyahoo.SPAMcom> wrote:
>See [url]www.connectionstrings.com[/url] for the correct syntax.
>
>Bob Barrows
>
>John Morgan wrote:>strconnect="Provider=sqloledb;DataSource=CMS2\Net SDK;Database=testThursday;u>> When I run the following connection code in classic ASP on a machine
>> without the NET SDK installed it works perfectly and has done for some
>> time.
>>
>> When I run it on a computer with the Net SDK installed it fails with
>> the message given below.
>>
>> The code is:
>>
>> dim strconnect
>>
>id=sa;pwd=;">>>
>> set myConn= Server.CreateObject ("ADODB.Connection")
>> myConn.open strConnect
>>
>> The error message is:
>> Microsoft OLE DB Provider for SQL Server error '80004005'
>>
>> Invalid connection string attribute
>>
>> I would be most grateful for advice as I urgently need to solve this
>> problem. I
>>
>> I should perhaps say that the datasource and database names are
>> slightly different in the two computers but I have double checked that
>> the names are correct and that the form of the sting is the same.
>>
>> I can make a connection using the Visual Studio tool but I cannot get
>> what looks like a complicated VS generated string to work in the asp
>> file.
>>
>> I am wondering if I need to use a different connection string in the
>> Net environment ?
>>
>> Best wishes, John MorganJohn Morgan Guest



Reply With Quote

