locked
SSRS Reporting services RRS feed

  • Question

  • Hi,

      I have created ssrs report using visual studio in asp.net web application. Its working fine. 

     

    Now i want to use the same report in SharePoint 2013. When i insert that webpart in my site i'm getting error.

    Server Error in '/' Application.

    Could not find file 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\form8.rdlc'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\form8.rdlc'.

    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 
    [FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\form8.rdlc'.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +14584003
       System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1430
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +208
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +87
       Microsoft.ReportingServices.StandalonePreviewStore.GetReportDefinition(PreviewItemContext itemContext) +187
    
    [ApplicationException: The report definition for report 'form8' has not been specified]
       Microsoft.ReportingServices.StandalonePreviewStore.GetReportDefinition(PreviewItemContext itemContext) +460
       Microsoft.Reporting.LocalService.GetCompiledReport(PreviewItemContext itemContext, Boolean rebuild, ControlSnapshot& snapshot) +176
       Microsoft.Reporting.LocalService.CompileReport() +36
       Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession() +246
    
    [LocalProcessingException: An error occurred during local report processing.]
       Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession() +450
       Microsoft.Reporting.WebForms.LocalReport.SetParameters(IEnumerable`1 parameters) +78
       TNCEO_INTERNET.Form8.Form8.CreatePDF(String filename) +1000
       TNCEO_INTERNET.Form8.Form8.Page_Load(Object sender, EventArgs e) +582
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408

      I have facing a problem given below coding.

                   ReportViewer1.LocalReport.ReportPath = "form8.rdlc";

      Form8.rdlc having this file in my solution explorer. How do i use this file in my coding?.

      I have using 5 datasets ans passing 5 parameters to get result.

      Please anyone help me to complete this task. 


    • Edited by Vijisks Thursday, October 1, 2015 11:02 AM
    Thursday, October 1, 2015 11:00 AM