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

  1. #1

    Default ODBC Problem!

    I have just installed a new IIS Server and implemented
    security restrictions on it using the IIS Lockdown tool.

    I am now getting an Internat Server Error 500 when I try
    and open the site even though when I test the ODBC
    connection in the ODBC administrator it works fine. Can
    anyone tell me what this might be!

    It the asp page loads fine as long as I don't connect to
    the database.

    Thanks for any help!
    MyaTiX Guest

  2. Similar Questions and Discussions

    1. FoxPro ODBC problem
      Hank, We have similar problems. Our traffic load is relativley heavy and we have to reboot the server sometims 3 or 4 times a day. We haven't...
    2. ODBC Problem
      Hi I get this error " Warning: SQL error: '' is not a valid name. Make sure that it does not include invalid characters or punctuation and that...
    3. ado and odbc problem
      I install a update to date ODBC and running following code to connect with DSN and get following error. My server binds with 2 IP and hosts 2...
    4. Problem with OLEDB over ODBC
      I have an asp page used to access data from an access database. When I use the following as connection string (OLEDB)...
    5. Win32::ODBC problem
      I'm getting lots of "Use of uninitialized value in array element at C:/Perl/lib/Win32/ODBC.pm line 256." It seems that each matching row in the...
  3. #2

    Default Re: ODBC Problem!

    First find out what the error is.
    [url]http://www.aspfaq.com/2109[/url]

    Ray at work

    "MyaTiX" <bloggs@hotmail.com> wrote in message
    news:0c2401c3619a$a8f51e00$a601280a@phx.gbl...
    > I am now getting an Internat Server Error 500

    Ray at Guest

  4. #3

    Default Re: ODBC Problem!

    Don't use a DSN, and instead, use a connection string as such:

    objYourADODBConnectionObject.Open ""Provider=sqloledb;Data
    Source=YourSQLServer;Initial Catalog=YourDatabase;User
    Id=SQLUsername;Password=ThePassword;"
    ([url]www.connectionstrings.com[/url])

    Or, if you cannot use a SQL login and have to use NT authentication, see
    here. [url]http://support.microsoft.com/?id=306586[/url]

    Your ODBC connection that works fine when you're logged in is using your
    credentials.

    Ray at work


    "MyaTiX" <bloggs@hotmail.com> wrote in message
    news:0caa01c3619f$c74ecb30$a601280a@phx.gbl...
    > I recieve the following error!
    >
    > ODBC_SQL_Server_Driver][SQL_Server]
    > Login_failed_for_user_'(null)'._Reason:_Not_associ ated_with
    > _a_trusted_SQL_Server_connection.
    >
    > I presume this means I need to give the IUSR account
    > access writes to odbc in some way!
    >
    > How do I solve this error?
    >
    > Thanks!
    >

    Ray at 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