Ask a Question related to ASP Database, Design and Development.
-
Bob Barrows #1
Re: ASP connection to SQL Server Problem
John Davis wrote:
Start here:> I had problem to make my ASP-ADO-SQL Server connection works. It
> throws the following error and I have no idea what's going on.
>
> Microsoft OLE DB Provider for SQL Server (0x80004005)
> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
> access denied.
>
> Here's the code fragment:
>
> Set dbConn = Server.CreateObject("ADODB.Connection")
> dbConn.Open "Provider=SQLOLEDB;Data
> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
> Security=SSPI"
>
> Please advice.
> Thanks!!
[url]http://www.aspfaq.com/show.asp?id=2009[/url]
HTH,
Bob Barrows
Bob Barrows Guest
-
Flash Communication Server connection problem
Hi, the problem is that when i try to connect to the admin console, i put on host localhost, user and pass are correct but when i click in connect... -
SQL Server connection problem.
I just downloaded dreamweaver 8. when i attempt to connect to SQL from the database explorer window on he left if fails with an error: SQL Server... -
Permanent connection between a LINUX server and a UNIX AIX server
Hello, I created, for a customer LAMBDA, a Intranet site with PHP and MySQL technology. This site is on a LINUX server. I wish to connect this... -
webservice problem: The underlying connection was closed: Unable to connect to the remote server
Hello All! I also have the unfamous error described in subject. I created the HelloWorld webservice simplest way by uncommenting the HelloWorld... -
Connection problem with MS-SQL-server
Hello, I use an Apache-Web-Server 1.3 with PHP 5 under Windows 2000. With a PHP-script I want to get data from a MS-SQL-Server. Therefore is... -
Bob Barrows #2
Re: ASP connection to SQL Server Problem
John Davis wrote:
Start here:> I had problem to make my ASP-ADO-SQL Server connection works. It
> throws the following error and I have no idea what's going on.
>
> Microsoft OLE DB Provider for SQL Server (0x80004005)
> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
> access denied.
>
> Here's the code fragment:
>
> Set dbConn = Server.CreateObject("ADODB.Connection")
> dbConn.Open "Provider=SQLOLEDB;Data
> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
> Security=SSPI"
>
> Please advice.
> Thanks!!
[url]http://www.aspfaq.com/show.asp?id=2009[/url]
HTH,
Bob Barrows
Bob Barrows Guest
-
Tom B #3
Re: ASP connection to SQL Server Problem
You have two slashes after MYCOMPUTERNAME
"John Davis" <jrefactor@hotmail.com> wrote in message
news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...the> I had problem to make my ASP-ADO-SQL Server connection works. It throws> following error and I have no idea what's going on.
>
> Microsoft OLE DB Provider for SQL Server (0x80004005)
> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
> denied.
>
> Here's the code fragment:
>
> Set dbConn = Server.CreateObject("ADODB.Connection")
> dbConn.Open "Provider=SQLOLEDB;Data Source=MYCOMPUTERNAME\\MYSQL;Initial
> Catalog=Northwind;Integrated Security=SSPI"
>
> Please advice.
> Thanks!!
>
>
Tom B Guest
-
Tom B #4
Re: ASP connection to SQL Server Problem
You have two slashes after MYCOMPUTERNAME
"John Davis" <jrefactor@hotmail.com> wrote in message
news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...the> I had problem to make my ASP-ADO-SQL Server connection works. It throws> following error and I have no idea what's going on.
>
> Microsoft OLE DB Provider for SQL Server (0x80004005)
> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
> denied.
>
> Here's the code fragment:
>
> Set dbConn = Server.CreateObject("ADODB.Connection")
> dbConn.Open "Provider=SQLOLEDB;Data Source=MYCOMPUTERNAME\\MYSQL;Initial
> Catalog=Northwind;Integrated Security=SSPI"
>
> Please advice.
> Thanks!!
>
>
Tom B Guest
-
John Davis #5
Re: ASP connection to SQL Server Problem
After deleting the one slash, then it throws another error. I am using
Windows Authetication in my desktop, should I change to use SQL Server
authetication??
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
"Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...access> You have two slashes after MYCOMPUTERNAME
> "John Davis" <jrefactor@hotmail.com> wrote in message
> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...> the> > I had problem to make my ASP-ADO-SQL Server connection works. It throws> > following error and I have no idea what's going on.
> >
> > Microsoft OLE DB Provider for SQL Server (0x80004005)
> > [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist orSource=MYCOMPUTERNAME\\MYSQL;Initial> > denied.
> >
> > Here's the code fragment:
> >
> > Set dbConn = Server.CreateObject("ADODB.Connection")
> > dbConn.Open "Provider=SQLOLEDB;Data>> > Catalog=Northwind;Integrated Security=SSPI"
> >
> > Please advice.
> > Thanks!!
> >
> >
>
John Davis Guest
-
John Davis #6
Re: ASP connection to SQL Server Problem
After deleting the one slash, then it throws another error. I am using
Windows Authetication in my desktop, should I change to use SQL Server
authetication??
Microsoft OLE DB Provider for SQL Server (0x80040E4D)
??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
"Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...access> You have two slashes after MYCOMPUTERNAME
> "John Davis" <jrefactor@hotmail.com> wrote in message
> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...> the> > I had problem to make my ASP-ADO-SQL Server connection works. It throws> > following error and I have no idea what's going on.
> >
> > Microsoft OLE DB Provider for SQL Server (0x80004005)
> > [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist orSource=MYCOMPUTERNAME\\MYSQL;Initial> > denied.
> >
> > Here's the code fragment:
> >
> > Set dbConn = Server.CreateObject("ADODB.Connection")
> > dbConn.Open "Provider=SQLOLEDB;Data>> > Catalog=Northwind;Integrated Security=SSPI"
> >
> > Please advice.
> > Thanks!!
> >
> >
>
John Davis Guest
-
Bob Barrows #7
Re: ASP connection to SQL Server Problem
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
John Davis wrote:> After deleting the one slash, then it throws another error. I am using
> Windows Authetication in my desktop, should I change to use SQL Server
> authetication??
>
> Microsoft OLE DB Provider for SQL Server (0x80040E4D)
> ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>
>
> "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
> news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...>> You have two slashes after MYCOMPUTERNAME
>> "John Davis" <jrefactor@hotmail.com> wrote in message
>> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...>>> I had problem to make my ASP-ADO-SQL Server connection works. It
>>> throws the following error and I have no idea what's going on.
>>>
>>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
>>> access denied.
>>>
>>> Here's the code fragment:
>>>
>>> Set dbConn = Server.CreateObject("ADODB.Connection")
>>> dbConn.Open "Provider=SQLOLEDB;Data
>>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>>> Security=SSPI"
>>>
>>> Please advice.
>>> Thanks!!
Bob Barrows Guest
-
Bob Barrows #8
Re: ASP connection to SQL Server Problem
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
John Davis wrote:> After deleting the one slash, then it throws another error. I am using
> Windows Authetication in my desktop, should I change to use SQL Server
> authetication??
>
> Microsoft OLE DB Provider for SQL Server (0x80040E4D)
> ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>
>
> "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
> news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...>> You have two slashes after MYCOMPUTERNAME
>> "John Davis" <jrefactor@hotmail.com> wrote in message
>> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...>>> I had problem to make my ASP-ADO-SQL Server connection works. It
>>> throws the following error and I have no idea what's going on.
>>>
>>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
>>> access denied.
>>>
>>> Here's the code fragment:
>>>
>>> Set dbConn = Server.CreateObject("ADODB.Connection")
>>> dbConn.Open "Provider=SQLOLEDB;Data
>>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>>> Security=SSPI"
>>>
>>> Please advice.
>>> Thanks!!
Bob Barrows Guest
-
John Davis #9
Re: ASP connection to SQL Server Problem
Thanks, but still didn't work. I try to figure out
My both IIS and SQL Server 2000 are on the same machine. And I should start
SQL Server Service Manager, right? I guess this is common sense, but just
want to make sure.
"Bob Barrows" <reb_01501@yahoo.com> wrote in message
news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>
>
> John Davis wrote:>> > After deleting the one slash, then it throws another error. I am using
> > Windows Authetication in my desktop, should I change to use SQL Server
> > authetication??
> >
> > Microsoft OLE DB Provider for SQL Server (0x80040E4D)
> > ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
> >
> >
> > "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
> > news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...> >> You have two slashes after MYCOMPUTERNAME
> >> "John Davis" <jrefactor@hotmail.com> wrote in message
> >> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
> >>> I had problem to make my ASP-ADO-SQL Server connection works. It
> >>> throws the following error and I have no idea what's going on.
> >>>
> >>> Microsoft OLE DB Provider for SQL Server (0x80004005)
> >>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
> >>> access denied.
> >>>
> >>> Here's the code fragment:
> >>>
> >>> Set dbConn = Server.CreateObject("ADODB.Connection")
> >>> dbConn.Open "Provider=SQLOLEDB;Data
> >>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
> >>> Security=SSPI"
> >>>
> >>> Please advice.
> >>> Thanks!!
>
>
John Davis Guest
-
John Davis #10
Re: ASP connection to SQL Server Problem
Thanks, but still didn't work. I try to figure out
My both IIS and SQL Server 2000 are on the same machine. And I should start
SQL Server Service Manager, right? I guess this is common sense, but just
want to make sure.
"Bob Barrows" <reb_01501@yahoo.com> wrote in message
news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>
>
> John Davis wrote:>> > After deleting the one slash, then it throws another error. I am using
> > Windows Authetication in my desktop, should I change to use SQL Server
> > authetication??
> >
> > Microsoft OLE DB Provider for SQL Server (0x80040E4D)
> > ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
> >
> >
> > "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
> > news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...> >> You have two slashes after MYCOMPUTERNAME
> >> "John Davis" <jrefactor@hotmail.com> wrote in message
> >> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
> >>> I had problem to make my ASP-ADO-SQL Server connection works. It
> >>> throws the following error and I have no idea what's going on.
> >>>
> >>> Microsoft OLE DB Provider for SQL Server (0x80004005)
> >>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
> >>> access denied.
> >>>
> >>> Here's the code fragment:
> >>>
> >>> Set dbConn = Server.CreateObject("ADODB.Connection")
> >>> dbConn.Open "Provider=SQLOLEDB;Data
> >>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
> >>> Security=SSPI"
> >>>
> >>> Please advice.
> >>> Thanks!!
>
>
John Davis Guest
-
Bob Barrows #11
Re: ASP connection to SQL Server Problem
[email]sam1967@hetnet.nl[/email] wrote:
Just curious: why would that be relevant?> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
> <jrefactor@hotmail.com> wrote:
>> why not try it with access first and then try it with SQL Server.>> Thanks, but still didn't work. I try to figure out
>>
>> My both IIS and SQL Server 2000 are on the same machine. And I
>> should start SQL Server Service Manager, right? I guess this is
>> common sense, but just want to make sure.
>>
Bob Barrows Guest
-
Bob Barrows #12
Re: ASP connection to SQL Server Problem
[email]sam1967@hetnet.nl[/email] wrote:
Just curious: why would that be relevant?> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
> <jrefactor@hotmail.com> wrote:
>> why not try it with access first and then try it with SQL Server.>> Thanks, but still didn't work. I try to figure out
>>
>> My both IIS and SQL Server 2000 are on the same machine. And I
>> should start SQL Server Service Manager, right? I guess this is
>> common sense, but just want to make sure.
>>
Bob Barrows Guest
-
Bob Barrows #13
Re: ASP connection to SQL Server Problem
I can't offer nay advice beyond the information in the KB articles and the
aspfaq article I posted earlier. My suggestion would be to reread them very
carefully and read all the articles whose links occur in the articles. I'm
sure your answer is in there.
Bob Barrows
John Davis wrote:> Thanks, but still didn't work. I try to figure out
>
> My both IIS and SQL Server 2000 are on the same machine. And I should
> start SQL Server Service Manager, right? I guess this is common
> sense, but just want to make sure.
>
>
>
> "Bob Barrows" <reb_01501@yahoo.com> wrote in message
> news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>>
>>
>> John Davis wrote:>>> After deleting the one slash, then it throws another error. I am
>>> using Windows Authetication in my desktop, should I change to use
>>> SQL Server authetication??
>>>
>>> Microsoft OLE DB Provider for SQL Server (0x80040E4D)
>>> ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>>>
>>>
>>> "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
>>> news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...
>>>> You have two slashes after MYCOMPUTERNAME
>>>> "John Davis" <jrefactor@hotmail.com> wrote in message
>>>> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
>>>>> I had problem to make my ASP-ADO-SQL Server connection works. It
>>>>> throws the following error and I have no idea what's going on.
>>>>>
>>>>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>>>>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
>>>>> or access denied.
>>>>>
>>>>> Here's the code fragment:
>>>>>
>>>>> Set dbConn = Server.CreateObject("ADODB.Connection")
>>>>> dbConn.Open "Provider=SQLOLEDB;Data
>>>>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>>>>> Security=SSPI"
>>>>>
>>>>> Please advice.
>>>>> Thanks!!
Bob Barrows Guest
-
Bob Barrows #14
Re: ASP connection to SQL Server Problem
I can't offer nay advice beyond the information in the KB articles and the
aspfaq article I posted earlier. My suggestion would be to reread them very
carefully and read all the articles whose links occur in the articles. I'm
sure your answer is in there.
Bob Barrows
John Davis wrote:> Thanks, but still didn't work. I try to figure out
>
> My both IIS and SQL Server 2000 are on the same machine. And I should
> start SQL Server Service Manager, right? I guess this is common
> sense, but just want to make sure.
>
>
>
> "Bob Barrows" <reb_01501@yahoo.com> wrote in message
> news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>>
>>
>> John Davis wrote:>>> After deleting the one slash, then it throws another error. I am
>>> using Windows Authetication in my desktop, should I change to use
>>> SQL Server authetication??
>>>
>>> Microsoft OLE DB Provider for SQL Server (0x80040E4D)
>>> ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>>>
>>>
>>> "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
>>> news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...
>>>> You have two slashes after MYCOMPUTERNAME
>>>> "John Davis" <jrefactor@hotmail.com> wrote in message
>>>> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
>>>>> I had problem to make my ASP-ADO-SQL Server connection works. It
>>>>> throws the following error and I have no idea what's going on.
>>>>>
>>>>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>>>>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
>>>>> or access denied.
>>>>>
>>>>> Here's the code fragment:
>>>>>
>>>>> Set dbConn = Server.CreateObject("ADODB.Connection")
>>>>> dbConn.Open "Provider=SQLOLEDB;Data
>>>>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>>>>> Security=SSPI"
>>>>>
>>>>> Please advice.
>>>>> Thanks!!
Bob Barrows Guest
-
Dan Brussee #15
Re: ASP connection to SQL Server Problem
In article <s0ucjvsjoi0bqlmbdu0cc559s0cs43c0o9@4ax.com>, sam1967
@hetnet.nl says...I see your desire to work in a less restrictive environment first, but> On Sun, 10 Aug 2003 10:50:41 -0400, "Bob Barrows"
> <reb_01501@yahoo.com> wrote:
>> i have built a few simple ASP applications and have ported them> >sam1967@hetnet.nl wrote:> >> >> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
> >> <jrefactor@hotmail.com> wrote:
> >>
> >>> Thanks, but still didn't work. I try to figure out
> >>>
> >>> My both IIS and SQL Server 2000 are on the same machine. And I
> >>> should start SQL Server Service Manager, right? I guess this is
> >>> common sense, but just want to make sure.
> >>>
> >> why not try it with access first and then try it with SQL Server.
> >Just curious: why would that be relevant?
> >
> between SQL and access and the other way.
> i often found it useful to workon an access database first because of
> simplified security and then port it over to SQL Server.
> just an idea.
>
assuming you know you are going to SQL Server anyway, why not just get
the connection string right up front and be done with it? You can still
use Access to see the SQL Server database and even use it's Query
Designer if you need to. Just make a link to the SQL Database in Access.
You can even write stored procedures, etc.
--
Remove NOT from email address to reply. AntiSpam in action.
Dan Brussee Guest
-
Dan Brussee #16
Re: ASP connection to SQL Server Problem
In article <s0ucjvsjoi0bqlmbdu0cc559s0cs43c0o9@4ax.com>, sam1967
@hetnet.nl says...I see your desire to work in a less restrictive environment first, but> On Sun, 10 Aug 2003 10:50:41 -0400, "Bob Barrows"
> <reb_01501@yahoo.com> wrote:
>> i have built a few simple ASP applications and have ported them> >sam1967@hetnet.nl wrote:> >> >> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
> >> <jrefactor@hotmail.com> wrote:
> >>
> >>> Thanks, but still didn't work. I try to figure out
> >>>
> >>> My both IIS and SQL Server 2000 are on the same machine. And I
> >>> should start SQL Server Service Manager, right? I guess this is
> >>> common sense, but just want to make sure.
> >>>
> >> why not try it with access first and then try it with SQL Server.
> >Just curious: why would that be relevant?
> >
> between SQL and access and the other way.
> i often found it useful to workon an access database first because of
> simplified security and then port it over to SQL Server.
> just an idea.
>
assuming you know you are going to SQL Server anyway, why not just get
the connection string right up front and be done with it? You can still
use Access to see the SQL Server database and even use it's Query
Designer if you need to. Just make a link to the SQL Database in Access.
You can even write stored procedures, etc.
--
Remove NOT from email address to reply. AntiSpam in action.
Dan Brussee Guest
-
sam1967@hetnet.nl #17
Re: ASP connection to SQL Server Problem
On Sun, 10 Aug 2003 17:41:27 GMT, Dan Brussee
<dbrussee@NOTbetterwaycomputing.com> wrote:
fair point. i dont do this full time but it looks as though i may be>In article <s0ucjvsjoi0bqlmbdu0cc559s0cs43c0o9@4ax.com>, sam1967
>@hetnet.nl says...>>> On Sun, 10 Aug 2003 10:50:41 -0400, "Bob Barrows"
>> <reb_01501@yahoo.com> wrote:
>>>> i have built a few simple ASP applications and have ported them>> >sam1967@hetnet.nl wrote:
>> >> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
>> >> <jrefactor@hotmail.com> wrote:
>> >>
>> >>> Thanks, but still didn't work. I try to figure out
>> >>>
>> >>> My both IIS and SQL Server 2000 are on the same machine. And I
>> >>> should start SQL Server Service Manager, right? I guess this is
>> >>> common sense, but just want to make sure.
>> >>>
>> >> why not try it with access first and then try it with SQL Server.
>> >
>> >Just curious: why would that be relevant?
>> >
>> between SQL and access and the other way.
>> i often found it useful to workon an access database first because of
>> simplified security and then port it over to SQL Server.
>> just an idea.
>>
>I see your desire to work in a less restrictive environment first, but
>assuming you know you are going to SQL Server anyway, why not just get
>the connection string right up front and be done with it? You can still
>use Access to see the SQL Server database and even use it's Query
>Designer if you need to. Just make a link to the SQL Database in Access.
>You can even write stored procedures, etc.
doing a lot more of it in the near future.
sam1967@hetnet.nl Guest
-
sam1967@hetnet.nl #18
Re: ASP connection to SQL Server Problem
On Sun, 10 Aug 2003 17:41:27 GMT, Dan Brussee
<dbrussee@NOTbetterwaycomputing.com> wrote:
fair point. i dont do this full time but it looks as though i may be>In article <s0ucjvsjoi0bqlmbdu0cc559s0cs43c0o9@4ax.com>, sam1967
>@hetnet.nl says...>>> On Sun, 10 Aug 2003 10:50:41 -0400, "Bob Barrows"
>> <reb_01501@yahoo.com> wrote:
>>>> i have built a few simple ASP applications and have ported them>> >sam1967@hetnet.nl wrote:
>> >> On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
>> >> <jrefactor@hotmail.com> wrote:
>> >>
>> >>> Thanks, but still didn't work. I try to figure out
>> >>>
>> >>> My both IIS and SQL Server 2000 are on the same machine. And I
>> >>> should start SQL Server Service Manager, right? I guess this is
>> >>> common sense, but just want to make sure.
>> >>>
>> >> why not try it with access first and then try it with SQL Server.
>> >
>> >Just curious: why would that be relevant?
>> >
>> between SQL and access and the other way.
>> i often found it useful to workon an access database first because of
>> simplified security and then port it over to SQL Server.
>> just an idea.
>>
>I see your desire to work in a less restrictive environment first, but
>assuming you know you are going to SQL Server anyway, why not just get
>the connection string right up front and be done with it? You can still
>use Access to see the SQL Server database and even use it's Query
>Designer if you need to. Just make a link to the SQL Database in Access.
>You can even write stored procedures, etc.
doing a lot more of it in the near future.
sam1967@hetnet.nl Guest
-
Jeff Cochran #19
Re: ASP connection to SQL Server Problem
Can you access SQL Server through the Query Analyzer or Enterpirse
Manager?
Read the KB articles Bob posted, they're pretty much the entire SQL
connection nuts and bolts. Plus, post the *exact* error messages,
when you tell us "it still didn't work" there's not much help we can
point you to.
Jeff
On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
<jrefactor@hotmail.com> wrote:
>Thanks, but still didn't work. I try to figure out
>
>My both IIS and SQL Server 2000 are on the same machine. And I should start
>SQL Server Service Manager, right? I guess this is common sense, but just
>want to make sure.
>
>
>
>"Bob Barrows" <reb_01501@yahoo.com> wrote in message
>news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...>>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>>
>>
>> John Davis wrote:>>>> > After deleting the one slash, then it throws another error. I am using
>> > Windows Authetication in my desktop, should I change to use SQL Server
>> > authetication??
>> >
>> > Microsoft OLE DB Provider for SQL Server (0x80040E4D)
>> > ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>> >
>> >
>> > "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
>> > news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...
>> >> You have two slashes after MYCOMPUTERNAME
>> >> "John Davis" <jrefactor@hotmail.com> wrote in message
>> >> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
>> >>> I had problem to make my ASP-ADO-SQL Server connection works. It
>> >>> throws the following error and I have no idea what's going on.
>> >>>
>> >>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>> >>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
>> >>> access denied.
>> >>>
>> >>> Here's the code fragment:
>> >>>
>> >>> Set dbConn = Server.CreateObject("ADODB.Connection")
>> >>> dbConn.Open "Provider=SQLOLEDB;Data
>> >>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>> >>> Security=SSPI"
>> >>>
>> >>> Please advice.
>> >>> Thanks!!
>>
>>Jeff Cochran Guest
-
Jeff Cochran #20
Re: ASP connection to SQL Server Problem
Can you access SQL Server through the Query Analyzer or Enterpirse
Manager?
Read the KB articles Bob posted, they're pretty much the entire SQL
connection nuts and bolts. Plus, post the *exact* error messages,
when you tell us "it still didn't work" there's not much help we can
point you to.
Jeff
On Sat, 9 Aug 2003 19:17:17 -0700, "John Davis"
<jrefactor@hotmail.com> wrote:
>Thanks, but still didn't work. I try to figure out
>
>My both IIS and SQL Server 2000 are on the same machine. And I should start
>SQL Server Service Manager, right? I guess this is common sense, but just
>want to make sure.
>
>
>
>"Bob Barrows" <reb_01501@yahoo.com> wrote in message
>news:OwXTgutXDHA.2424@TK2MSFTNGP12.phx.gbl...>>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;176379[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;253500[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;247931[/url]
>> [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;279526[/url]
>>
>>
>> John Davis wrote:>>>> > After deleting the one slash, then it throws another error. I am using
>> > Windows Authetication in my desktop, should I change to use SQL Server
>> > authetication??
>> >
>> > Microsoft OLE DB Provider for SQL Server (0x80040E4D)
>> > ??? 'MYCOMPUTER\IUSR_MYCOMPUTER' ??????
>> >
>> >
>> > "Tom B" <shuckle@NOSPAMhotmail.com> wrote in message
>> > news:uD5fCKtXDHA.1736@TK2MSFTNGP10.phx.gbl...
>> >> You have two slashes after MYCOMPUTERNAME
>> >> "John Davis" <jrefactor@hotmail.com> wrote in message
>> >> news:%232wWCIrXDHA.2620@TK2MSFTNGP09.phx.gbl...
>> >>> I had problem to make my ASP-ADO-SQL Server connection works. It
>> >>> throws the following error and I have no idea what's going on.
>> >>>
>> >>> Microsoft OLE DB Provider for SQL Server (0x80004005)
>> >>> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
>> >>> access denied.
>> >>>
>> >>> Here's the code fragment:
>> >>>
>> >>> Set dbConn = Server.CreateObject("ADODB.Connection")
>> >>> dbConn.Open "Provider=SQLOLEDB;Data
>> >>> Source=MYCOMPUTERNAME\\MYSQL;Initial Catalog=Northwind;Integrated
>> >>> Security=SSPI"
>> >>>
>> >>> Please advice.
>> >>> Thanks!!
>>
>>Jeff Cochran Guest



Reply With Quote

