Update 20250618

master
Stefan Hutter 6 months ago
parent 85ff87dc62
commit f45b683545

@ -45,6 +45,7 @@ namespace API_NetFramework.Controllers
public string response { get; set; } = "";
}
public enum uploadtype
{
fast = 1,
@ -59,7 +60,6 @@ namespace API_NetFramework.Controllers
// GET: OnBase
string tokenfunction = "Archiv";
string connectionstring = StringCipher.Decrypt(ConfigurationManager.ConnectionStrings["EDOKAConnectionstring"].ConnectionString, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm");
private void Update_IL_Log(ref ILResponse ilr, string dokumentid)
{
APILogging.Log((HttpRequestMessage)Request, "Start Update IL_Log: DokumentID:" + dokumentid, LogLevelType.Debug);
@ -654,6 +654,7 @@ namespace API_NetFramework.Controllers
return ilr.response;
}
[HttpPost]
[Route("API/Send_Versandstrasse")]
@ -757,6 +758,19 @@ namespace API_NetFramework.Controllers
string result = "";
inthandle = archiv_sb_doc(vd.DokumentID, vd.Partnernr, versandpaket.sb.serienbriefnr.ToString(), vd.dokument, vd.inteintragnr.ToString());
int test;
bool isnumeric = int.TryParse(inthandle, out test);
if (!isnumeric || inthandle == "")
{
ILResponse ilr1 = new ILResponse();
ilr1.response = "Dokument IntEIntrag="+vd.inteintragnr.ToString()+" nicht archiviert";
ilr1.senderror = 1;
DB db = new DB(connectionstring);
db.Exec_SQL("Update OnDoc_Versandstrasse_paket set fehler=1, fehlerdatum=getdate(), fehlerbeschreibung='"+ ilr1.response+"' where id=" + paketid);
return Content(HttpStatusCode.InternalServerError, ilr1.response);
}
oba.DocumentHandle = inthandle.ToString();
DOCGEN.DocGen dg = new DOCGEN.DocGen();
versandpaket.finaldoc = dg.geneate_dummy_pdf("VS Serienbrief: Handle "+oba.DocumentHandle.ToString() +" "+ DateTime.Now.ToString("dd.MM.yyyy hh:mm:ss"));
@ -768,15 +782,38 @@ namespace API_NetFramework.Controllers
db.clear_parameter();
db.add_parameter("@dokumentid", vd.DokumentID);
db.Get_Tabledata("sp_get_handle", true, false);
if (db.dsdaten.Tables[0].Rows.Count > 0)
{
inthandle = db.dsdaten.Tables[0].Rows[0][0].ToString();
int test;
bool isnumeric = int.TryParse(inthandle, out test);
if (!isnumeric || inthandle=="")
{
ILResponse ilr1 = new ILResponse();
ilr1.response = "Dokument ID:'"+ vd.DokumentID+"' nicht archiviert";
ilr1.senderror = 1;
db.Exec_SQL("Update OnDoc_Versandstrasse_paket set fehler=1, fehlerdatum=getdate(), fehlerbeschreibung='" + ilr1.response + "' where id=" + paketid);
return Content(HttpStatusCode.InternalServerError, ilr1.response);
}
oba.DocumentHandle = inthandle;
DOCGEN.DocGen dg = new DOCGEN.DocGen();
versandpaket.finaldoc=dg.geneate_dummy_pdf("Versandstrasse - DummyDokument - " + DateTime.Now.ToString("dd.MM.yyyy hh:mm:ss"));
//versandpaket.finaldoc = "";
dg = null;
}
else
{
ILResponse ilr1 = new ILResponse();
ilr1.response = "Dokument ID:'" + vd.DokumentID + "' nicht archiviert";
ilr1.senderror = 1;
db.Exec_SQL("Update OnDoc_Versandstrasse_paket set fehler=1, fehlerdatum=getdate(), fehlerbeschreibung='" + ilr1.response + "' where id=" + paketid);
return Content(HttpStatusCode.InternalServerError, ilr1.response);
}
db = null;
}
}

