Problem moving from IIS5 to 4

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

  1. #1

    Default Problem moving from IIS5 to 4

    Hi there,

    I've recently developed a fairly simple site to start learning ASP. I
    developed the site on a windows 2000 machine with IIS5 and MSDE, and it all
    appears to be working fine.

    I then tried to move the site to my server, which is an NT4 box running IIS4
    and MSDE. The database appeared to import to the server from the
    development machine fine, but whenever I try to view a page from the server
    I get the error message :

    Microsoft VBScript runtime error '800a01b6'
    Object doesn't support this property or method: 'open'
    /shownewest.asp, line 27

    I believe the code that causes the problem is fine as it works on the other
    machine, and the database has the exact same name and location on the server
    as on the development machine:

    Dim strConnect, objConn, objRS, objCommand
    strConnect ="Provider=SQLOLEDB;Persist Security Info=False;" &_
    "User ID=sa;Initial Catalog=reports;" &_
    "initial File Name=c:\mssql7\data\reports.mdf"
    set objConn = server.CreateObject("ADODB.Connection")
    set objRS = server.CreateObject("ADODB.Recordset")
    set objCommand = server.CreateObject("ADODB.Command")
    objConn.open = strConnect

    Any ideas what the problem is? Am I using something thats not supported in
    IIS4, or is it more likely to be a configuration error on my server?

    Thanks

    Phil


    Phil Guest

  2. Similar Questions and Discussions

    1. model moving problem
      Hi, I have a shockwave 3D world that has a character that I control with the arrow keys as follows: up - moves character forward down - moves...
    2. asp problem in IIS5.1
      Hi All, I have windows XP with IIS 5.1. My IIS is working fine with HTML Pages.but it is not working with ASP pages. if i select a .html file as...
    3. IIS5/Oracle 8.1.7 Problem
      We use a third party ASP application on IIS5/MDAC 2.7/Oracle 8.1.7 which has recently begun periodically bogging down. These periods are marked...
    4. Problem moving rigidbodies
      I have a sample file that illustrates a problem we are having up at http://chartermi.net/~ekauffmann/grpTransform.dir . If a RB's position is...
    5. Problem with authentication when using Windows XP in IIS5
      I have a page that authenticates users by reading Request.ServerVariables("AUTH_USER") and Request.ServerVariables("AUTH_TYPE"). When users try to...
  3. #2

    Default Re: Problem moving from IIS5 to 4

    Should this -
    objConn.open = strConnect

    Be this -
    objConn.open strConnect

    Bob Lehmann

    "Phil" <don't@even.think.about.it> wrote in message
    news:3f3d3a42$0$11377$cc9e4d1f@news.dial.pipex.com ...
    > Hi there,
    >
    > I've recently developed a fairly simple site to start learning ASP. I
    > developed the site on a windows 2000 machine with IIS5 and MSDE, and it
    all
    > appears to be working fine.
    >
    > I then tried to move the site to my server, which is an NT4 box running
    IIS4
    > and MSDE. The database appeared to import to the server from the
    > development machine fine, but whenever I try to view a page from the
    server
    > I get the error message :
    >
    > Microsoft VBScript runtime error '800a01b6'
    > Object doesn't support this property or method: 'open'
    > /shownewest.asp, line 27
    >
    > I believe the code that causes the problem is fine as it works on the
    other
    > machine, and the database has the exact same name and location on the
    server
    > as on the development machine:
    >
    > Dim strConnect, objConn, objRS, objCommand
    > strConnect ="Provider=SQLOLEDB;Persist Security Info=False;" &_
    > "User ID=sa;Initial Catalog=reports;" &_
    > "initial File Name=c:\mssql7\data\reports.mdf"
    > set objConn = server.CreateObject("ADODB.Connection")
    > set objRS = server.CreateObject("ADODB.Recordset")
    > set objCommand = server.CreateObject("ADODB.Command")
    > objConn.open = strConnect
    >
    > Any ideas what the problem is? Am I using something thats not supported in
    > IIS4, or is it more likely to be a configuration error on my server?
    >
    > Thanks
    >
    > Phil
    >
    >

    Bob Lehmann Guest

  4. #3

    Default Re: Problem moving from IIS5 to 4

    "Bob Lehmann" <bob@activeinet.com> wrote in message
    news:OEqx2P3YDHA.2648@TK2MSFTNGP09.phx.gbl...
    > Should this -
    > objConn.open = strConnect
    >
    > Be this -
    > objConn.open strConnect
    Yes, of course it should. Now I'm a bit confused as to why it works on my
    development machine, but never mind, I won't dwell on it.

    Thanks



    Phil 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