spostato path report in web.config...

This commit is contained in:
Samuele E. Locatelli
2017-01-24 12:37:54 +01:00
parent f39201523c
commit 60cf738ed5
8 changed files with 12 additions and 5 deletions
+5 -2
View File
@@ -40,6 +40,8 @@
<add key="urlGestUtenti" value="UserAdmin" />
<add key="adminEmail" value="samuele@steamware.net" />
<add key="PageNoIndex" value="UserAdmin#Test" />
<!--gestione reports!-->
<add key="ReportBasePath" value=".\bin\Reports" />
<!--stringhe connessione-->
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe_files;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
@@ -61,7 +63,7 @@
-->
<system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
</httpHandlers>
<compilation debug="true" targetFramework="4.6.2">
<buildProviders>
@@ -91,7 +93,8 @@
<system.webServer>
<handlers>
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</handlers>
<security>
<requestFiltering>
@@ -40,7 +40,8 @@ namespace ScheMe.WebUserControls
{ }
// 1) impostazione file report
localReport.ReportPath = @".\Reports\ReportVisita.rdlc";
localReport.ReportPath = string.Format(@"{0}\ReportVisita.rdlc", memLayer.ML.CRS("ReportBasePath"));
//localReport.ReportPath = @".\Reports\ReportVisita.rdlc";
// 2) caricamento tab dati
DataTable tabRepVis = new DataTable();
Binary file not shown.
+5 -2
View File
@@ -40,6 +40,8 @@
<add key="urlGestUtenti" value="UserAdmin" />
<add key="adminEmail" value="samuele@steamware.net" />
<add key="PageNoIndex" value="UserAdmin#Test" />
<!--gestione reports!-->
<add key="ReportBasePath" value="~\bin\Reports" />
<!--stringhe connessione-->
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe_files;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
@@ -61,7 +63,7 @@
-->
<system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
</httpHandlers>
<compilation debug="true" targetFramework="4.6.2">
<buildProviders>
@@ -91,7 +93,8 @@
<system.webServer>
<handlers>
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</handlers>
<security>
<requestFiltering>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.