@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project>
<PropertyGroup>
<_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl>
<History>True|2025-05-06T10:58:55.8720511Z||;True|2025-05-05T10:30:22.0524225+02:00||;True|2025-05-05T09:37:27.1162038+02:00||;True|2025-05-04T13:37:01.8401491+02:00||;True|2025-04-14T15:32:13.3923265+02:00||;True|2025-03-27T09:55:34.9678501+01:00||;True|2025-03-27T07:47:45.1288274+01:00||;True|2025-03-26T19:03:04.7550972+01:00||;True|2025-02-27T19:20:43.3755758+01:00||;True|2025-02-27T18:15:21.2843332+01:00||;True|2025-02-25T19:05:51.2823294+01:00||;True|2025-02-25T19:04:29.0810473+01:00||;True|2025-02-21T10:28:09.2279895+01:00||;True|2025-02-21T09:59:33.3258979+01:00||;True|2025-02-12T12:49:01.5618262+01:00||;True|2025-02-09T14:47:25.8660147+01:00||;True|2025-02-09T12:40:23.8730229+01:00||;True|2025-02-05T14:41:27.6196364+01:00||;True|2025-02-04T22:19:44.0470841+01:00||;True|2025-02-04T21:33:03.4165210+01:00||;True|2025-02-02T20:06:51.6815543+01:00||;True|2025-01-20T10:17:24.5425008+01:00||;True|2025-01-19T16:20:16.1036874+01:00||;True|2025-01-19T16:19:11.5720999+01:00||;True|2025-01-12T14:24:46.2550852+01:00||;True|2025-01-12T14:00:23.9205001+01:00||;True|2025-01-07T15:08:24.2722613+01:00||;True|2025-01-06T09:25:16.5522864+01:00||;True|2024-12-22T16:49:54.0855447+01:00||;True|2024-12-08T09:59:39.7127943+01:00||;True|2024-12-08T09:26:52.1924006+01:00||;True|2024-12-02T09:50:13.5426444+01:00||;True|2024-12-01T18:53:55.8128003+01:00||;True|2024-11-26T19:32:44.7379810+01:00||;True|2024-11-25T16:02:25.7013060+01:00||;True|2024-11-24T18:56:32.4321643+01:00||;True|2024-11-24T18:48:11.3494435+01:00||;True|2024-11-24T17:50:10.7679996+01:00||;True|2024-11-22T08:35:58.1296657+01:00||;True|2024-11-13T17:47:13.0183160+01:00||;True|2024-11-13T17:46:36.5183689+01:00||;True|2024-11-11T13:42:23.6578245+01:00||;True|2024-11-09T12:11:00.0777236+01:00||;True|2024-11-09T11:54:51.8503924+01:00||;</History>
<History>True|2025-06-18T19:46:07.0469838Z||;True|2025-06-18T12:17:09.8417440+02:00||;True|2025-06-18T11:06:43.5839212+02:00||;True|2025-05-06T12:58:55.8720511+02:00||;True|2025-05-05T10:30:22.0524225+02:00||;True|2025-05-05T09:37:27.1162038+02:00||;True|2025-05-04T13:37:01.8401491+02:00||;True|2025-04-14T15:32:13.3923265+02:00||;True|2025-03-27T09:55:34.9678501+01:00||;True|2025-03-27T07:47:45.1288274+01:00||;True|2025-03-26T19:03:04.7550972+01:00||;True|2025-02-27T19:20:43.3755758+01:00||;True|2025-02-27T18:15:21.2843332+01:00||;True|2025-02-25T19:05:51.2823294+01:00||;True|2025-02-25T19:04:29.0810473+01:00||;True|2025-02-21T10:28:09.2279895+01:00||;True|2025-02-21T09:59:33.3258979+01:00||;True|2025-02-12T12:49:01.5618262+01:00||;True|2025-02-09T14:47:25.8660147+01:00||;True|2025-02-09T12:40:23.8730229+01:00||;True|2025-02-05T14:41:27.6196364+01:00||;True|2025-02-04T22:19:44.0470841+01:00||;True|2025-02-04T21:33:03.4165210+01:00||;True|2025-02-02T20:06:51.6815543+01:00||;True|2025-01-20T10:17:24.5425008+01:00||;True|2025-01-19T16:20:16.1036874+01:00||;True|2025-01-19T16:19:11.5720999+01:00||;True|2025-01-12T14:24:46.2550852+01:00||;True|2025-01-12T14:00:23.9205001+01:00||;True|2025-01-07T15:08:24.2722613+01:00||;True|2025-01-06T09:25:16.5522864+01:00||;True|2024-12-22T16:49:54.0855447+01:00||;True|2024-12-08T09:59:39.7127943+01:00||;True|2024-12-08T09:26:52.1924006+01:00||;True|2024-12-02T09:50:13.5426444+01:00||;True|2024-12-01T18:53:55.8128003+01:00||;True|2024-11-26T19:32:44.7379810+01:00||;True|2024-11-25T16:02:25.7013060+01:00||;True|2024-11-24T18:56:32.4321643+01:00||;True|2024-11-24T18:48:11.3494435+01:00||;True|2024-11-24T17:50:10.7679996+01:00||;True|2024-11-22T08:35:58.1296657+01:00||;True|2024-11-13T17:47:13.0183160+01:00||;True|2024-11-13T17:46:36.5183689+01:00||;True|2024-11-11T13:42:23.6578245+01:00||;True|2024-11-09T12:11:00.0777236+01:00||;True|2024-11-09T11:54:51.8503924+01:00||;</History>
<LastFailureDetails />
</PropertyGroup>
<ItemGroup>
@ -82,10 +82,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>04/09/2024 19:25:14</publishTime>
</File>
<File Include="bin/BarcodeLib.dll">
<publishTime>05/04/2025 13:55:10</publishTime>
<publishTime>06/15/2025 08:32:39</publishTime>
</File>
<File Include="bin/BarcodeLib.pdb">
<publishTime>05/04/2025 13:55:10</publishTime>
<publishTime>06/15/2025 08:32:39</publishTime>
</File>
<File Include="bin/CSVNET.dll">
<publishTime>02/28/2025 10:40:17</publishTime>
@ -94,10 +94,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>02/28/2025 10:40:17</publishTime>
</File>
<File Include="bin/Database.dll">
<publishTime>05/06/2025 12:58:31</publishTime>
<publishTime>06/15/2025 08:30:32</publishTime>
</File>
<File Include="bin/Database.pdb">
<publishTime>05/06/2025 12:58:31</publishTime>
<publishTime>06/15/2025 08:30:32</publishTime>
</File>
<File Include="bin/de/System.Net.Http.Formatting.resources.dll">
<publishTime>10/20/2023 22:35:02</publishTime>
@ -130,13 +130,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>10/20/2023 22:35:04</publishTime>
</File>
<File Include="bin/DOCGEN.dll">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:05</publishTime>
</File>
<File Include="bin/DOCGEN.dll.config">
<publishTime>12/23/2024 22:17:43</publishTime>
</File>
<File Include="bin/DOCGEN.pdb">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:05</publishTime>
</File>
<File Include="bin/FastReport.Bars.dll">
<publishTime>11/27/2023 09:49:58</publishTime>
@ -214,10 +214,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>04/11/2022 19:09:46</publishTime>
</File>
<File Include="bin/Model.dll">
<publishTime>05/06/2025 12:58:30</publishTime>
<publishTime>02/06/2025 15:43:12</publishTime>
</File>
<File Include="bin/Model.pdb">
<publishTime>05/06/2025 12:58:30</publishTime>
<publishTime>02/06/2025 15:43:12</publishTime>
</File>
<File Include="bin/MW6.SDK.dll">
<publishTime>08/19/2014 21:33:57</publishTime>
@ -250,16 +250,16 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>02/28/2025 10:40:16</publishTime>
</File>
<File Include="bin/OnDocOffice.dll">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:05</publishTime>
</File>
<File Include="bin/OnDocOffice.pdb">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:05</publishTime>
</File>
<File Include="bin/OnDoc_NetFramework.dll">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:06</publishTime>
</File>
<File Include="bin/OnDoc_NetFramework.pdb">
<publishTime>05/06/2025 12:58:54</publishTime>
<publishTime>06/18/2025 21:46:06</publishTime>
</File>
<File Include="bin/Owin.dll">
<publishTime>11/13/2012 13:19:34</publishTime>
@ -454,10 +454,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>10/20/2023 22:33:58</publishTime>
</File>
<File Include="bin/vbBarcodes.dll">
<publishTime>04/29/2025 09:05:19</publishTime>
<publishTime>06/06/2025 10:46:02</publishTime>
</File>
<File Include="bin/vbBarcodes.pdb">
<publishTime>04/29/2025 09:05:19</publishTime>
<publishTime>06/06/2025 10:46:02</publishTime>
</File>
<File Include="bin/VBFileManagement.dll">
<publishTime>03/28/2025 14:01:17</publishTime>
@ -466,10 +466,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<publishTime>03/28/2025 14:01:17</publishTime>
</File>
<File Include="bin/VBOffice.dll">
<publishTime>04/27/2025 12:44:45</publishTime>
<publishTime>06/06/2025 10:46:01</publishTime>
</File>
<File Include="bin/VBOffice.pdb">
<publishTime>04/27/2025 12:44:45</publishTime>
<publishTime>06/06/2025 10:46:01</publishTime>
</File>
<File Include="bin/WebActivatorEx.dll">
<publishTime>10/05/2016 15:11:52</publishTime>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -12526,3 +12526,414 @@ done
2025-05-30 15:04:53.5145|DEBUG|OnDoc|
2025-05-30 15:04:53.5145|DEBUG|OnDoc|
2025-05-30 15:04:53.5348|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-10 10:08:52.5869|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002519041
2025-06-10 10:08:52.6380|DEBUG|OnDoc|
2025-06-10 10:08:52.6667|DEBUG|OnDoc|
2025-06-10 10:08:52.6667|DEBUG|OnDoc|
2025-06-10 10:08:52.6716|DEBUG|OnDoc|
2025-06-10 10:08:52.6716|DEBUG|OnDoc|
2025-06-10 10:08:53.0725|DEBUG|OnDoc|
2025-06-10 10:08:53.0725|DEBUG|OnDoc|
2025-06-10 10:08:53.0840|DEBUG|OnDoc|
2025-06-10 10:09:22.8775|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-10 10:09:22.9128|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Fast
2025-06-10 10:09:23.0658|DEBUG|OnDoc|Ende Transfer to OnBase
2025-06-10 10:09:30.2091|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002519041
2025-06-10 10:09:30.7491|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002519041
2025-06-10 10:09:30.7676|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002519041
2025-06-10 10:09:32.2209|DEBUG|OnDoc|
2025-06-10 10:09:32.2209|DEBUG|OnDoc|
2025-06-10 10:09:32.2333|DEBUG|OnDoc|
2025-06-10 10:09:32.3234|DEBUG|OnDoc|
2025-06-10 10:09:32.3234|DEBUG|OnDoc|
2025-06-10 10:09:32.3234|DEBUG|OnDoc|
2025-06-11 09:17:04.5752|DEBUG|OnDoc|Mailversand: 2
2025-06-11 09:17:04.6345|DEBUG|OnDoc|
2025-06-11 09:17:04.6475|DEBUG|OnDoc|
2025-06-11 09:17:04.6651|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-11 09:17:18.2308|DEBUG|OnDoc|Mailversand: 1
2025-06-11 09:17:18.2564|DEBUG|OnDoc|
2025-06-11 09:17:18.2564|DEBUG|OnDoc|
2025-06-11 09:17:18.2746|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-11 09:17:25.4182|DEBUG|OnDoc|
2025-06-11 09:17:25.4549|DEBUG|OnDoc|
2025-06-11 09:17:25.4842|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-11 09:17:25.4842|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-11 09:17:25.5537|DEBUG|OnDoc|
2025-06-11 09:17:25.5537|DEBUG|OnDoc|
2025-06-11 09:17:25.5805|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: 1234
2025-06-11 09:17:25.5805|INFO|OnDoc|Unterschrift-Bezug: 1234
2025-06-11 09:19:19.6168|DEBUG|OnDoc|Mailversand: 2
2025-06-11 09:19:19.6465|DEBUG|OnDoc|
2025-06-11 09:19:19.6465|DEBUG|OnDoc|
2025-06-11 09:19:19.6651|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-15 08:42:39.6365|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524701
2025-06-15 08:42:39.6650|DEBUG|OnDoc|
2025-06-15 08:42:39.7010|DEBUG|OnDoc|
2025-06-15 08:42:39.7010|DEBUG|OnDoc|
2025-06-15 08:42:39.7010|DEBUG|OnDoc|
2025-06-15 08:42:39.7010|DEBUG|OnDoc|
2025-06-15 08:42:39.8143|DEBUG|OnDoc|
2025-06-15 08:42:39.8143|DEBUG|OnDoc|
2025-06-15 08:42:39.8143|DEBUG|OnDoc|
2025-06-15 08:42:44.3381|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-15 08:42:44.3482|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Fast
2025-06-15 08:42:44.4786|DEBUG|OnDoc|Ende Transfer to OnBase
2025-06-15 08:42:44.4956|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524701
2025-06-15 08:42:44.4981|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524701
2025-06-15 08:42:44.4981|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524701
2025-06-15 08:42:44.4981|DEBUG|OnDoc|
2025-06-15 08:42:44.4981|DEBUG|OnDoc|
2025-06-15 08:42:44.4981|DEBUG|OnDoc|
2025-06-15 08:42:44.5534|DEBUG|OnDoc|
2025-06-15 08:42:44.5534|DEBUG|OnDoc|
2025-06-15 08:42:44.5908|ERROR|OnDoc|Ungültiger Objektname "edoka_journale.dbo.OnDoc_Wiederbearbietung".
2025-06-16 11:48:54.5910|DEBUG|OnDoc|
2025-06-16 11:48:54.6255|DEBUG|OnDoc|
2025-06-16 11:48:54.6521|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG0494
2025-06-16 11:48:54.6521|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG0494 DEMO-Unterschrfit verwendet
2025-06-16 11:48:54.6521|INFO|OnDoc|Unterschrift-Bezug: TG0494
2025-06-16 11:49:05.3232|INFO|OnDoc|Unterschriften-Image gespeichert - TG0494
2025-06-16 11:49:05.3669|DEBUG|OnDoc|
2025-06-16 11:49:05.3669|DEBUG|OnDoc|
2025-06-16 11:49:05.3925|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG0494
2025-06-16 11:49:05.3925|INFO|OnDoc|Unterschrift-Bezug: TG0494
2025-06-16 11:50:37.4464|DEBUG|OnDoc|Mailversand: 44
2025-06-16 11:50:37.4743|DEBUG|OnDoc|
2025-06-16 11:50:37.4743|DEBUG|OnDoc|
2025-06-16 11:50:37.4939|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-16 11:50:37.5230|DEBUG|OnDoc|Mailversand: 2
2025-06-16 11:50:37.5475|DEBUG|OnDoc|
2025-06-16 11:50:37.5475|DEBUG|OnDoc|
2025-06-16 11:50:37.5680|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-16 11:51:05.5470|DEBUG|OnDoc|Mailversand: 1
2025-06-16 11:51:05.5805|DEBUG|OnDoc|
2025-06-16 11:51:05.5805|DEBUG|OnDoc|
2025-06-16 11:51:05.5986|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-16 11:51:39.1876|DEBUG|OnDoc|Mailversand: 1
2025-06-16 11:51:39.2209|DEBUG|OnDoc|
2025-06-16 11:51:39.2209|DEBUG|OnDoc|
2025-06-16 11:51:39.2411|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
2025-06-16 11:52:31.8400|DEBUG|OnDoc|
2025-06-16 11:52:31.8792|DEBUG|OnDoc|
2025-06-16 11:52:31.9047|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG0494
2025-06-16 11:52:31.9047|INFO|OnDoc|Unterschrift-Bezug: TG0494
2025-06-16 11:52:42.1478|DEBUG|OnDoc|
2025-06-16 11:52:42.1567|DEBUG|OnDoc|
2025-06-16 11:52:42.1814|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: 1234
2025-06-16 11:52:42.1846|INFO|OnDoc|Unterschrift-Bezug: 1234
2025-06-17 12:54:00.4392|DEBUG|OnDoc|
2025-06-17 12:54:00.4768|DEBUG|OnDoc|
2025-06-17 12:54:00.5069|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:54:00.5069|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 12:55:49.7653|DEBUG|OnDoc|
2025-06-17 12:55:49.7963|DEBUG|OnDoc|
2025-06-17 12:55:49.8241|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:55:49.8241|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 12:56:50.9810|DEBUG|OnDoc|
2025-06-17 12:56:51.0140|DEBUG|OnDoc|
2025-06-17 12:56:51.0412|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:56:51.0412|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 12:57:34.8187|DEBUG|OnDoc|
2025-06-17 12:57:34.8492|DEBUG|OnDoc|
2025-06-17 12:57:34.8743|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:57:34.8743|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 12:58:17.5050|DEBUG|OnDoc|
2025-06-17 12:58:17.5381|DEBUG|OnDoc|
2025-06-17 12:58:17.5621|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:58:17.5621|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 12:58:26.4905|DEBUG|OnDoc|
2025-06-17 12:58:26.4905|DEBUG|OnDoc|
2025-06-17 12:58:26.5163|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 12:58:26.5163|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 13:17:23.8246|DEBUG|OnDoc|
2025-06-17 13:17:23.8576|DEBUG|OnDoc|
2025-06-17 13:17:23.8845|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 13:17:23.8845|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-17 13:17:30.0037|DEBUG|OnDoc|
2025-06-17 13:17:30.0037|DEBUG|OnDoc|
2025-06-17 13:17:30.0350|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-06-17 13:17:30.0350|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-06-18 12:53:38.1850|DEBUG|OnDoc|
2025-06-18 12:53:38.2801|DEBUG|OnDoc|
2025-06-18 12:53:56.8910|DEBUG|OnDoc|
2025-06-18 12:53:56.8910|DEBUG|OnDoc|
2025-06-18 12:54:04.5085|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 12:54:04.5444|DEBUG|OnDoc|
2025-06-18 12:54:04.5652|DEBUG|OnDoc|
2025-06-18 12:54:04.5652|DEBUG|OnDoc|
2025-06-18 12:54:04.5652|DEBUG|OnDoc|
2025-06-18 12:54:04.5652|DEBUG|OnDoc|
2025-06-18 12:54:04.5652|DEBUG|OnDoc|
2025-06-18 12:54:04.5767|DEBUG|OnDoc|
2025-06-18 12:54:04.5767|DEBUG|OnDoc|
2025-06-18 12:54:05.9149|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 12:54:05.9241|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Fast
2025-06-18 12:54:06.0747|DEBUG|OnDoc|Ende Transfer to OnBase:"XTQZW3"
2025-06-18 12:54:06.0954|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 0/0 / "XTQZW3"
2025-06-18 12:54:06.0954|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 12:54:06.0954|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 12:54:06.0954|DEBUG|OnDoc|
2025-06-18 12:54:06.0954|DEBUG|OnDoc|
2025-06-18 12:54:06.1074|DEBUG|OnDoc|
2025-06-18 12:54:06.1452|DEBUG|OnDoc|
2025-06-18 12:54:06.1452|DEBUG|OnDoc|
2025-06-18 12:54:06.1668|ERROR|OnDoc|Ungültiger Objektname "edoka_journale.dbo.OnDoc_Wiederbearbietung".
2025-06-18 12:54:29.9338|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 12:54:34.2164|DEBUG|OnDoc|
2025-06-18 12:54:34.2783|DEBUG|OnDoc|
2025-06-18 12:54:37.5232|DEBUG|OnDoc|
2025-06-18 12:54:37.5584|DEBUG|OnDoc|
2025-06-18 12:54:48.4861|DEBUG|OnDoc|
2025-06-18 12:54:48.5267|DEBUG|OnDoc|
2025-06-18 12:55:11.5647|DEBUG|OnDoc|
2025-06-18 12:55:11.6041|DEBUG|OnDoc|
2025-06-18 12:55:46.3218|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 12:55:51.4069|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:01:16.9129|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:01:17.2182|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:01:17.2328|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:11:02.4972|DEBUG|OnDoc|
2025-06-18 13:11:02.8025|DEBUG|OnDoc|
2025-06-18 13:11:02.8472|DEBUG|OnDoc|
2025-06-18 13:11:02.8472|DEBUG|OnDoc|
2025-06-18 13:11:05.2062|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:11:05.2062|DEBUG|OnDoc|
2025-06-18 13:11:05.2437|DEBUG|OnDoc|
2025-06-18 13:11:05.2437|DEBUG|OnDoc|
2025-06-18 13:11:05.2487|DEBUG|OnDoc|
2025-06-18 13:11:05.2487|DEBUG|OnDoc|
2025-06-18 13:11:05.2487|DEBUG|OnDoc|
2025-06-18 13:11:17.2439|DEBUG|OnDoc|
2025-06-18 13:11:17.2809|DEBUG|OnDoc|
2025-06-18 13:11:27.3976|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:11:27.4327|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:11:27.5688|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:11:27.5782|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:11:27.5782|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:11:27.5943|ERROR|OnDoc|Das Objekt des Typs "System.Web.Http.Results.NegotiatedContentResult`1[System.String]" kann nicht in Typ "System.Net.Http.HttpResponseMessage" umgewandelt werden.
2025-06-18 13:12:34.6672|DEBUG|OnDoc|
2025-06-18 13:12:34.7517|DEBUG|OnDoc|
2025-06-18 13:12:34.8351|DEBUG|OnDoc|
2025-06-18 13:12:34.8454|DEBUG|OnDoc|
2025-06-18 13:12:35.6956|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:12:35.7041|DEBUG|OnDoc|
2025-06-18 13:12:35.7279|DEBUG|OnDoc|
2025-06-18 13:12:35.7279|DEBUG|OnDoc|
2025-06-18 13:12:35.7338|DEBUG|OnDoc|
2025-06-18 13:12:35.7338|DEBUG|OnDoc|
2025-06-18 13:12:35.7338|DEBUG|OnDoc|
2025-06-18 13:12:36.4677|DEBUG|OnDoc|
2025-06-18 13:12:36.4677|DEBUG|OnDoc|
2025-06-18 13:12:39.5643|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:12:39.5999|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:12:39.7307|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:12:39.7404|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:12:39.7404|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:12:39.7553|ERROR|OnDoc|Das Objekt des Typs "System.Web.Http.Results.NegotiatedContentResult`1[System.String]" kann nicht in Typ "System.Net.Http.HttpResponseMessage" umgewandelt werden.
2025-06-18 13:14:23.0595|DEBUG|OnDoc|
2025-06-18 13:14:23.1181|DEBUG|OnDoc|
2025-06-18 13:14:24.5511|DEBUG|OnDoc|
2025-06-18 13:14:24.5511|DEBUG|OnDoc|
2025-06-18 13:14:26.0091|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:14:26.0192|DEBUG|OnDoc|
2025-06-18 13:14:26.0423|DEBUG|OnDoc|
2025-06-18 13:14:26.0448|DEBUG|OnDoc|
2025-06-18 13:14:26.0448|DEBUG|OnDoc|
2025-06-18 13:14:26.0448|DEBUG|OnDoc|
2025-06-18 13:14:26.0448|DEBUG|OnDoc|
2025-06-18 13:14:34.1950|DEBUG|OnDoc|
2025-06-18 13:14:34.2328|DEBUG|OnDoc|
2025-06-18 13:14:37.6357|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:14:37.6709|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:14:37.8008|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:14:37.8008|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:14:37.8160|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:14:37.8160|ERROR|OnDoc|Das Objekt des Typs "System.Web.Http.Results.NegotiatedContentResult`1[System.String]" kann nicht in Typ "System.Net.Http.HttpResponseMessage" umgewandelt werden.
2025-06-18 13:14:45.3834|DEBUG|OnDoc|
2025-06-18 13:14:45.4332|DEBUG|OnDoc|
2025-06-18 13:14:52.9685|DEBUG|OnDoc|
2025-06-18 13:14:52.9685|DEBUG|OnDoc|
2025-06-18 13:15:05.7822|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785
2025-06-18 13:15:06.8405|DEBUG|OnDoc|
2025-06-18 13:15:06.8713|DEBUG|OnDoc|
2025-06-18 13:15:08.5305|DEBUG|OnDoc|
2025-06-18 13:15:08.5305|DEBUG|OnDoc|
2025-06-18 13:15:09.5552|DEBUG|OnDoc|
2025-06-18 13:15:09.5718|DEBUG|OnDoc|
2025-06-18 13:15:22.8062|DEBUG|OnDoc|
2025-06-18 13:15:22.8439|DEBUG|OnDoc|
2025-06-18 13:15:32.4763|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:15:32.5116|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Fast
2025-06-18 13:15:32.5710|DEBUG|OnDoc|Ende Transfer to OnBase:"MNMCJP"
2025-06-18 13:15:40.5452|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785 / 0/0 / "MNMCJP"
2025-06-18 13:15:41.9681|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 13:15:41.9833|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 13:15:45.5529|DEBUG|OnDoc|
2025-06-18 13:15:45.6218|DEBUG|OnDoc|
2025-06-18 13:15:45.6258|DEBUG|OnDoc|
2025-06-18 13:15:45.6258|DEBUG|OnDoc|
2025-06-18 13:15:45.6258|DEBUG|OnDoc|
2025-06-18 13:15:45.6538|ERROR|OnDoc|Ungültiger Objektname "edoka_journale.dbo.OnDoc_Wiederbearbietung".
2025-06-18 13:39:23.0505|DEBUG|OnDoc|
2025-06-18 13:39:23.1104|DEBUG|OnDoc|
2025-06-18 13:39:23.1607|DEBUG|OnDoc|
2025-06-18 13:39:23.1607|DEBUG|OnDoc|
2025-06-18 13:39:39.8207|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:39:39.8287|DEBUG|OnDoc|
2025-06-18 13:39:39.8582|DEBUG|OnDoc|
2025-06-18 13:39:39.8582|DEBUG|OnDoc|
2025-06-18 13:39:39.8582|DEBUG|OnDoc|
2025-06-18 13:39:39.8582|DEBUG|OnDoc|
2025-06-18 13:39:39.8582|DEBUG|OnDoc|
2025-06-18 13:39:41.2396|DEBUG|OnDoc|
2025-06-18 13:39:41.2762|DEBUG|OnDoc|
2025-06-18 13:39:42.6957|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:39:42.7053|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:39:42.8426|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:39:42.8426|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:39:42.8591|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:44:10.1346|DEBUG|OnDoc|
2025-06-18 13:44:10.1852|DEBUG|OnDoc|
2025-06-18 13:44:10.2333|DEBUG|OnDoc|
2025-06-18 13:44:10.2333|DEBUG|OnDoc|
2025-06-18 13:44:13.0866|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:44:13.0962|DEBUG|OnDoc|
2025-06-18 13:44:13.1346|DEBUG|OnDoc|
2025-06-18 13:44:13.1346|DEBUG|OnDoc|
2025-06-18 13:44:13.1391|DEBUG|OnDoc|
2025-06-18 13:44:13.1391|DEBUG|OnDoc|
2025-06-18 13:44:13.1391|DEBUG|OnDoc|
2025-06-18 13:44:17.1690|DEBUG|OnDoc|
2025-06-18 13:44:17.2063|DEBUG|OnDoc|
2025-06-18 13:44:18.4420|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:44:18.4521|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:44:18.5808|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:44:18.5808|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:44:18.5985|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:50:17.2902|DEBUG|OnDoc|
2025-06-18 13:50:17.3697|DEBUG|OnDoc|
2025-06-18 13:50:17.4388|DEBUG|OnDoc|
2025-06-18 13:50:17.4388|DEBUG|OnDoc|
2025-06-18 13:50:17.4733|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 13:50:17.4733|DEBUG|OnDoc|
2025-06-18 13:50:17.4987|DEBUG|OnDoc|
2025-06-18 13:50:17.4987|DEBUG|OnDoc|
2025-06-18 13:50:17.4987|DEBUG|OnDoc|
2025-06-18 13:50:17.4987|DEBUG|OnDoc|
2025-06-18 13:50:17.4987|DEBUG|OnDoc|
2025-06-18 13:50:21.4349|DEBUG|OnDoc|
2025-06-18 13:50:21.5118|DEBUG|OnDoc|
2025-06-18 13:50:45.2824|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 13:50:47.1031|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 13:51:35.5748|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 13:51:36.6157|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 13:51:36.6333|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:25:03.0467|DEBUG|OnDoc|
2025-06-18 14:25:03.1089|DEBUG|OnDoc|
2025-06-18 14:25:03.1631|DEBUG|OnDoc|
2025-06-18 14:25:03.1631|DEBUG|OnDoc|
2025-06-18 14:25:03.1917|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 14:25:03.1917|DEBUG|OnDoc|
2025-06-18 14:25:03.2238|DEBUG|OnDoc|
2025-06-18 14:25:03.2238|DEBUG|OnDoc|
2025-06-18 14:25:03.2238|DEBUG|OnDoc|
2025-06-18 14:25:03.2238|DEBUG|OnDoc|
2025-06-18 14:25:03.2338|DEBUG|OnDoc|
2025-06-18 14:25:06.6541|DEBUG|OnDoc|
2025-06-18 14:25:06.6541|DEBUG|OnDoc|
2025-06-18 14:25:14.4017|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:25:14.4106|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:25:28.3143|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:25:28.8243|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:25:28.8419|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:25:50.9060|DEBUG|OnDoc|
2025-06-18 14:25:50.9293|DEBUG|OnDoc|
2025-06-18 14:25:50.9603|DEBUG|OnDoc|
2025-06-18 14:25:50.9603|DEBUG|OnDoc|
2025-06-18 14:25:50.9804|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785
2025-06-18 14:25:50.9823|DEBUG|OnDoc|
2025-06-18 14:25:51.0026|DEBUG|OnDoc|
2025-06-18 14:25:51.0026|DEBUG|OnDoc|
2025-06-18 14:25:51.0026|DEBUG|OnDoc|
2025-06-18 14:25:51.0026|DEBUG|OnDoc|
2025-06-18 14:25:51.0026|DEBUG|OnDoc|
2025-06-18 14:26:00.7173|DEBUG|OnDoc|
2025-06-18 14:26:00.7550|DEBUG|OnDoc|
2025-06-18 14:26:13.6483|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:26:13.6844|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:26:19.0193|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:26:19.2431|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 14:26:19.2596|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 14:27:12.9734|DEBUG|OnDoc|
2025-06-18 14:27:13.0608|DEBUG|OnDoc|
2025-06-18 14:27:13.1116|DEBUG|OnDoc|
2025-06-18 14:27:13.1116|DEBUG|OnDoc|
2025-06-18 14:27:13.1446|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 14:27:13.1446|DEBUG|OnDoc|
2025-06-18 14:27:13.1737|DEBUG|OnDoc|
2025-06-18 14:27:13.1737|DEBUG|OnDoc|
2025-06-18 14:27:13.1737|DEBUG|OnDoc|
2025-06-18 14:27:13.1737|DEBUG|OnDoc|
2025-06-18 14:27:13.1737|DEBUG|OnDoc|
2025-06-18 14:27:18.1815|DEBUG|OnDoc|
2025-06-18 14:27:18.2209|DEBUG|OnDoc|
2025-06-18 14:27:24.0006|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:27:24.0353|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:27:34.6764|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:27:35.2486|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:27:35.2655|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:31:02.1381|DEBUG|OnDoc|
2025-06-18 14:31:02.1662|DEBUG|OnDoc|
2025-06-18 14:31:02.1959|DEBUG|OnDoc|
2025-06-18 14:31:02.1959|DEBUG|OnDoc|
2025-06-18 14:31:02.2169|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785
2025-06-18 14:31:02.2169|DEBUG|OnDoc|
2025-06-18 14:31:02.2451|DEBUG|OnDoc|
2025-06-18 14:31:02.2451|DEBUG|OnDoc|
2025-06-18 14:31:02.2482|DEBUG|OnDoc|
2025-06-18 14:31:02.2482|DEBUG|OnDoc|
2025-06-18 14:31:02.2482|DEBUG|OnDoc|
2025-06-18 14:31:02.2482|DEBUG|OnDoc|
2025-06-18 14:31:02.2482|DEBUG|OnDoc|
2025-06-18 14:31:02.3064|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:31:02.3064|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:31:02.3447|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:31:02.3447|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 14:31:02.3447|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 14:32:04.5871|DEBUG|OnDoc|
2025-06-18 14:32:04.6607|DEBUG|OnDoc|
2025-06-18 14:32:04.7143|DEBUG|OnDoc|
2025-06-18 14:32:04.7143|DEBUG|OnDoc|
2025-06-18 14:32:04.7425|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777
2025-06-18 14:32:04.7425|DEBUG|OnDoc|
2025-06-18 14:32:04.7705|DEBUG|OnDoc|
2025-06-18 14:32:04.7705|DEBUG|OnDoc|
2025-06-18 14:32:04.7705|DEBUG|OnDoc|
2025-06-18 14:32:04.7705|DEBUG|OnDoc|
2025-06-18 14:32:04.7705|DEBUG|OnDoc|
2025-06-18 14:32:04.7805|DEBUG|OnDoc|
2025-06-18 14:32:04.7805|DEBUG|OnDoc|
2025-06-18 14:32:06.0361|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:32:06.0451|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:32:06.1707|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524777 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:32:06.1707|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:32:06.1867|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524777
2025-06-18 14:33:01.1565|DEBUG|OnDoc|
2025-06-18 14:33:01.2108|DEBUG|OnDoc|
2025-06-18 14:33:01.2422|DEBUG|OnDoc|
2025-06-18 14:33:01.2422|DEBUG|OnDoc|
2025-06-18 14:33:01.2642|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785
2025-06-18 14:33:01.2642|DEBUG|OnDoc|
2025-06-18 14:33:01.2893|DEBUG|OnDoc|
2025-06-18 14:33:01.2893|DEBUG|OnDoc|
2025-06-18 14:33:01.2893|DEBUG|OnDoc|
2025-06-18 14:33:01.2893|DEBUG|OnDoc|
2025-06-18 14:33:01.2974|DEBUG|OnDoc|
2025-06-18 14:33:01.2974|DEBUG|OnDoc|
2025-06-18 14:33:01.2974|DEBUG|OnDoc|
2025-06-18 14:33:01.3509|DEBUG|OnDoc|Start Transfer to OnBase
2025-06-18 14:33:01.3509|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Revision
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524785
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524785

