Error in ASP...Reply ASAP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dotnetdev1
    New Member
    • Mar 2008
    • 9

    Error in ASP...Reply ASAP

    Hi Friends,
    I am stuck with the following error..Please help me..
    The Line 187 is....<% End If ....Actually I tought that the tag was missing but...I tried by adding the tag at the end of End If but..still My problemwas not solved...Please help..

    Error Type:
    Microsoft VBScript compilation (0x800A0400)
    Expected statement
    /assistdev/INCLUDES/GEN_INCLUDES/DSB_EN_HHSTU_cr tAP_HHSTU_001.a sp, line 187
    End If

    Thanks
    DND
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Originally posted by dotnetdev1
    Hi Friends,
    I am stuck with the following error..Please help me..
    The Line 187 is....<% End If ....Actually I tought that the tag was missing but...I tried by adding the tag at the end of End If but..still My problemwas not solved...Please help..

    Error Type:
    Microsoft VBScript compilation (0x800A0400)
    Expected statement
    /assistdev/INCLUDES/GEN_INCLUDES/DSB_EN_HHSTU_cr tAP_HHSTU_001.a sp, line 187
    End If

    Thanks
    DND
    Hi there,

    Can you print some more of your code please namely a few lines before and after line 187. I would guess that you've left out a closing asp tag (%>) but you say you've checked that already.

    Dr B

    Comment

    • dotnetdev1
      New Member
      • Mar 2008
      • 9

      #3
      Hi friend,
      Thanks for your reply...I am done with that error..But Now I am facing another error when I am continuing to next page please help me with this

      The Error is as follows:

      Error Type:
      DataAccessV2_2. clsFWDAC.DoRunS P()>Microsoft OLE DB Provider for SQL ServerclsCOMPHO HLD - SaveStudentInfo (0x80040E14)
      Household Component Call Fails: SaveStudentInfo - clsCOMPHOHLD - SaveStudentInfo - (ApplicationNum ber - 9000218 ) Error Desc: Invalid length parameter passed to the substring function. SPName=USP_UPD_ STUD_INFO_EXT, Parameters: Param0 = 9000218; Param1 = 9000236~NO~NO~N O~NO|9000240~NO ~NO~NO~NO; Param2 = HHSTU;
      /assistdev/PGM/ASP/HHSTU.asp, line 126

      And The Code in Line 126 is as follows:

      If Len(Request.For m("btn_Continue ")) <> 0 then
      Call DoValidate()

      Call DoContinueDblCl ick("")
      ---LINE 126--Response.Redire ct m_objHousehold. SaveStudentInfo ()--LINE 126--
      If Err.number <> 0 then
      Call DoLogError()
      Response.End
      End if


      Thanks
      Chaitanya...

      Comment

      • rennuk
        New Member
        • Jun 2009
        • 1

        #4
        Hi there, was interested to know how you were done with this error, I am having the same problem, how did you resolve this?

        Regards


        Originally posted by dotnetdev1
        Hi friend,
        Thanks for your reply...I am done with that error..But Now I am facing another error when I am continuing to next page please help me with this

        The Error is as follows:

        Error Type:
        DataAccessV2_2. clsFWDAC.DoRunS P()>Microsoft OLE DB Provider for SQL ServerclsCOMPHO HLD - SaveStudentInfo (0x80040E14)
        Household Component Call Fails: SaveStudentInfo - clsCOMPHOHLD - SaveStudentInfo - (ApplicationNum ber - 9000218 ) Error Desc: Invalid length parameter passed to the substring function. SPName=USP_UPD_ STUD_INFO_EXT, Parameters: Param0 = 9000218; Param1 = 9000236~NO~NO~N O~NO|9000240~NO ~NO~NO~NO; Param2 = HHSTU;
        /assistdev/PGM/ASP/HHSTU.asp, line 126

        And The Code in Line 126 is as follows:

        If Len(Request.For m("btn_Continue ")) <> 0 then
        Call DoValidate()

        Call DoContinueDblCl ick("")
        ---LINE 126--Response.Redire ct m_objHousehold. SaveStudentInfo ()--LINE 126--
        If Err.number <> 0 then
        Call DoLogError()
        Response.End
        End if


        Thanks
        Chaitanya...

        Comment

        Working...