ASP connection to SQL Server Problem

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Re: ASP connection to SQL Server Problem

    John Davis wrote:
    > 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!!
    Start here:
    [url]http://www.aspfaq.com/show.asp?id=2009[/url]

    HTH,
    Bob Barrows


    Bob Barrows Guest

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: ASP connection to SQL Server Problem

    John Davis wrote:
    > 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!!
    Start here:
    [url]http://www.aspfaq.com/show.asp?id=2009[/url]

    HTH,
    Bob Barrows


    Bob Barrows Guest

  4. #3

    Default 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...
    > 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!!
    >
    >

    Tom B Guest

  5. #4

    Default 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...
    > 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!!
    >
    >

    Tom B Guest

  6. #5

    Default 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...
    > 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

  7. #6

    Default 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...
    > 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

  8. #7

    Default 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

  9. #8

    Default 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

  10. #9

    Default 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

  11. #10

    Default 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

  12. #11

    Default Re: ASP connection to SQL Server Problem

    [email]sam1967@hetnet.nl[/email] 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?


    Bob Barrows Guest

  13. #12

    Default Re: ASP connection to SQL Server Problem

    [email]sam1967@hetnet.nl[/email] 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?


    Bob Barrows Guest

  14. #13

    Default 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

  15. #14

    Default 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

  16. #15

    Default Re: ASP connection to SQL Server Problem

    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:
    >
    > >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?
    > >
    > i have built a few simple ASP applications and have ported them
    > 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.


    --

    Remove NOT from email address to reply. AntiSpam in action.
    Dan Brussee Guest

  17. #16

    Default Re: ASP connection to SQL Server Problem

    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:
    >
    > >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?
    > >
    > i have built a few simple ASP applications and have ported them
    > 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.


    --

    Remove NOT from email address to reply. AntiSpam in action.
    Dan Brussee Guest

  18. #17

    Default Re: ASP connection to SQL Server Problem

    On Sun, 10 Aug 2003 17:41:27 GMT, Dan Brussee
    <dbrussee@NOTbetterwaycomputing.com> wrote:
    >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:
    >>
    >> >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?
    >> >
    >> i have built a few simple ASP applications and have ported them
    >> 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.
    fair point. i dont do this full time but it looks as though i may be
    doing a lot more of it in the near future.

    sam1967@hetnet.nl Guest

  19. #18

    Default Re: ASP connection to SQL Server Problem

    On Sun, 10 Aug 2003 17:41:27 GMT, Dan Brussee
    <dbrussee@NOTbetterwaycomputing.com> wrote:
    >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:
    >>
    >> >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?
    >> >
    >> i have built a few simple ASP applications and have ported them
    >> 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.
    fair point. i dont do this full time but it looks as though i may be
    doing a lot more of it in the near future.

    sam1967@hetnet.nl Guest

  20. #19

    Default 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

  21. #20

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139