Binary file not shown.

Binary file not shown.

@ -117,7 +117,7 @@
//
this.sfButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F);
this.sfButton1.Location = new System.Drawing.Point(6, 110);
this.sfButton1.Name = "sfButton1";
this.sfButton1.Name = "sn3fButton1";
this.sfButton1.Size = new System.Drawing.Size(162, 28);
this.sfButton1.TabIndex = 7;
this.sfButton1.Text = "Neues Dokument erstellen";

File diff suppressed because it is too large Load Diff

@ -73,6 +73,16 @@ namespace OnDoc.Diverses
{
btnSaveForUser.Visible = true;
}
if (AppParams.SignaturePassword.ToString() != "")
{
button1.Visible = false;
button3.Visible = true;
}
else
{
button1.Visible = true;
button3.Visible = false;
}
load_adressen();
}
@ -468,7 +478,12 @@ namespace OnDoc.Diverses
private void button2_Click(object sender, EventArgs e)
{
GrpGetSignature.Visible = true;
if (AppParams.SignApp != "")
{
System.Diagnostics.Process.Start(AppParams.SignApp);
}
else
{ GrpGetSignature.Visible = true; }
}
private void label15_Click(object sender, EventArgs e)
@ -851,6 +866,19 @@ namespace OnDoc.Diverses
GrpBoxMitarbeiter.Visible = false;
GrpGAS.Visible = true;
}
private void button3_Click_1(object sender, EventArgs e)
{
string unterschrift = get_unterschrift(this.tgnummer);
string ss = Newtonsoft.Json.JsonConvert.DeserializeObject<string>(unterschrift);
MemoryStream mssign = new MemoryStream(Convert.FromBase64String(ss));
System.Drawing.Image img = System.Drawing.Image.FromStream(mssign);
pictureBox1.Image = img;
mssign.Close();
mssign.Dispose();
}
}
}

