无法读取子报表中的下一个数据行错误

时间:2016-05-13 11:11:31

标签: sql reporting-services dataset ssrs-2008 subreport

我有一个单独运行的报告,但当作为子报告包含时会抛出这个错误:

  

报告处理期间发生错误。 (rsProcessingAborted)   无法读取数据集PersonalDetails的下一个数据行。   (rsErrorReadingNextDataRow)有关此错误的详细信息   导航到本地服务器计算机上的报表服务器,或启用   远程错误

数据集:

SELECT  CAST(College_Year AS VARCHAR(10)) as CollYear
,[Photo_File_Name],[Learner_ID]
,[Gender],[Surname],[Forename_1],[Forename_2]
,[Learner_Date_Of_Birth],[Age],[AgeAt31Aug]
,[AgeGroup],[Title],[Ethnicity_Code]
,[Ethnicity],[Disability_Code],[Disability]
,[Learning_Difficulty_code],[Learning_Difficulty],[learner_Status]
,[Student_Addr_1],[Address_Locale],[Address_Town]
,[Address_County],[Post_Code],[Student_Home_Address]
,[Mobile_Number],[Home_Telephone],[Tutor]
,[Tutor_Name],[Tutor_Department],[EMA]
,[ALG],[Drop_Out_Status],[ALS_Cost]
,[School_Code],[School_Name],[Staff]
,[New_Learner],[Prior_Attain_Level],[Decesed]
,[Drop_Out_Date],[Record_Created],[Status_Drop_Out_Code]
,[Post_Code_DU_Uplift],[UCI_Number_S19],[DU_Code]
,[DU_Factor],[Main_Qualification],[Main_Qualification_Code]
,[Enhanced_Funding_L28a],[Nationality_Code],[Nationality]
,[About_Courses],[For_surveys],[Contact_Override]
,[By_post],[By_Telephone],[By_email]
,[NI_Number],[ULN],[L14]
,[Registered_disabled],[ALS_Asses],[Pastor_Tutor]
,[Pastor_Tutor_Title],[Pastor_Tutor_Name],[Date_Entered_the_UK]
,[L29],[Is_Staff],[Enrol_Status]
,[Texting_OptOut],[Learner_email_address],[Learning_Assessment_139A]
,[LDDPH_Health_Prob],[English_1St_Lang]
  FROM [NG].[dbo].[IM_ST_Students_vw]
where 
learner_ID = @learner_ID order by CAST(College_Year AS VARCHAR(10)) desc

感谢任何帮助。

谢谢, 的Ar

0 个答案:

没有答案