<?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>topic Demand loading requiring ACAD.exe Admin rights (.Net Framework version?) in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8811279#M22325</link>
    <description>&lt;P&gt;I'm going to put this out there before testing my suspicion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two apps which b&lt;SPAN style="font-family: inherit;"&gt;oth have demand load entries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One loads on users computers while the other doesn't to unless I start acad.exe with admin rights.&lt;/P&gt;&lt;P&gt;I can only think that the one that works is uses .NET 4.0 while the other is set to .NET 4.6.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The coding for demand loading is a copy and paste.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could the .Net Framework version have any effect on the user's permissions in accessing the registry?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's&amp;nbsp; also something to do with user permissions granted.&lt;/P&gt;&lt;P&gt;If I log onto the users computer as myself it loads.&lt;/P&gt;&lt;P&gt;I don't know how to give the users the necessary permissions .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 19:35:57 GMT</pubDate>
    <dc:creator>SRSDS</dc:creator>
    <dc:date>2019-05-23T19:35:57Z</dc:date>
    <item>
      <title>Demand loading requiring ACAD.exe Admin rights (.Net Framework version?)</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8811279#M22325</link>
      <description>&lt;P&gt;I'm going to put this out there before testing my suspicion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two apps which b&lt;SPAN style="font-family: inherit;"&gt;oth have demand load entries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One loads on users computers while the other doesn't to unless I start acad.exe with admin rights.&lt;/P&gt;&lt;P&gt;I can only think that the one that works is uses .NET 4.0 while the other is set to .NET 4.6.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The coding for demand loading is a copy and paste.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could the .Net Framework version have any effect on the user's permissions in accessing the registry?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's&amp;nbsp; also something to do with user permissions granted.&lt;/P&gt;&lt;P&gt;If I log onto the users computer as myself it loads.&lt;/P&gt;&lt;P&gt;I don't know how to give the users the necessary permissions .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 19:35:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8811279#M22325</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2019-05-23T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Demand loading requiring ACAD.exe Admin rights (.Net Framework version?)</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8812101#M22326</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;I do not think it's due to the Framework version, but to be sure you can just try it with a new DLL compiled against a different Framework.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 06:07:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8812101#M22326</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-05-24T06:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Demand loading requiring ACAD.exe Admin rights (.Net Framework version?)</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8814893#M22327</link>
      <description>&lt;P&gt;For clarification - are you setting demand-load registry settings when the DLL is loaded?&amp;nbsp; If so, it needs to be done with proper permissions to modify the registry.&amp;nbsp; One of the reasons I don't follow the online examples of doing so - it doesn't work if the user has restricted permissions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might get around it by separating out the code to do into a different module, one that can be securely run with elevated permissions once during an install operation.&amp;nbsp; I normally use a REG file and basic scripting for this.&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2019 22:50:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8814893#M22327</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2019-05-25T22:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Demand loading requiring ACAD.exe Admin rights (.Net Framework version?)</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8854526#M22328</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/786488"&gt;@SRSDS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is not been clarified 100% your requirements for me, but as I read your post, some routine of your code has problems to admin rights and modifie windows registry; if is the problem, independly of .NET Version, think about use Impersonation concept under your rotine; in other words, encapsulate your program flow inner Impersonator code, the developer does not have to worry about giving permissions for each user that consumes the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This &lt;A href="https://www.codeproject.com/articles/125810/a-complete-impersonation-demo-in-c-net?display=print" target="_blank" rel="noopener"&gt;tutorial by Wayne Ye&lt;/A&gt;&amp;nbsp;having an explanation about Impersonation scenarios and code example, this helps me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Att,&lt;/P&gt;&lt;P&gt;Antonio Leonardo.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="exam-483-programming-in-c.png" style="width: 125px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/644929i46D8C8A01522EF07/image-size/small?v=v2&amp;amp;px=200" role="button" title="exam-483-programming-in-c.png" alt="exam-483-programming-in-c.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 03:33:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8854526#M22328</guid>
      <dc:creator>antonio.leonardo</dc:creator>
      <dc:date>2019-06-17T03:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Demand loading requiring ACAD.exe Admin rights (.Net Framework version?)</title>
      <link>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8854636#M22329</link>
      <description>&lt;P&gt;I apologize for not answering this earlier. Probably good because I would have been wasting peoples time which has already occurred. I only discovered this a day or so ago.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out to be a problem with a third party program which encryptions files (Gemalto Sentinel LDK HASP).&lt;/P&gt;&lt;P&gt;The current version 7.9 does't work and I needed to revert to 7.6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very confusing because it was working on some computers and not others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 06:06:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/demand-loading-requiring-acad-exe-admin-rights-net-framework/m-p/8854636#M22329</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2019-06-17T06:06:05Z</dc:date>
    </item>
  </channel>
</rss>