@ -40,9 +40,10 @@
this.pictureBox1.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.ErrorImage")));
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
this.pictureBox1.Location = new System.Drawing.Point(104, 25);
this.pictureBox1.Location = new System.Drawing.Point(139, 31);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(261, 258);
this.pictureBox1.Size = new System.Drawing.Size(348, 318);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
@ -50,9 +51,10 @@
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(164, 304);
this.label1.Location = new System.Drawing.Point(219, 374);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(122, 26);
this.label1.Size = new System.Drawing.Size(151, 31);
this.label1.TabIndex = 1;
this.label1.Text = "Version 1.6";
//
@ -60,23 +62,25 @@
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(159, 330);
this.label2.Location = new System.Drawing.Point(207, 406);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(130, 26);
this.label2.Size = new System.Drawing.Size(176, 31);
this.label2.TabIndex = 2;
this.label2.Text = "5. Juni 2025";
this.label2.Text = "17. Juni 2025";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// SplashScreen
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(469, 396);
this.ClientSize = new System.Drawing.Size(625, 487);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "SplashScreen";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SplashScreen";

@ -67,6 +67,8 @@ namespace OnDoc.Klassen
public static bool versandstrassewindows_open { get; set; } = false;
public static bool AutomArchivierung { get; set; } = false;
public static string SignApp { get; set; } = "";
static AppParams()
{
@ -105,6 +107,7 @@ namespace OnDoc.Klassen
SignaturePassword = db.dsdaten.Tables[0].Rows[0][20].ToString();
Environment = db.dsdaten.Tables[0].Rows[0][21].ToString();
AutomArchivierung = db.dsdaten.Tables[0].Rows[0][22].ToString() == "TRUE";
SignApp = db.dsdaten.Tables[0].Rows[0][23].ToString();
}
else
{

@ -144,6 +144,7 @@ namespace OnDoc
dokList1.mitarbeiternr = AppParams.CurrentMitarbeiter;
dokList1.load_Profile();
dokList1.load_Profile();
dokList1.refresh_dokumente();
dokList1.set_functions();
@ -325,7 +326,7 @@ namespace OnDoc
case 3:
Logging.DocLog.Info("Archiviertes Dokument wieder bearbeiten '" + ExternalCall.dokumentid ,"OnDoc",ExternalCall.dokumentid, "", "Dokument erneut bearbeiten");
DB db1 = new DB(AppParams.connectionstring);
db1.dokument_reaktivieren(ExternalCall.dokumentid, AppParams.CurrentMitarbeiter.ToString());
db1.dokument_reaktivieren(ExternalCall.dokumentid, AppParams.CurrentMitarbeiter.ToString(),1);
dokList1.dokument_bearbeiten(ExternalCall.dokumentid, false);
db1 = null;

@ -1608,6 +1608,15 @@ namespace OnDoc.UICintrols
string responseContent = reader.ReadToEnd();
if (responseContent.Contains("Hinweismeldung:"))
{
DB db = new DB(AppParams.connectionstring);
if (db.dokument_in_wiederbearbeitung(documentid))
{
MessageBox.Show("Die Archivierung des Dokumentes " + documentid + " wurde nicht durchgeführt:" + Environment.NewLine + responseContent+Environment.NewLine+Environment.NewLine+"Stelle im OnBase sicher, dass du das wiederbearbeitete Dokument nicht anzeigst und dadurch die Bearbeitung/Archivierung blockierst.");
db = null;
return;
}
db = null;
MessageBox.Show("Die Archivierung des Dokumentes " + documentid + " wurde nicht durchgeführt:" + Environment.NewLine + responseContent);
return;
}
@ -1624,6 +1633,14 @@ namespace OnDoc.UICintrols
}
catch (Exception ex)
{
DB db = new DB(AppParams.connectionstring);
if (db.dokument_in_wiederbearbeitung(documentid))
{
MessageBox.Show("Die Archivierung des Dokumentes " + documentid + " konnte nicht durchgeführt werden:" + Environment.NewLine + "Fehler: " + ex.Message + Environment.NewLine + Environment.NewLine + "Stelle im OnBase sicher, dass du das wiederbearbeitete Dokument nicht anzeigst und dadurch die Bearbeitung/Archivierung blockierst.");
db = null;
return;
}
db = null;
MessageBox.Show("Die Archivierung des Dokumentes " + documentid + " konnte nicht durchgeführt werden." + Environment.NewLine + "Fehler: " + ex.Message);
}
}

