रिपोर्ट्स प्रबंधक प्रबंधक में तैनात और काम कर रहे हैं।रिपोर्ट व्यूअर वेब कंट्रोल वर्जन 10 सही तरीके से सेट करने के बावजूद त्रुटि देता है
मेरा आवेदन एक एमवीसी 2 ऐप है जो मेरी रिपोर्ट के साथ अपने स्वयं के एएसपीएक्स पेज पर है। यह पृष्ठ रिपोर्ट दर्शक नियंत्रण के संस्करण 8 के साथ काम करता था, लेकिन हम नए सर्वर, अपग्रेड किए गए एसक्यूएल सर्वर पर चले गए, और मिलान करने के लिए हमारी वेबसाइट को अपडेट करने का प्रयास कर रहे हैं।
सर्वर आईआईएस 7.5 के साथ विंडोज सर्वर 2008 हैं।
मैं IE 9.
दोनों क्रोम में परीक्षण कर रहा हूँ और मेरे सबसे अच्छे प्रयासों के बावजूद, मैं अभी भी इस त्रुटि मिलती है:
Report Viewer Configuration Error
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
to the system.web/httpHandlers section of the web.config file, or add<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
to the system.webServer/handlers section for Internet Information Services 7 or later.
लेकिन, मैं पहले से ही यह कर दिया है। वास्तव में, मैं भी MSDN से इस पढ़ें:
To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS will not run the application, but will display an error message instead.
, मैं न तो सीधे आईआईएस में हैंडलर को जोड़ते समय, मेरे config में सिर्फ वेब सर्वर http हैंडलर, बस http हैंडलर की एक कॉम्बो की कोशिश की सुरक्षित रहने के लिए मेरी विन्यास में, और दोनों। मेरी web.config
<configuration
<system.web>
<httpRuntime maxQueryStringLength="4096" />
<compilation targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
</system.web>
<system.webServer>
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
</system.webServer>
</configuration>
साथ
आइए शुरू मैं विधानसभाओं, निर्माण प्रदाता, और हैंडलर की है। और क्या गलत हो सकता था?
मैं जॉश इस काम की पुष्टि करूंगा :) धन्यवाद –
इस मामले में आप उत्तर को स्वीकार के रूप में चिह्नित कर सकते हैं? – lstanczyk
वहां एक महत्वपूर्ण शब्द चूक गया ... मुझे आशा है कि जोश इस काम की पुष्टि करेगा! :) –