Connecting Tech Pros Worldwide Help | Site Map

Error in ASP...Reply ASAP

  #1  
Old March 19th, 2008, 04:05 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
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
  #2  
Old March 19th, 2008, 06:19 PM
DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930

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
  #3  
Old March 20th, 2008, 04:27 PM
Newbie
 
Join Date: Mar 2008
Posts: 9

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...
  #4  
Old July 1st, 2009, 09:45 AM
Newbie
 
Join Date: Jun 2009
Posts: 1

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetching & Inserting Data into a column of TEXT Data type in SQL server 2000 Using ASP.NET Bhavesh answers 5 July 18th, 2007 08:45 AM
Fetching & Inserting Data into a column of TEXT Data type in SQL server 2000 Using ASP.NET Bhavesh answers 1 July 17th, 2007 10:15 AM
Problem while Fetching Text type of DATA in ASP.NET Bhavesh answers 1 July 17th, 2007 10:15 AM
POST data from aspx page to asp page MOUSTAFA ARAFA answers 2 October 6th, 2006 12:35 PM