Click here to Skip to main content
15,902,275 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Sir,
I have used the RDLC reporting and it works fine when i run it on local but after uploading on IIS server it shows an error means he doesnt find this rdlc file


Error Message :
An error occurred during local report processing.
The report definition for report C:\Inetpub\wwwroot\TestPayRoll\Reports\SalarySlip.rdlc has not been specified
Could not find file C:\Inetpub\wwwroot\TestPayRoll\Reports\SalarySlip.rdlc
Posted
Comments
ZurdoDev 14-Aug-13 7:31am    
Did you upload the rdl through SSRS?
Sushil Mate 14-Aug-13 7:33am    
Try creating path on server by Server.Mappath[^]

1 solution

Hi,

This seems to be a problem with the path of the report that is being referred. Check for the path and license as well. Check for the file locations some files might be missing there.

Thanks
 
Share this answer
 
v2
Comments
yogeshkansete 14-Aug-13 7:58am    
But it works when run it on local and may be RDLC doesnt need any kind of license.
yogeshkansete 14-Aug-13 8:00am    
yes i already used
ReportViewer1.LocalReport.ReportPath = Server.MapPath("SalarySlip.rdlc");
yogeshkansete 14-Aug-13 8:31am    
Just i have seen after publishing my application, SalarySlip.rdlc files gets off from the folder so i put the SalarySlip.rdlc in that folder and it shows report.
[no name] 14-Aug-13 9:00am    
Great. If it resolved the issue that you were facing then accept the solution.
yogeshkansete 16-Aug-13 2:17am    
Yes it resolve but now my question is that after publishing my application, why this RDLC files are getting invisible because of that again i need to copy it

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