Connecting Tech Pros Worldwide Forums | Help | Site Map

Error in ASP...Reply ASAP

Newbie
 
Join Date: Mar 2008
Posts: 9
#1: Mar 19 '08
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_crtAP_HHSTU_001.asp, line 187
End If

Thanks
DND

DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#2: Mar 19 '08

re: Error in ASP...Reply ASAP


Quote:

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_crtAP_HHSTU_001.asp, 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
Newbie
 
Join Date: Mar 2008
Posts: 9
#3: Mar 20 '08

re: Error in ASP...Reply ASAP


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.DoRunSP()>Microsoft OLE DB Provider for SQL ServerclsCOMPHOHLD - SaveStudentInfo (0x80040E14)
Household Component Call Fails: SaveStudentInfo - clsCOMPHOHLD - SaveStudentInfo - (ApplicationNumber - 9000218 ) Error Desc: Invalid length parameter passed to the substring function. SPName=USP_UPD_STUD_INFO_EXT, Parameters: Param0 = 9000218; Param1 = 9000236~NO~NO~NO~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.Form("btn_Continue")) <> 0 then
Call DoValidate()

Call DoContinueDblClick("")
---LINE 126--Response.Redirect m_objHousehold.SaveStudentInfo()--LINE 126--
If Err.number <> 0 then
Call DoLogError()
Response.End
End if


Thanks
Chaitanya...
Newbie
 
Join Date: Jun 2009
Posts: 1
#4: Jul 1 '09

re: Error in ASP...Reply ASAP


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


Quote:

Originally Posted by dotnetdev1 View Post

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.DoRunSP()>Microsoft OLE DB Provider for SQL ServerclsCOMPHOHLD - SaveStudentInfo (0x80040E14)
Household Component Call Fails: SaveStudentInfo - clsCOMPHOHLD - SaveStudentInfo - (ApplicationNumber - 9000218 ) Error Desc: Invalid length parameter passed to the substring function. SPName=USP_UPD_STUD_INFO_EXT, Parameters: Param0 = 9000218; Param1 = 9000236~NO~NO~NO~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.Form("btn_Continue")) <> 0 then
Call DoValidate()

Call DoContinueDblClick("")
---LINE 126--Response.Redirect m_objHousehold.SaveStudentInfo()--LINE 126--
If Err.number <> 0 then
Call DoLogError()
Response.End
End if


Thanks
Chaitanya...

Reply