aggiunta funzione puntuale x data uploader
refresh online con url locale corretto installato in RigaSRV02
This commit is contained in:
Binary file not shown.
@@ -8,23 +8,40 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
<div>
|
<div style="background-color:#FFF;">
|
||||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float:right;" />
|
<img src="images/LogoSteamware.png" alt="Steamware" style="float: right;" />
|
||||||
|
<div style="text-align: center; margin: auto; font-size: 1.5em; width: 800px; margin: auto; background-color: #EFEFEF;">
|
||||||
<h1>WebSCR DataUploader</h1>
|
<h1>WebSCR DataUploader</h1>
|
||||||
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<%--Per effettuare test utilizzare la <a href="DemoPage.aspx">Demo Page</a>
|
<div>
|
||||||
<br />--%>
|
<div style="font-size: 1.5em;">
|
||||||
Per l'uso in produzione / continuativo vanno richiamate
|
<b>Per forzare il caricamento di un singolo doc indicare il codice:</b>
|
||||||
<ul>
|
<div>
|
||||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
<asp:Label runat="server" ID="lblAnno" AssociatedControlID="txtAnno" Text="Anno:" />
|
||||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
<asp:TextBox runat="server" ID="txtAnno" AutoPostBack="true" Font-Size="1.6em" Width="3em" />
|
||||||
</ul>
|
</div>
|
||||||
|
<div>
|
||||||
|
<asp:Label runat="server" ID="lblDoc" AssociatedControlID="txtDoc" Text="Doc:" />
|
||||||
|
<asp:TextBox runat="server" ID="txtDoc" AutoPostBack="True" Font-Size="1.6em" Width="6em" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<asp:Button runat="server" ID="btnUpload" Text="Carica" OnClick="btnUpload_Click" Font-Size="2.2em" Width="6em" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
Per l'uso in produzione / continuativo vanno richiamate
|
||||||
|
<ul>
|
||||||
|
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||||
|
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
||||||
@2015-<%: DateTime.Now.Year %> Steamware
|
@2015-<%: DateTime.Now.Year %> Steamware
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -11,7 +11,62 @@ namespace DataUploader
|
|||||||
{
|
{
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if(!Page.IsPostBack)
|
||||||
|
{
|
||||||
|
anno = DateTime.Now.Year;
|
||||||
|
DOC = "OC000000";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void btnUpload_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
caricaDoc();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int anno
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
int answ = DateTime.Now.Year;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
answ = Convert.ToInt32(txtAnno.Text.Trim());
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
return answ;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
txtAnno.Text = value.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public string DOC
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
string answ = "";
|
||||||
|
try
|
||||||
|
{
|
||||||
|
answ = txtDoc.Text.Trim();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
|
return answ;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
txtDoc.Text = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void caricaDoc()
|
||||||
|
{
|
||||||
|
if (txtDoc.Text.Trim() != "")
|
||||||
|
{
|
||||||
|
Response.Redirect(string.Format("SyncDoc.aspx?DOC={0}&Anno={1}", DOC, anno));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+51
-8
@@ -3,17 +3,15 @@
|
|||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace DataUploader
|
namespace DataUploader {
|
||||||
{
|
|
||||||
|
|
||||||
|
public partial class Default {
|
||||||
public partial class Default
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 control.
|
/// form1 control.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -22,5 +20,50 @@ namespace DataUploader
|
|||||||
/// To modify move field declaration from designer file to code-behind file.
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblAnno control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label lblAnno;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtAnno control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.TextBox txtAnno;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblDoc control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label lblDoc;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtDoc control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.TextBox txtDoc;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnUpload control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Button btnUpload;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,12 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
|||||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||||
<SiteUrlToLaunchAfterPublish />
|
<SiteUrlToLaunchAfterPublish />
|
||||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||||
<ExcludeApp_Data>False</ExcludeApp_Data>
|
<ExcludeApp_Data>True</ExcludeApp_Data>
|
||||||
<publishUrl>C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\ReleaseClienti\DataUploader</publishUrl>
|
<publishUrl>C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebSCR\ReleaseClienti\DataUploader</publishUrl>
|
||||||
<DeleteExistingFiles>False</DeleteExistingFiles>
|
<DeleteExistingFiles>True</DeleteExistingFiles>
|
||||||
|
<PrecompileBeforePublish>True</PrecompileBeforePublish>
|
||||||
|
<EnableUpdateable>True</EnableUpdateable>
|
||||||
|
<DebugSymbols>False</DebugSymbols>
|
||||||
|
<WDPMergeOption>DonotMerge</WDPMergeOption>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -6,47 +6,50 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
|||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||||
<_PublishTargetUrl>C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\ReleaseClienti\DataUploader</_PublishTargetUrl>
|
<_PublishTargetUrl>C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebSCR\ReleaseClienti\DataUploader</_PublishTargetUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<File Include="bin/DataUploader.dll">
|
<File Include="bin/DataUploader.dll">
|
||||||
<publishTime>06/16/2015 11:58:10</publishTime>
|
<publishTime>09/17/2015 16:56:34</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/NLog.config">
|
<File Include="bin/NLog.config">
|
||||||
<publishTime>06/15/2015 12:03:55</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/NLog.dll">
|
<File Include="bin/NLog.dll">
|
||||||
<publishTime>06/15/2015 10:39:48</publishTime>
|
<publishTime>09/03/2015 11:38:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/NLog.Web.dll">
|
<File Include="bin/NLog.Web.dll">
|
||||||
<publishTime>06/15/2015 10:39:49</publishTime>
|
<publishTime>09/03/2015 11:38:15</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Default.aspx">
|
<File Include="Default.aspx">
|
||||||
<publishTime>06/15/2015 11:25:20</publishTime>
|
<publishTime>09/17/2015 16:35:39</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="DemoPage.aspx">
|
<File Include="DemoPage.aspx">
|
||||||
<publishTime>05/25/2015 12:10:22</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="favicon.ico">
|
<File Include="favicon.ico">
|
||||||
<publishTime>06/15/2015 12:06:07</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="FullSync.aspx">
|
<File Include="FullSync.aspx">
|
||||||
<publishTime>05/25/2015 10:29:04</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="images/LogoSteamware.png">
|
<File Include="images/LogoSteamware.png">
|
||||||
<publishTime>06/15/2015 11:23:06</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="logs/PlaceHolder.file">
|
<File Include="logs/PlaceHolder.file">
|
||||||
<publishTime>06/15/2015 12:04:56</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="packages.config">
|
<File Include="packages.config">
|
||||||
<publishTime>06/15/2015 10:39:50</publishTime>
|
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||||
|
</File>
|
||||||
|
<File Include="PrecompiledApp.config">
|
||||||
|
<publishTime>09/17/2015 16:59:40</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="SyncDoc.aspx">
|
<File Include="SyncDoc.aspx">
|
||||||
<publishTime>06/15/2015 12:00:13</publishTime>
|
<publishTime>09/17/2015 16:31:09</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Web.config">
|
<File Include="Web.config">
|
||||||
<publishTime>06/16/2015 11:58:10</publishTime>
|
<publishTime>09/17/2015 16:57:21</publishTime>
|
||||||
</File>
|
</File>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -18,6 +18,8 @@
|
|||||||
<hr />
|
<hr />
|
||||||
<h2>OUTPUT</h2>--%>
|
<h2>OUTPUT</h2>--%>
|
||||||
<asp:Label runat="server" ID="lblOut" />
|
<asp:Label runat="server" ID="lblOut" />
|
||||||
|
<br />
|
||||||
|
<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="Default.aspx" Text="Torna ad home" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Generated
+9
@@ -29,5 +29,14 @@ namespace DataUploader {
|
|||||||
/// To modify move field declaration from designer file to code-behind file.
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// hlHome control.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Auto-generated field.
|
||||||
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.HyperLink hlHome;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,60 @@
|
|||||||
|
2015-09-17 16:02:58.3586 [ERROR] Eccezione
|
||||||
|
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||||
|
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||||
|
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||||
|
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||||
|
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||||
|
in System.Data.Odbc.OdbcConnection.Open()
|
||||||
|
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||||
|
2015-09-17 16:02:58.3886 [INFO] Effettuato upload singolo documento: durata 120,9672 msec
|
||||||
|
2015-09-17 16:03:49.8989 [ERROR] Eccezione
|
||||||
|
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||||
|
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||||
|
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||||
|
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||||
|
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||||
|
in System.Data.Odbc.OdbcConnection.Open()
|
||||||
|
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||||
|
2015-09-17 16:03:49.8989 [INFO] Effettuato upload singolo documento: durata 4,002 msec
|
||||||
|
2015-09-17 16:30:54.4051 [ERROR] Eccezione
|
||||||
|
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||||
|
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||||
|
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||||
|
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||||
|
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||||
|
in System.Data.Odbc.OdbcConnection.Open()
|
||||||
|
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||||
|
2015-09-17 16:30:54.4241 [INFO] Effettuato upload singolo documento: durata 100,0089 msec
|
||||||
|
2015-09-17 16:31:11.9142 [ERROR] Eccezione
|
||||||
|
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||||
|
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||||
|
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||||
|
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||||
|
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||||
|
in System.Data.Odbc.OdbcConnection.Open()
|
||||||
|
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||||
|
2015-09-17 16:31:11.9142 [INFO] Effettuato upload singolo documento: durata 3,9773 msec
|
||||||
Binary file not shown.
@@ -8,23 +8,40 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
<div>
|
<div style="background-color:#FFF;">
|
||||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float:right;" />
|
<img src="images/LogoSteamware.png" alt="Steamware" style="float: right;" />
|
||||||
|
<div style="text-align: center; margin: auto; font-size: 1.5em; width: 800px; margin: auto; background-color: #EFEFEF;">
|
||||||
<h1>WebSCR DataUploader</h1>
|
<h1>WebSCR DataUploader</h1>
|
||||||
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<%--Per effettuare test utilizzare la <a href="DemoPage.aspx">Demo Page</a>
|
<div>
|
||||||
<br />--%>
|
<div style="font-size: 1.5em;">
|
||||||
Per l'uso in produzione / continuativo vanno richiamate
|
<b>Per forzare il caricamento di un singolo doc indicare il codice:</b>
|
||||||
<ul>
|
<div>
|
||||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
<asp:Label runat="server" ID="lblAnno" AssociatedControlID="txtAnno" Text="Anno:" />
|
||||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
<asp:TextBox runat="server" ID="txtAnno" AutoPostBack="true" Font-Size="1.6em" Width="3em" />
|
||||||
</ul>
|
</div>
|
||||||
|
<div>
|
||||||
|
<asp:Label runat="server" ID="lblDoc" AssociatedControlID="txtDoc" Text="Doc:" />
|
||||||
|
<asp:TextBox runat="server" ID="txtDoc" AutoPostBack="True" Font-Size="1.6em" Width="6em" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<asp:Button runat="server" ID="btnUpload" Text="Carica" OnClick="btnUpload_Click" Font-Size="2.2em" Width="6em" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
Per l'uso in produzione / continuativo vanno richiamate
|
||||||
|
<ul>
|
||||||
|
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||||
|
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
||||||
@2015-<%: DateTime.Now.Year %> Steamware
|
@2015-<%: DateTime.Now.Year %> Steamware
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<precompiledApp version="2" updatable="true"/>
|
||||||
@@ -18,6 +18,8 @@
|
|||||||
<hr />
|
<hr />
|
||||||
<h2>OUTPUT</h2>--%>
|
<h2>OUTPUT</h2>--%>
|
||||||
<asp:Label runat="server" ID="lblOut" />
|
<asp:Label runat="server" ID="lblOut" />
|
||||||
|
<br />
|
||||||
|
<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="Default.aspx" Text="Torna ad home" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Binary file not shown.
@@ -16,6 +16,7 @@
|
|||||||
-->
|
-->
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="baseUrl" value="http://webscr.steamware.net/Rigamonti" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
<add key="baseUrl" value="http://webscr.steamware.net/Rigamonti" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||||
|
<add key="localUplURL" value="http://rigasrv02:81/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||||
<!--<add key="adminEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
<!--<add key="adminEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||||
<add key="_fromEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>-->
|
<add key="_fromEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>-->
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
<!--gestione squadre-->
|
<!--gestione squadre-->
|
||||||
<add key="NumGg" value="5" />
|
<add key="NumGg" value="5" />
|
||||||
<!--gestione sw uploader locale-->
|
<!--gestione sw uploader locale-->
|
||||||
<add key="localUplURL" value="http://IIS02" />
|
<add key="localUplURL" value="http://IIS02/" />
|
||||||
<!--stringhe connessione-->
|
<!--stringhe connessione-->
|
||||||
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||||
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>WinLab-Rigamonti</NameOfLastUsedPublishProfile>
|
||||||
<ProjectView>ShowAllFiles</ProjectView>
|
<ProjectView>ShowAllFiles</ProjectView>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -45,7 +45,7 @@
|
|||||||
<!--gestione squadre-->
|
<!--gestione squadre-->
|
||||||
<add key="NumGg" value="5" />
|
<add key="NumGg" value="5" />
|
||||||
<!--gestione sw uploader locale-->
|
<!--gestione sw uploader locale-->
|
||||||
<add key="localUplURL" value="http://IIS02" />
|
<add key="localUplURL" value="http://IIS02/" />
|
||||||
<!--stringhe connessione-->
|
<!--stringhe connessione-->
|
||||||
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||||
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user