@ -783,6 +783,14 @@ namespace OnDoc.UIControls
dokdata.postzustellung = cbboxpostzustellung.SelectedValue.ToString();
}
catch { dokdata.postzustellung = "0"; }
try
{
if (cbboxpostzustellung.Text == "")
{
dokdata.postzustellung = "0";
}
}
catch { }
if (List_avqref.Count > 0) { dokdata.avq_authl_ref=List_avqref; }

@ -364,7 +364,7 @@ namespace OnDoc.Versandstrasse
foreach (TreeNodeAdv dokumentnode in node.Nodes)
{
//node.LeftImageIndices = new int[] { 0 };
db.Get_Tabledata("SELECT dbo.dokument.nrpar00, dbo.dokument.dokumentid, isnull(dbo.dokumenttyp.Versandstrasse_moeglich,0) as vsm, isnull(dbo.dokumenttyp.versandstrasse_firstdoc,0) as firstdoc FROM dbo.dokument INNER JOIN " +
db.Get_Tabledata("SELECT dbo.dokument.nrpar00, dbo.dokument.dokumentid, isnull(dbo.dokumenttyp.Versandstrasse_moeglich,0) as vsm, isnull(dbo.dokumenttyp.versandstrasse_firstdoc,0) as firstdoc, isnull(postzustellung,0) as postzustellung FROM dbo.dokument INNER JOIN " +
" dbo.dokumenttyp ON dbo.dokument.dokumenttypnr = dbo.dokumenttyp.dokumenttypnr where dbo.dokument.dokumentid='" + dokumentnode.Tag + "'", false, true);
//BP-Verifikation
//if (currentbp != Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["nrpar00"]))
@ -383,6 +383,12 @@ namespace OnDoc.Versandstrasse
}
else
{
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["Postzustellung"]) > 1)
{
set_nodeimage(dokumentnode, 2);
versandbereit = false;
add_errormessage(2, "Im Versand-Couvert liegt an erster Position ein Dokument, bei welchem die Postzustellung festgelegt wurde.");
}
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["firstdoc"]) == 0)
{
if (nodecounter == 0) { set_nodeimage(dokumentnode, 4);versandbereit = false; add_errormessage(2,"Im Versand-Couvert liegt an erster Position ein Dokument, welches nicht als vorderstes Dokument tauglich ist"); }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -101,12 +101,17 @@ if (docdata.Bezeichnung.Contains("QDF"))
docdata.prefix = Prefix;
switch (Apptype.ToUpper())
{
case "DOCX": case "DOCM": case "DOC": case "DOT":
case "WORD": case "DOTM":
case "DOCX":
case "DOCM":
case "DOC":
case "DOT":
case "WORD":
case "DOTM":
SyncFWord sfword = new SyncFWord(resturi, apikey);
generate_docdata(dokumentid, ref docdata);
clsdok dok = new clsdok("", "", "", "");
if (useoffice == false) {
if (useoffice == false)
{
Logging.Logging.Debug("Generate_Word", "Start", dokumentid);
if (docdata.remove_signature)
{
@ -138,7 +143,11 @@ if (docdata.Bezeichnung.Contains("QDF"))
dok.extension = dt2.Rows[0][1].ToString();
//if (dok.extension.ToUpper()=="DOTM") { dok.extension = "docm"; }
return dok;
case "XLSM": case "XLSX": case "XLST": case "XLS": case "XLT":
case "XLSM":
case "XLSX":
case "XLST":
case "XLS":
case "XLT":
case "XLTM":
case "EXCEL":
@ -161,7 +170,10 @@ if (docdata.Bezeichnung.Contains("QDF"))
}
return dokexcel;
//break;
case "PDF": case "ACROBAT": case "FORMULAR": case "DOKUMENT":
case "PDF":
case "ACROBAT":
case "FORMULAR":
case "DOKUMENT":
clsdok dokpdf = new clsdok("", "", "", "");
dokpdf.dokument = dt.Rows[0][0].ToString();
dokpdf.extension = Extension;

@ -276,7 +276,7 @@ namespace DOCGEN.Klassen
if (docdata.Barcode == true)
{
//20250531 - Barcode nicht beim Serienbrief
if (!serienbrief && !editdoc) Insert_Barcode(document, docdata);
if (!serienbrief) Insert_Barcode(document, docdata);
}
if (docdata.PrintLogo == true)
{
@ -553,7 +553,8 @@ namespace DOCGEN.Klassen
string[] parts = phrase.Split(':');
variable = parts[0];
inhalt = parts[1];
} else { }
}
else { }
if (document.ProtectionType == ProtectionType.NoProtection)
@ -1012,12 +1013,18 @@ namespace DOCGEN.Klassen
IWSection section = document.Sections[0];
if (section.PageSetup.DifferentFirstPage == true)
{
WParagraph FirstfooterPar = new WParagraph(document);
FirstfooterPar.ChildEntities.Add(picture);
if (section.HeadersFooters.FirstPageFooter.Paragraphs.Count > 0)
{
section.HeadersFooters.FirstPageFooter.Paragraphs.RemoveAt(section.HeadersFooters.FirstPageFooter.Paragraphs.Count - 1);
}
section.HeadersFooters.FirstPageFooter.Paragraphs.Add(FirstfooterPar);
}
WParagraph footerPar = new WParagraph(document);
footerPar.ChildEntities.Add(picture2);
if (section.HeadersFooters.Footer.Count > 0) { section.HeadersFooters.Footer.Paragraphs.RemoveAt(section.HeadersFooters.Footer.Paragraphs.Count-1); }
section.HeadersFooters.Footer.Paragraphs.Add(footerPar);
//}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -2263,15 +2263,25 @@ namespace Database
//return true;
}
public bool dokument_reaktivieren(string dokumentid, string mitarbeiternr)
public bool dokument_reaktivieren(string dokumentid, string mitarbeiternr, int wiederbearbeitung=0)
{
clear_parameter();
add_parameter("@fnkt", "12");
add_parameter("@dokumentid", dokumentid);
add_parameter("@value1", mitarbeiternr);
add_parameter("@value2", wiederbearbeitung.ToString());
Get_Tabledata("sp_edoka_onbase", true, false);
return true;
}
public bool dokument_in_wiederbearbeitung(string dokumentid)
{
clear_parameter();
add_parameter("@fnkt", "13");
add_parameter("@dokumentid", dokumentid);
Get_Tabledata("sp_edoka_onbase", true, false);
if (Convert.ToInt32(dsdaten.Tables[0].Rows[0][0]) > 0) { return true; } else { return false; };
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,5 +1,6 @@
using Microsoft.Office.Interop.Excel;
using Microsoft.Office.Interop.Word;
using Model;
using System;
using System.Collections.Generic;
@ -60,6 +61,7 @@ namespace OnDocOffice
try
{
excel = new Microsoft.Office.Interop.Excel.Application();
excel.AutomationSecurity = Microsoft.Office.Core.MsoAutomationSecurity.msoAutomationSecurityByUI;
return true;
}
catch
@ -344,6 +346,7 @@ namespace OnDocOffice
////ExcelInst.Visible = true;
word = (Microsoft.Office.Interop.Word.Application)Interaction.CreateObject("Word.Application");
word.AutomationSecurity = Microsoft.Office.Core.MsoAutomationSecurity.msoAutomationSecurityByUI;
//word = new Microsoft.Office.Interop.Word.Application();
word.Run("Autoexec");
word.NormalTemplate.Saved = true;

@ -33,25 +33,6 @@
<value>x:\ondoc_archivierung_batch_log.txt</value>
</setting>
</OnDoc_ArchivierungBatch.Properties.Settings>
<OnDoc_Paketversand.Properties.Settings>
<setting name="Connectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="RESTURI" serializeAs="String">
<value>https://localhost:44334/</value>
</setting>
<setting name="APIKey" serializeAs="String">
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
</setting>
<setting name="LogConnectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="adminmail" serializeAs="String">
<value>dm@tkb.ch</value>
</setting>
<setting name="prefix_betreff" serializeAs="String">
<value>INT: </value>
</setting>
</OnDoc_Paketversand.Properties.Settings>
</userSettings>
</configuration>

@ -21,6 +21,7 @@ namespace OnDoc_ArchivierungBatch
private static int total = 0;
private static int ok = 0;
private static int error = 0;
private static int docerror = 0;
static void Main(string[] args)
{
@ -39,7 +40,7 @@ namespace OnDoc_ArchivierungBatch
private static void archivedoc(string documentid)
{
write_log(documentid);
string URL = Properties.Settings.Default.RESTURI + "api/ /ArchiveDocFromDatabase?dokumentid=" + documentid;
string URL = Properties.Settings.Default.RESTURI + "api/ArchiveDocFromDatabase?dokumentid=" + documentid;
HttpWebRequest webRequest = HttpWebRequest.Create(URL) as HttpWebRequest;
webRequest.Method = WebRequestMethods.Http.Get;
@ -56,14 +57,17 @@ namespace OnDoc_ArchivierungBatch
{
write_log("Die Archivierung des Dokumentes " + documentid + " wurde nicht durchgeführt:" + Environment.NewLine + responseContent);
error = error + 1;
docerror = 1;
return;
}
ok = ok + 1;
}
else
{
write_log("Die Archivierung des Dokumentes " + documentid + " wurde abgebrochen." + Environment.NewLine + "Fehler: " + response.StatusDescription);
error = error + 1;
docerror = 1;
}
}
@ -72,17 +76,37 @@ namespace OnDoc_ArchivierungBatch
{
write_log("Die Archivierung des Dokumentes " + documentid + " konnte nicht durchgeführt werden." + Environment.NewLine + "Fehler: " + ex.Message);
error = error + 1;
docerror = 1;
}
}
public static void Exec_SQL(string sql)
{
SqlConnection sqlconnect = new SqlConnection();
SqlCommand sqlcmd = new SqlCommand();
sqlcmd.Connection = sqlconnect;
sqlconnect.ConnectionString = Properties.Settings.Default.Connectionstring;
sqlcmd.CommandType = CommandType.Text;
sqlcmd.CommandText = sql;
sqlcmd.Connection.Open();
sqlcmd.ExecuteNonQuery();
sqlcmd.Connection.Close();
}
private static void run()
{
connectionstring = Properties.Settings.Default.Connectionstring;
Get_Tabledata("Select dokumentid from dokument where automatischearchivierung=1 and isnull(utomatischarchiviertam,0)=0");
Get_Tabledata("Select dokumentid from dokument where automatischearchivierung=1 and dbo.fnkt_check_archived(dokumentid)=0 and dokumentid not in (select dokumentid from dokinbearbeitung where dokumentid=dokument.dokumentid) ",false,true);
foreach (System.Data.DataRow dr in dsdaten.Tables[0].Rows)
{
docerror = 0;
archivedoc(dr[0].ToString());
if (docerror == 0)
{
Exec_SQL("Update dokument set automatischarchiviertam=getdate() where dokumentid='" + dr[0].ToString() + "'");
}
}
}

@ -33,25 +33,6 @@
<value>x:\ondoc_archivierung_batch_log.txt</value>
</setting>
</OnDoc_ArchivierungBatch.Properties.Settings>
<OnDoc_Paketversand.Properties.Settings>
<setting name="Connectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_dms;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="RESTURI" serializeAs="String">
<value>https://localhost:44334/</value>
</setting>
<setting name="APIKey" serializeAs="String">
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
</setting>
<setting name="LogConnectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="adminmail" serializeAs="String">
<value>dm@tkb.ch</value>
</setting>
<setting name="prefix_betreff" serializeAs="String">
<value>INT: </value>
</setting>
</OnDoc_Paketversand.Properties.Settings>
</userSettings>
</configuration>

@ -87,6 +87,7 @@ namespace OnDoc_Paketversand
{
response = reader.ReadToEnd();
}
Logging.VersandstrasseLog.Info("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Ende Versand");
if (response.ToString().Contains("archiviert"))
{
Logging.VersandstrasseLog.Info("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Ende Versand");
@ -97,7 +98,7 @@ namespace OnDoc_Paketversand
string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden.";
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
sendmail(ersteller, "OnDoc-Paketversand: Dokument nicht Versandcouvert nicht versendet", message);
sendmail(ersteller, "OnDoc-Versandstrasse: Versandcouvert nicht versendet", message);
Logging.VersandstrasseLog.Error("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Ende Versand");
error = error + 1;
@ -109,8 +110,10 @@ namespace OnDoc_Paketversand
}
catch (Exception ex)
{
Logging.VersandstrasseLog.Error("Paket-Verarbeitung", "OnDoc-Paketversand", dr[0].ToString(), vp.partnernr.ToString(), "Ende Versand - " + ex.Message);
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", ex.Message);
string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden."+Environment.NewLine+"("+ex.Message+")";
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
sendmail(ersteller, "OnDoc-Versandstrasse: Versandcouvert nicht versendet", message);
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
error = error + 1;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save