error : requested document was not found in server while accesing rdlc file

tamga_bong

New Member
i am transfering a asp.net 4.0 website to a dedicated server.it is showing an error .\[code\]requested document was not found in the server.\[/code\]Earlier i was hosted the same website in shared hosting,it was working fine there.my code to acces the report document is.\[code\] rptViewer.ProcessingMode = ProcessingMode.Local Dim rep As LocalReport = rptViewer.LocalReport rep.Refresh() rep.ReportPath = Server.MapPath("..\Reports\Restaurant_Revenue.rdlc") rds.Name = "Dataset2_resturantRevenue"\[/code\]This is working fine in local system and shared hosting.i am confused how can i solve this.after searching a similar question.i have added the .rdlc extension in myme type.but it still shows the same error.report file is there in directory.Thanks in advance.
 
Back
Top