Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. object expected

object expected

Scheduled Pinned Locked Moved JavaScript
javasysadminwindows-admintoolshelp
10 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ankit Aneja
    wrote on last edited by
    #1

    Hi All One ASP application is deployed on windows server 2003 sp2 and running fine but when I deployed the copy of it on other server ie windows server 2003r2 it is givng error object expected some dll's are to be registered which i registered default page gets displayed but when trying to login after login menu doesn't get displayed which are created through some java script functions which are written in .inc file Pls give some suggestions to resolve

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    D 1 Reply Last reply
    0
    • A Ankit Aneja

      Hi All One ASP application is deployed on windows server 2003 sp2 and running fine but when I deployed the copy of it on other server ie windows server 2003r2 it is givng error object expected some dll's are to be registered which i registered default page gets displayed but when trying to login after login menu doesn't get displayed which are created through some java script functions which are written in .inc file Pls give some suggestions to resolve

      Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      code snippet required with offending line that is raising the exception would help!

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      modified on Sunday, June 12, 2011 3:45 AM

      A 2 Replies Last reply
      0
      • D DaveAuld

        code snippet required with offending line that is raising the exception would help!

        Dave Find Me On: Web|Facebook|Twitter|LinkedIn


        Folding Stats: Team CodeProject

        modified on Sunday, June 12, 2011 3:45 AM

        A Offline
        A Offline
        Ankit Aneja
        wrote on last edited by
        #3

        dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135

        Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

        D T 2 Replies Last reply
        0
        • D DaveAuld

          code snippet required with offending line that is raising the exception would help!

          Dave Find Me On: Web|Facebook|Twitter|LinkedIn


          Folding Stats: Team CodeProject

          modified on Sunday, June 12, 2011 3:45 AM

          A Offline
          A Offline
          Ankit Aneja
          wrote on last edited by
          #4

          if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") strSql = "Select user_mast.*, usergroup_mast.group_name, usergroup_mast.allow_add, usergroup_mast.allow_edit, allow_delete " & _ "from USER_MAST, usergroup_mast " & _ "where user_mast.USER_CODE='" & strLogin & "' and " & _ "user_mast.USER_PWD='" & strPassword & "' and " & _ "usergroup_mast.user_group =* user_mast.user_group " dim Obj set Obj = server.CreateObject("prjCLP.clsCLPUtility") Set rsLogin = Obj.runSqlReturnRs(strSql) where prjCLP.clsCLPUtility is dll that i have registered

          Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

          1 Reply Last reply
          0
          • A Ankit Aneja

            dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135

            Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

            D Offline
            D Offline
            DaveAuld
            wrote on last edited by
            #5

            That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]

            Dave Find Me On: Web|Facebook|Twitter|LinkedIn


            Folding Stats: Team CodeProject

            T A 2 Replies Last reply
            0
            • A Ankit Aneja

              dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135

              Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

              T Offline
              T Offline
              thatraja
              wrote on last edited by
              #6

              Ankit Aneja wrote:

              /Clp/Login.asp, line 135

              show the code of 135th line.

              thatraja


              **My Tip/Tricks
              My Dad had a Heart Attack on this day so don't...
              **

              A 1 Reply Last reply
              0
              • D DaveAuld

                That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]

                Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                Folding Stats: Team CodeProject

                T Offline
                T Offline
                thatraja
                wrote on last edited by
                #7

                Good site Dave(2nd one).:thumbsup:

                thatraja


                **My Tip/Tricks
                My Dad had a Heart Attack on this day so don't...
                **

                1 Reply Last reply
                0
                • T thatraja

                  Ankit Aneja wrote:

                  /Clp/Login.asp, line 135

                  show the code of 135th line.

                  thatraja


                  **My Tip/Tricks
                  My Dad had a Heart Attack on this day so don't...
                  **

                  A Offline
                  A Offline
                  Ankit Aneja
                  wrote on last edited by
                  #8

                  set Obj = server.CreateObject("prjCLP.clsCLPUtility") but i had already registered this dll

                  Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

                  1 Reply Last reply
                  0
                  • D DaveAuld

                    That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]

                    Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                    Folding Stats: Team CodeProject

                    A Offline
                    A Offline
                    Ankit Aneja
                    wrote on last edited by
                    #9

                    problem was due to db connection now login is getting successful but i am getting error on below left corner of ie8 on double clicking it it is saying object requested and impact is when clicking menu it is not generating sub menu somew js or some configuration prob need more suggestions thanks a lot in advance

                    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

                    L 1 Reply Last reply
                    0
                    • A Ankit Aneja

                      problem was due to db connection now login is getting successful but i am getting error on below left corner of ie8 on double clicking it it is saying object requested and impact is when clicking menu it is not generating sub menu somew js or some configuration prob need more suggestions thanks a lot in advance

                      Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      That seems to be a JavaScript error. If your menus are driven by JavaScript, they won't work after a JavaScript error occurs.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups