refresh config vari e deploy x inserire link verso Sambha su DEMO

This commit is contained in:
Samuele E. Locatelli
2014-09-30 16:26:29 +02:00
parent e166277f01
commit 5a9d2b0fce
16 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>steamwarewin\samuele</UserName>
<UserName>steamwarewin\administrator</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<Objects xmlns="">
+2 -1
View File
@@ -16,8 +16,9 @@
-->
<appSettings>
<add key="_logLevel" value="6" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="reportsUrl" value="http://c2p-rep.steamware.net" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="reportsUrl" value="http://demo/C2P_Report" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="importDataFolder" value="e:\test" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="linkSwProfili" value="http://localhost:8080/SambhaWeb"/>
<add key="C2PConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=C2P;Persist Security Info=True;User ID=connC2P;Password=C2P_pwd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="PermessiConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=C2P;Persist Security Info=True;User ID=connC2P;Password=C2P_pwd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="UtenteCdcConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=C2P;Persist Security Info=True;User ID=connC2P;Password=C2P_pwd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
+1 -1
View File
@@ -40,7 +40,7 @@
<add key="enableQueue" value="false" />
<add key="PdfFolder" value="PDF" />
<add key="doPdfCopy" value="false" />
<add key="reportsUrl" value="http://10.74.82.218/C2P_Report" />
<add key="reportsUrl" value="http://IIS02/C2P_Report" />
<!--numero record max x processing lunghi-->
<add key="rec2procQLR" value="500" />
<add key="rec2procQLC" value="500" />
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+1
View File
@@ -171,6 +171,7 @@ public class reportPrinter
public void printReport(reportRichiesto tipoReport, string printerName, int ticket, devInfoParam deviceInfoParam)
{
LocalReport report = new LocalReport();
report.EnableExternalImages = true;
string deviceInfo = "";
switch (tipoReport)
{
+2 -1
View File
@@ -7,6 +7,7 @@ using System.Web.UI.WebControls;
using Microsoft.Reporting.WebForms;
using System.Data;
using C2P_Data;
using SteamWare;
namespace C2P_Report
{
@@ -20,7 +21,7 @@ namespace C2P_Report
protected void btnReport_Click(object sender, EventArgs e)
{
DateTime start = DateTime.Now;
reportPrinter.obj.stampaReport(reportRichiesto.ReportOffers, 4, @"\\W2012R2SAM\PDFCreator");
reportPrinter.obj.stampaReport(reportRichiesto.ReportOffers, 4, memLayer.ML.confReadString("localPrinter"));
lblOut.Text = string.Format("Impiegati {0} ms", DateTime.Now.Subtract(start).TotalMilliseconds);
}
}
@@ -10,18 +10,14 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>https://10.74.82.218:8172/MsDeploy.axd</MSDeployServiceURL>
<MSDeployServiceURL>https://IIS02:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>Default Web Site/C2P_Report</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>administrator</UserName>
<UserName>steamwarewin\administrator</UserName>
<_SavePWD>True</_SavePWD>
<PublishDatabaseSettings>
<Objects xmlns="">
@@ -37,6 +33,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)C2P_Data.Properties.Settings.Proxima_C2PConnectionString-Web.config Connection String" />
+1 -1
View File
@@ -4,5 +4,5 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<rsweb:ReportViewer ID="ReportOffers" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="100%" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" SizeToReportContent="true" Height="100%"></rsweb:ReportViewer>
<rsweb:ReportViewer ID="ReportOffers" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="100%" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" SizeToReportContent="true" Height="100%" KeepSessionAlive="true"></rsweb:ReportViewer>
</asp:Content>
+1
View File
@@ -15,6 +15,7 @@
</connectionStrings>
-->
<appSettings>
<add key="localPrinter" value="\\localhost\PDFCreator" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="C2PConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=C2P;Persist Security Info=True;User ID=connC2P;Password=C2P_pwd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="VocabolarioConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=C2P;Persist Security Info=True;User ID=connC2P;Password=C2P_pwd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
+1
View File
@@ -15,6 +15,7 @@
</connectionStrings>
-->
<appSettings>
<add key="localPrinter" value="\\localhost\PDFCreator" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="C2PConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="VocabolarioConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
+2
View File
@@ -19,6 +19,8 @@
<add key="doShrinkFolder" value="true" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<!--printer x test-->
<add key="localPrinter" value="\\W2012R2SAM\PDFCreator"/>
<!--stringhe connessione-->
<add key="C2PConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" />
Binary file not shown.
Binary file not shown.