2009-12-10 4 views
5

मेरे पास एमएस रिपोर्टिंग सेवाओं में एक रिपोर्ट है जो स्क्रीन पर ठीक है (रिपोर्टिंग सेवाओं के वेब इंटरफेस के माध्यम से रिपोर्ट देखते समय), लेकिन जब मैं इसे निर्यात करने के लिए जाता हूं पीडीएफ यह त्रुटियों।रिपोर्टिंग सेवाओं से पीडीएफ में प्रतिपादन करते समय एक त्रुटि होती है

वेब सेवाओं के माध्यम से रिपोर्ट तक पहुंचने का प्रयास करते समय निम्नलिखित वाईएसओडी दिखाया गया है, लेकिन रिपोर्टिंग सेवाओं के वेब इंटरफ़ेस से पीडीएफ को प्रस्तुत करते समय रिपोर्ट त्रुटियां भी दिखाई देती हैं।

इस मुद्दे के कारण मैं क्या ट्रैक कर सकता हूं इस पर कोई विचार है?

Server Error in '/****' Application. 
-------------------------------------------------------------------------------- 

An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object. 
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.Web.Services.Protocols.SoapException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object. 

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: 


[SoapException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.] 
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431678 
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204 
    EZTrac.Infrastructure.Reporting.Services.Impl.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds) in d:\TeamBuild\WorkingDirectory\Nightly Build\EZTrac.Infrastructure.Reporting\Services\Impl\ReportExecutionService.cs:827 
    EZTrac.Infrastructure.Reporting.Services.Impl.PaccarReportService.GetReport(IReport report) in d:\TeamBuild\WorkingDirectory\Nightly Build\EZTrac.Infrastructure.Reporting\Services\Impl\PaccarReportService.cs:75 
    EZTrac.Controllers.ReportController.GenerateReport(IReport report) in d:\TeamBuild\WorkingDirectory\Nightly Build\EZTrac\Controllers\ReportController.cs:181 
    EZTrac.Controllers.ReportController.GetReportFileStreamResult(ReportInputBase reportInput) in d:\TeamBuild\WorkingDirectory\Nightly Build\EZTrac\Controllers\ReportController.cs:174 
    EZTrac.Controllers.ReportController.DealerTransactionReportDownload(DealerTransactionForm form) in d:\TeamBuild\WorkingDirectory\Nightly Build\EZTrac\Controllers\ReportController.cs:78 
    lambda_method(ExecutionScope , ControllerBase , Object[]) +85 
    System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17 
    System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +178 
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +24 
    System.Web.Mvc.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() +53 
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +258 
    System.Web.Mvc.<>c__DisplayClassc.<InvokeActionMethodWithFilters>b__9() +20 
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +258 
    System.Web.Mvc.<>c__DisplayClassc.<InvokeActionMethodWithFilters>b__9() +20 
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +193 
    System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +382 
    System.Web.Mvc.Controller.ExecuteCore() +123 
    System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +23 
    System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7 
    System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +144 
    System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +54 
    System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +7 
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 




-------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3053 

संपादित

ऐसा जब रिपोर्ट (यकीन है कि क्या सीमा है नहीं) है बहुत बड़ी लग रहा है तो पीडीएफ रेंडर करने के लिए विफल रहता है। (40+ पीडीएफ पेज इसे त्रुटि बनाता है लेकिन उदाहरण के लिए 5 या उससे कम नहीं)।

उत्तर

4

रिपोर्ट प्रस्तुत करने वाले सर्वर पर त्रुटि लॉग को देखने और देखने का अच्छा विचार हो सकता है। यह देखने के लिए देखें कि आरएस के साथ कुछ विशिष्ट घटना है या नहीं। क्या आप विजुअल स्टूडियो से पीडीएफ में स्थानीय रूप से रिपोर्ट का उत्पादन कर सकते हैं?

मैंने वास्तव में समय समाप्त होने से पहले समान व्यवहार देखा है। क्या इस रिपोर्ट को उत्पादन करने में थोड़ा समय लगेगा? अन्य प्रारूपों को निर्यात करने के बारे में क्या?

+0

yup, यह स्थानीय रूप से मेरी देव मशीन पर, परीक्षण पर और वेब सेवाओं के माध्यम से होता है। –

+0

क्या अन्य निर्यात प्रारूप काम करते हैं या वे भी मर जाते हैं? – RSolberg

+0

यदि यह केवल पीडीएफ है, तो क्या आपके पास रिपोर्ट पर कोई विशेष वस्तुएं प्रदान की जा रही हैं? क्या रिपोर्ट कभी पीडीएफ में दी गई है? तब से क्या बदल गया है यदि उसके पास/ – RSolberg

संबंधित मुद्दे