<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP driver problem in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-driver-problem/qaa-p/13838390#M4869233</link>
    <description>&lt;P&gt;OpenProcess as the culprit: you do not have the rights to access your own process from the running code (might happen in webserver code)&lt;/P&gt;
&lt;P&gt;That is unfortunately the static constructor of SAConnection so no way around it, it contains code to get the ProcessName of the current process and GetCurrentProcess() calls OpenProcess under the hood for which you need the appropriate rights. &lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 06:30:20 GMT</pubDate>
    <dc:creator>MCMartin</dc:creator>
    <dc:date>2024-05-13T06:30:20Z</dc:date>
    <item>
      <title>SAP driver problem</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-driver-problem/qaq-p/13838389</link>
      <description>&lt;P&gt;We have a problem with Sybase SAP driver update. We have a ASP.NET system deployed with SAP database driver, but whe we update this driver (Sap.Data.SQLAnywhere.v4.5.dll) to version 17.0.11.7458 on client test server (window server 2019 standart), we get the error:&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;Error time: 2024-05-08 13:24:48
Compilation date: 2024-05-08 13:12:56
User IP: ::1
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like GeckoCookies:
"Error: ErrorMessage
: The type initializer for 'Sap.Data.SQLAnywhere.SAConnection' threw an exception.
StackTrace: at Sap.Data.SQLAnywhere.SAConnection..ctor(String connectionString) at DBUtil.GetConnection() in C:\\Projects\\Backend\\WISP1.0\\projects\\Saikas.WISP.DBUtil\\DBUtil.
cs:line 131
TraceBack:InnerException: System.ComponentModel.Win32Exception (0x80004005): Access is denied at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.NtProcessManag&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 04:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-driver-problem/qaq-p/13838389</guid>
      <dc:creator>former_SQLA_member1695093</dc:creator>
      <dc:date>2024-05-10T04:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAP driver problem</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-driver-problem/qaa-p/13838390#M4869233</link>
      <description>&lt;P&gt;OpenProcess as the culprit: you do not have the rights to access your own process from the running code (might happen in webserver code)&lt;/P&gt;
&lt;P&gt;That is unfortunately the static constructor of SAConnection so no way around it, it contains code to get the ProcessName of the current process and GetCurrentProcess() calls OpenProcess under the hood for which you need the appropriate rights. &lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 06:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-driver-problem/qaa-p/13838390#M4869233</guid>
      <dc:creator>MCMartin</dc:creator>
      <dc:date>2024-05-13T06:30:20Z</dc:date>
    </item>
  </channel>
</rss>

