update 20250226
This commit is contained in:
@@ -85,12 +85,18 @@ namespace API_NetFramework.Controllers
|
||||
try
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Start Adresse GetByID ID:"+ID, LogLevelType.Debug);
|
||||
|
||||
Database.DB db = new Database.DB(connectionstring);
|
||||
string SQL = "Select * from Antwortadresse where id=" + ID;
|
||||
if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
db.Get_Tabledata(SQL, false, true);
|
||||
//if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
//if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
//db.Get_Tabledata(SQL, false, true);
|
||||
|
||||
SQL = "Select * from Antowrtadresse where id=@id for @format path";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@id", ID);
|
||||
db.add_parameter("@format", OutFormat.ToLower());
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
if (db.dsdaten.Tables[0].Rows.Count == 0) {
|
||||
APILogging.Log((HttpRequestMessage)Request, "Ende Adresse GetByID ID:" + ID, LogLevelType.Debug);
|
||||
|
||||
@@ -130,9 +136,17 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
Database.DB db = new Database.DB(connectionstring);
|
||||
string SQL = "Select * from AntwortAdresse_Mitarbeiter where aktiv=1 and tgnummer='" + tgnummer + "' order by bezeichnung ";
|
||||
if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
db.Get_Tabledata(SQL, false, true);
|
||||
//if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
//if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
//db.Get_Tabledata(SQL, false, true);
|
||||
|
||||
SQL = "Select * from AntwortAdresse_Mitarbeiter where aktiv=1 and tgnummer=@tgnummer order by bezeichnung ";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@tgnummer", tgnummer);
|
||||
db.add_parameter("@format", OutFormat.ToLower());
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
|
||||
if (db.dsdaten.Tables[0].Rows.Count == 0) {
|
||||
APILogging.Log((HttpRequestMessage)Request, "Ende Adresse GetAllMitarbeiterByTGNummer", LogLevelType.Debug);
|
||||
|
||||
@@ -171,9 +185,17 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
Database.DB db = new Database.DB(connectionstring);
|
||||
string SQL = "Select * from AntwortAdresse_Mitarbeiter where aktiv=1 and Mitarbeiternr='" + Mitarbeiternr + "' ";
|
||||
if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
db.Get_Tabledata(SQL, false, true);
|
||||
//if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
//if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
//db.Get_Tabledata(SQL, false, true);
|
||||
|
||||
SQL = "Select * from AntwortAdresse_Mitarbeiter where aktiv=1 and and Mitarbeiternr=@mitarbeiternr order by bezeichnung ";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@mitarbeiternr", Mitarbeiternr);
|
||||
db.add_parameter("@format", OutFormat.ToLower());
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
|
||||
if (db.dsdaten.Tables[0].Rows.Count == 0) {
|
||||
APILogging.Log((HttpRequestMessage)Request, "Ende Adresse GetAllMitarbeiterByMitarbeiterNr Ma-Nr:" + Mitarbeiternr, LogLevelType.Debug);
|
||||
return Ok();
|
||||
@@ -213,9 +235,16 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
Database.DB db = new Database.DB(connectionstring);
|
||||
string SQL = "Select * from AntwortAdresse_Mitarbeiter where id=" + ID;
|
||||
if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
db.Get_Tabledata(SQL, false, true);
|
||||
//if (OutFormat == "JSON") { SQL = SQL + " for json path"; }
|
||||
//if (OutFormat == "XML") { SQL = SQL + " for xml path"; }
|
||||
//db.Get_Tabledata(SQL, false, true);
|
||||
|
||||
SQL = "Select * from AntwortAdresse_Mitarbeiter where id=@id";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@id", ID);
|
||||
db.add_parameter("@format", OutFormat.ToLower());
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
if (db.dsdaten.Tables[0].Rows.Count == 0) {
|
||||
APILogging.Log((HttpRequestMessage)Request, "Ende GetMitarbeiterByID ID: " + ID, LogLevelType.Debug);
|
||||
return Ok();
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
private void Update_IL_Log(ref ILResponse ilr, string dokumentid)
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Start Updaet IL_Log: DokumentID:" + dokumentid, LogLevelType.Debug);
|
||||
APILogging.Log((HttpRequestMessage)Request, "Start Update IL_Log: DokumentID:" + dokumentid, LogLevelType.Debug);
|
||||
|
||||
DB dB = new DB(StringCipher.Decrypt(ConfigurationManager.ConnectionStrings["JournalConnectionstring"].ConnectionString, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm"));
|
||||
string sql = "Insert OnDoc_IL_Log (dokumentid, ilresponse,error, erstellt_am) values ('" + dokumentid + "',";
|
||||
@@ -95,12 +95,22 @@ namespace API_NetFramework.Controllers
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Start Check DokumentID: DokumentID:" + DokumentID, LogLevelType.Debug);
|
||||
Database.DB db = new Database.DB(connectionstring);
|
||||
db.Get_Tabledata("Select * from dokument where dokumentid = '" + DokumentID + "'", false, true);
|
||||
//db.Get_Tabledata("Select * from dokument where dokumentid = '" + DokumentID + "'", false, true);
|
||||
|
||||
string SQL = "Select * from dokument where dokumentid = @DokumentID";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@DokumentID", DokumentID);
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
return Ok(DokumentID);
|
||||
}
|
||||
db.Get_Tabledata("Select barcodenr from barcodeetikette where dokumentid='" + DokumentID + "'", false, true);
|
||||
// db.Get_Tabledata("Select barcodenr from barcodeetikette where dokumentid='" + DokumentID + "'", false, true);
|
||||
SQL = "Select barcodenr from barcodeetikette where dokumentid=@DokumentID";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@DokumentID", DokumentID);
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
return Ok(DokumentID);
|
||||
@@ -150,15 +160,24 @@ namespace API_NetFramework.Controllers
|
||||
string extension = "";
|
||||
APILogging.Log((HttpRequestMessage)Request, "Start ArchiveDocFromDatabase: DokumentID:" + DokumentID, LogLevelType.Debug);
|
||||
DB db = new DB(connectionstring);
|
||||
//db.Get_Tabledata("Select dokumenttypnr, dokumentname from dokument where dokumentid='" + DokumentID + "'", false, true);
|
||||
|
||||
string SQL = "Select dokumenttypnr, dokumentname from dokument where dokumentid=@DokumentID";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@DokumentID", DokumentID);
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
|
||||
db.Get_Tabledata("Select dokumenttypnr, dokumentname from dokument where dokumentid='" + DokumentID + "'", false, true);
|
||||
extension = System.IO.Path.GetExtension(db.dsdaten.Tables[0].Rows[0]["dokumentname"].ToString());
|
||||
doktypnr = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
db.Get_Tabledata("Select erstellunginoffice from dokumenttyp where dokumenttypnr="+doktypnr.ToString(), false, true);
|
||||
//db.Get_Tabledata("Select erstellunginoffice from dokumenttyp where dokumenttypnr="+doktypnr.ToString(), false, true);
|
||||
|
||||
SQL = "Select erstellunginoffice from dokumenttyp where dokumenttypnr=@doktypnr";
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@doktypnr", doktypnr);
|
||||
db.Get_Tabledata_Addvar(SQL, false, true);
|
||||
if (Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["Erstellunginoffice"]))
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, DokumentID + " ErstellungInOffec - EDKB02DMS", LogLevelType.Error);
|
||||
APILogging.Log((HttpRequestMessage)Request, DokumentID + " ErstellungInOffec - EDKB02DMS", LogLevelType.Debug);
|
||||
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@dokumentid", DokumentID);
|
||||
|
||||
@@ -15,6 +15,7 @@ using System.Web.Management;
|
||||
using System.Configuration;
|
||||
using SecuringWebApiUsingApiKey.Middleware;
|
||||
using System.Text;
|
||||
using System.Net.Mail;
|
||||
|
||||
namespace OnDocAPI_NetFramework.Controllers
|
||||
{
|
||||
@@ -22,9 +23,9 @@ namespace OnDocAPI_NetFramework.Controllers
|
||||
{
|
||||
string tokenfunction = "Mail";
|
||||
|
||||
[HttpGet]
|
||||
[Route("API/SendMail")]
|
||||
public IHttpActionResult SendMail(string MailID, string empfaenger, string betreff, string message, string dokumentid, string ondoclink, string absender, string bewilligungid)
|
||||
//[HttpGet]
|
||||
//[Route("API/SendPSMail")]
|
||||
private IHttpActionResult SendPSMail(string MailID, string empfaenger, string betreff, string message, string dokumentid, string ondoclink, string absender, string bewilligungid)
|
||||
{
|
||||
string connectionstring = StringCipher.Decrypt(ConfigurationManager.ConnectionStrings["EDOKAConnectionstring"].ConnectionString, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm");
|
||||
string URI = "";
|
||||
@@ -92,6 +93,8 @@ namespace OnDocAPI_NetFramework.Controllers
|
||||
s = s.Replace("$$empfaenger$$", empfaenger);
|
||||
s = s.Replace("$$betreff$$", betreff);
|
||||
s = s.Replace("$$body$$", message);
|
||||
|
||||
|
||||
string debugdir = System.Configuration.ConfigurationManager.AppSettings["DebugDir"];
|
||||
string tmpfile = debugdir + @"\Mail_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + ".ps1";
|
||||
System.IO.File.WriteAllText(tmpfile, s,new UTF8Encoding(true));
|
||||
@@ -110,5 +113,79 @@ namespace OnDocAPI_NetFramework.Controllers
|
||||
return Content(HttpStatusCode.InternalServerError, e.Message);
|
||||
}
|
||||
}
|
||||
[HttpGet]
|
||||
[Route("API/SendMail")]
|
||||
public IHttpActionResult SendMail(string MailID, string empfaenger, string betreff, string message, string dokumentid, string ondoclink, string absender, string bewilligungid)
|
||||
{
|
||||
string connectionstring = StringCipher.Decrypt(ConfigurationManager.ConnectionStrings["EDOKAConnectionstring"].ConnectionString, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm");
|
||||
string URI = "";
|
||||
|
||||
APILogging.Log((HttpRequestMessage)Request, "Mailversand: " + empfaenger + "" + betreff, LogLevelType.Debug);
|
||||
if (SecuringWebApiUsingApiKey.Middleware.ApiKeyMiddleware.Authorized((HttpRequestMessage)Request, tokenfunction) == false)
|
||||
{
|
||||
return Content(HttpStatusCode.Unauthorized, "Invalid Token or API-Key");
|
||||
}
|
||||
|
||||
if (Regex.IsMatch(empfaenger, @"^\d+$") == false && !empfaenger.ToUpper().Contains("@TKB.CH"))
|
||||
{
|
||||
return Content(HttpStatusCode.Forbidden, empfaenger + ": Email nicht bei der TKB - Mail nicht versandt");
|
||||
}
|
||||
string s = "";
|
||||
DB db = new DB(connectionstring);
|
||||
try
|
||||
{
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@mailid", MailID.ToString());
|
||||
db.add_parameter("@empf", empfaenger);
|
||||
db.add_parameter("@dokid", dokumentid);
|
||||
db.add_parameter("@absender", absender);
|
||||
db.add_parameter("@bewilligungid", bewilligungid);
|
||||
db.Get_Tabledata("sp_ondoc_maildaten", true, false);
|
||||
if (message == null) { message = ""; }
|
||||
if (betreff == null) { betreff = ""; }
|
||||
if (betreff == "") { betreff = db.dsdaten.Tables[0].Rows[0][1].ToString(); }
|
||||
if (message == "") { message = db.dsdaten.Tables[0].Rows[0][2].ToString(); }
|
||||
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][3]) == 0)
|
||||
{
|
||||
db = null;
|
||||
return Content(HttpStatusCode.OK, empfaenger + ": Mail gem. MA-Einstelung nicht zugestellt");
|
||||
}
|
||||
empfaenger = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
db = null;
|
||||
|
||||
MailMessage mail = new MailMessage();
|
||||
SmtpClient SmtpServer = new SmtpClient();
|
||||
mail.To.Add(empfaenger);
|
||||
mail.From = new MailAddress("OnDoc@tkb.ch");
|
||||
mail.Subject = betreff;
|
||||
mail.IsBodyHtml = true;
|
||||
mail.Body = message;
|
||||
SmtpServer.Host = "smtp.tgcorp.ch";
|
||||
SmtpServer.Port = 25;
|
||||
SmtpServer.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
|
||||
try
|
||||
{
|
||||
SmtpServer.Send(mail);
|
||||
APILogging.Log((HttpRequestMessage)Request, "SMTPMail Versand: " + empfaenger, LogLevelType.Debug);
|
||||
return Content(HttpStatusCode.OK, empfaenger + ": Mail versandt");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Mail Versand NOK: " + ex.Message + " " + empfaenger, LogLevelType.Debug);
|
||||
if (ex.InnerException != null)
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Mail Versand NOK - Exception Inner: " + ex.InnerException, LogLevelType.Debug);
|
||||
}
|
||||
return Content(HttpStatusCode.InternalServerError, ex.Message);
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
APILogging.Log((HttpRequestMessage)Request, "Mail Versand NOK: " + e.Message + " " + s, LogLevelType.Debug);
|
||||
return Content(HttpStatusCode.InternalServerError, e.Message);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl>
|
||||
<History>True|2025-02-25T18:05:51.2823294Z||;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-02-27T18:20:43.3755758Z||;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>
|
||||
@@ -94,10 +94,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<publishTime>02/21/2025 13:26:10</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Database.dll">
|
||||
<publishTime>02/22/2025 06:57:47</publishTime>
|
||||
<publishTime>02/27/2025 10:20:06</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Database.pdb">
|
||||
<publishTime>02/22/2025 06:57:47</publishTime>
|
||||
<publishTime>02/27/2025 10:20:06</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>02/23/2025 17:15:42</publishTime>
|
||||
<publishTime>02/27/2025 10:26:53</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DOCGEN.dll.config">
|
||||
<publishTime>12/23/2024 22:17:43</publishTime>
|
||||
</File>
|
||||
<File Include="bin/DOCGEN.pdb">
|
||||
<publishTime>02/23/2025 17:15:42</publishTime>
|
||||
<publishTime>02/27/2025 10:26:53</publishTime>
|
||||
</File>
|
||||
<File Include="bin/FastReport.Bars.dll">
|
||||
<publishTime>11/27/2023 09:49:58</publishTime>
|
||||
@@ -250,16 +250,16 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<publishTime>02/21/2025 06:22:11</publishTime>
|
||||
</File>
|
||||
<File Include="bin/OnDocOffice.dll">
|
||||
<publishTime>02/23/2025 14:53:16</publishTime>
|
||||
<publishTime>02/27/2025 10:26:53</publishTime>
|
||||
</File>
|
||||
<File Include="bin/OnDocOffice.pdb">
|
||||
<publishTime>02/23/2025 14:53:16</publishTime>
|
||||
<publishTime>02/27/2025 10:26:53</publishTime>
|
||||
</File>
|
||||
<File Include="bin/OnDoc_NetFramework.dll">
|
||||
<publishTime>02/25/2025 19:00:18</publishTime>
|
||||
<publishTime>02/27/2025 19:20:29</publishTime>
|
||||
</File>
|
||||
<File Include="bin/OnDoc_NetFramework.pdb">
|
||||
<publishTime>02/25/2025 19:00:18</publishTime>
|
||||
<publishTime>02/27/2025 19:20:29</publishTime>
|
||||
</File>
|
||||
<File Include="bin/Owin.dll">
|
||||
<publishTime>11/13/2012 13:19:34</publishTime>
|
||||
@@ -658,7 +658,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
<publishTime>06/03/2024 08:11:55</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>02/25/2025 19:04:27</publishTime>
|
||||
<publishTime>02/27/2025 18:15:20</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -32,7 +32,7 @@
|
||||
<add key="ExcelDokType" value="2421" />
|
||||
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||
<add key="URI" value="http://" />
|
||||
<add key="ArchivierungAktiv" value="False" />
|
||||
<add key="ArchivierungAktiv" value="True"></add>
|
||||
<add key="ArchivierungNoAktivMessage" value="Aufgrund von technischen Umstellung ist die Archivierung aktuell nicht aktiv." />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
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.
@@ -32,7 +32,7 @@
|
||||
<add key="ExcelDokType" value="2421" />
|
||||
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||
<add key="URI" value="http://" />
|
||||
<add key="ArchivierungAktiv" value="False" />
|
||||
<add key="ArchivierungAktiv" value="True"></add>
|
||||
<add key="ArchivierungNoAktivMessage" value="Aufgrund von technischen Umstellung ist die Archivierung aktuell nicht aktiv." />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
Binary file not shown.
@@ -5584,3 +5584,84 @@ done
|
||||
2025-02-25 21:13:44.6106|DEBUG|OnDoc|
|
||||
2025-02-25 21:13:44.6387|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-25 21:13:44.6387|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-26 14:39:49.8843|DEBUG|OnDoc|Start ArchivDocFromIRIS DokumentID: -1 'union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U'
|
||||
2025-02-26 14:39:49.9476|DEBUG|OnDoc|
|
||||
2025-02-26 14:39:49.9514|DEBUG|OnDoc|
|
||||
2025-02-26 14:39:49.9514|ERROR|OnDoc|-1 'union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U' Image des Dokuments nicht vorhanden
|
||||
2025-02-26 14:40:17.7761|DEBUG|OnDoc|Start ArchivDocFromIRIS DokumentID: -1 union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U'
|
||||
2025-02-26 14:40:17.8120|DEBUG|OnDoc|
|
||||
2025-02-26 14:40:17.8120|DEBUG|OnDoc|
|
||||
2025-02-26 14:40:17.8120|ERROR|OnDoc|-1 union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U' Image des Dokuments nicht vorhanden
|
||||
2025-02-26 14:40:42.0488|DEBUG|OnDoc|Start ArchivDocFromIRIS DokumentID: 'offedk000' union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U'
|
||||
2025-02-26 14:40:42.0851|DEBUG|OnDoc|
|
||||
2025-02-26 14:40:42.0851|DEBUG|OnDoc|
|
||||
2025-02-26 14:40:42.0851|ERROR|OnDoc|'offedk000' union select 1 as dokumenttypnr, name as dokumentname from sysobjects where xtype='U' Image des Dokuments nicht vorhanden
|
||||
2025-02-26 17:43:45.2060|DEBUG|OnDoc|Mailversand: 2
|
||||
2025-02-26 17:43:45.2810|DEBUG|OnDoc|
|
||||
2025-02-26 17:43:45.2980|DEBUG|OnDoc|
|
||||
2025-02-26 17:43:45.3157|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
|
||||
2025-02-26 17:43:50.1823|DEBUG|OnDoc|Mailversand: 2
|
||||
2025-02-26 17:43:50.2148|DEBUG|OnDoc|
|
||||
2025-02-26 17:43:50.2173|DEBUG|OnDoc|
|
||||
2025-02-26 17:43:50.2173|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
|
||||
2025-02-26 17:44:33.4232|DEBUG|OnDoc|Mailversand: 1
|
||||
2025-02-26 17:44:33.4553|DEBUG|OnDoc|
|
||||
2025-02-26 17:44:33.4553|DEBUG|OnDoc|
|
||||
2025-02-26 17:44:33.4733|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
|
||||
2025-02-26 17:44:38.0961|DEBUG|OnDoc|Mailversand: 1
|
||||
2025-02-26 17:44:38.1291|DEBUG|OnDoc|
|
||||
2025-02-26 17:44:38.1291|DEBUG|OnDoc|
|
||||
2025-02-26 17:44:38.1472|DEBUG|OnDoc|Mail Versand NOK: Spalte 1 wurde nicht gefunden.
|
||||
2025-02-27 10:27:34.3115|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-27 10:27:34.3779|DEBUG|OnDoc|
|
||||
2025-02-27 10:27:34.3953|DEBUG|OnDoc|
|
||||
2025-02-27 10:27:34.3953|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-27 10:27:42.0568|DEBUG|OnDoc|Start Adresse GetByID ID:2
|
||||
2025-02-27 10:27:42.0954|DEBUG|OnDoc|
|
||||
2025-02-27 10:27:42.1570|ERROR|OnDoc|Falsche Syntax in der Nähe von "@format".
|
||||
2025-02-27 10:27:42.2049|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-27 10:28:25.8041|DEBUG|OnDoc|Start Adresse GetByID ID:2
|
||||
2025-02-27 10:28:25.8397|DEBUG|OnDoc|
|
||||
2025-02-27 10:28:25.8607|ERROR|OnDoc|Falsche Syntax in der Nähe von "@format".
|
||||
2025-02-27 10:28:25.8766|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-27 10:28:47.1166|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-27 10:28:47.1532|DEBUG|OnDoc|
|
||||
2025-02-27 10:28:47.1702|DEBUG|OnDoc|
|
||||
2025-02-27 10:28:47.1732|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-27 10:28:54.9649|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:28:55.0008|DEBUG|OnDoc|
|
||||
2025-02-27 10:28:55.0222|ERROR|OnDoc|Falsche Syntax in der Nähe von "@format".
|
||||
2025-02-27 10:28:55.0430|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-27 10:29:06.0867|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:29:06.1222|DEBUG|OnDoc|
|
||||
2025-02-27 10:29:06.1432|ERROR|OnDoc|Falsche Syntax in der Nähe von "@format".
|
||||
2025-02-27 10:29:06.1590|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-27 10:29:47.3358|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:30:08.5554|DEBUG|OnDoc|
|
||||
2025-02-27 10:30:36.9818|ERROR|OnDoc|Falsche Syntax in der Nähe von "@format".
|
||||
2025-02-27 10:31:49.6226|DEBUG|OnDoc|
|
||||
2025-02-27 10:32:07.0842|ERROR|OnDoc|Ungültiger Objektname "Antowrtadresse".
|
||||
2025-02-27 10:32:07.1389|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-27 10:32:29.4259|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:32:33.4281|DEBUG|OnDoc|
|
||||
2025-02-27 10:32:33.4654|DEBUG|OnDoc|
|
||||
2025-02-27 10:32:34.9239|DEBUG|OnDoc|Ende Adresse GetByID ID:1
|
||||
2025-02-27 10:32:51.7366|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:32:56.0767|DEBUG|OnDoc|
|
||||
2025-02-27 10:32:56.1226|DEBUG|OnDoc|
|
||||
2025-02-27 10:32:57.5352|DEBUG|OnDoc|Ende Adresse GetByID ID:1
|
||||
2025-02-27 10:33:12.8246|ERROR|OnDoc|Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
|
||||
2025-02-27 10:33:24.4702|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:33:38.4916|DEBUG|OnDoc|
|
||||
2025-02-27 10:33:38.5303|DEBUG|OnDoc|
|
||||
2025-02-27 10:33:38.5303|DEBUG|OnDoc|Ende Adresse GetByID ID:1
|
||||
2025-02-27 10:33:38.5506|ERROR|OnDoc|Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
|
||||
2025-02-27 10:34:02.1654|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:34:11.1814|DEBUG|OnDoc|
|
||||
2025-02-27 10:34:11.2177|DEBUG|OnDoc|
|
||||
2025-02-27 10:34:15.7659|DEBUG|OnDoc|Ende Adresse GetByID ID:1
|
||||
2025-02-27 10:34:32.9031|DEBUG|OnDoc|Start Adresse GetByID ID:1
|
||||
2025-02-27 10:34:54.7866|DEBUG|OnDoc|
|
||||
2025-02-27 10:34:54.8242|DEBUG|OnDoc|
|
||||
2025-02-27 10:34:54.8269|DEBUG|OnDoc|Ende Adresse GetByID ID:1
|
||||
2025-02-27 10:34:54.8567|ERROR|OnDoc|Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -32,7 +32,7 @@
|
||||
<add key="ExcelDokType" value="2421" />
|
||||
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||
<add key="URI" value="http://" />
|
||||
<add key="ArchivierungAktiv" value="False" />
|
||||
<add key="ArchivierungAktiv" value="True"></add>
|
||||
<add key="ArchivierungNoAktivMessage" value="Aufgrund von technischen Umstellung ist die Archivierung aktuell nicht aktiv." />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
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.
@@ -32,7 +32,7 @@
|
||||
<add key="ExcelDokType" value="2421" />
|
||||
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||
<add key="URI" value="http://" />
|
||||
<add key="ArchivierungAktiv" value="False" />
|
||||
<add key="ArchivierungAktiv" value="True"></add>
|
||||
<add key="ArchivierungNoAktivMessage" value="Aufgrund von technischen Umstellung ist die Archivierung aktuell nicht aktiv." />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<add key="ExcelDokType" value="2421" />
|
||||
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||
<add key="URI" value="http://" />
|
||||
<add key="ArchivierungAktiv" value="False" />
|
||||
<add key="ArchivierungAktiv" value="True"></add>
|
||||
<add key="ArchivierungNoAktivMessage" value="Aufgrund von technischen Umstellung ist die Archivierung aktuell nicht aktiv." />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
Reference in New Issue
Block a user