Click here to Skip to main content
15,906,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts,
I have one ssrs report with one parameter @start date, its working fine in local system. but after hosting in iis7 its giving error like if i pass the value also
C#
------------------------------------------------------------------
The 'StartDate' parameter is missing a value
Microsoft.Reporting.WebForms.ReportServerException: The value provided for the report parameter 'StartDate' is not valid for its type. (rsReportParameterTypeMismatch) at Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e) at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod) at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.SetExecutionParameters(ParameterValue[] Parameters, String ParameterLanguage) at Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) at Lok_Reports.GeneratingReport.Report_Pending_Case(ReportViewer rpt, String rptName, String startDate, Label lblError) in F:\Lok_Reports\Lok_Reports\GeneratingReport.cs:line 105
---------------------------------------------------------------------------------------
Posted
Updated 2-Jul-14 22:18pm
v3
Comments
skydger 30-May-14 5:34am    
What format expects your ssrs report? Have you checked localization of hosting database and your local database?
Keerthi Kumar(Andar) 30-May-14 5:41am    
Hi skydger,

Presently am passing in MM/dd/yyyy format some reports are working by this format... some are not working. how to check localization of hosting database??
skydger 30-May-14 8:19am    
Consider to use CONVERT to specific format at procedure like CONVERT(datetime, @start_date, 101). This should prevent your procedure from wrong datetime conversions on any localization.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900