<?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 Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903208#M3559</link>
    <description>&lt;P&gt;Doesn't that confirm that another copy of the .DLL is being loaded from a different location?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 16:11:38 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2024-07-17T16:11:38Z</dc:date>
    <item>
      <title>Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849631#M3553</link>
      <description>&lt;P&gt;I have an AutoCAD macro that when clicked, it netloads a dll file and then executes a command found within that dll.&lt;/P&gt;&lt;P&gt;Everything works fine most of the time, but occasionnally, I noticed that the dll file disappears on its own and therefore I get this message when I click on the macro:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsaidiD4GJM_1-1718810610330.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1377809iC2E17E21A5A84145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsaidiD4GJM_1-1718810610330.png" alt="bsaidiD4GJM_1-1718810610330.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Another information that might help find the problem:&lt;/U&gt;&amp;nbsp;I get the same message when I could see that the .dll file exists, but when I try to netload it manually using the dialog box below, I get the message File not found, even when I could see literally see it and select it. This definitely happens because another user has loaded the dll before the "disappearance" but hasn't closed his AutoCAD since, which makes it visible but not useable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsaidiD4GJM_2-1718810928674.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1377811i50C42ED717828696/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsaidiD4GJM_2-1718810928674.png" alt="bsaidiD4GJM_2-1718810928674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 15:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849631#M3553</guid>
      <dc:creator>bsaidiDG51</dc:creator>
      <dc:date>2024-06-19T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849747#M3554</link>
      <description>&lt;P&gt;I've never seen anything like what you're describing (e.g.,'the assembly disappears on its own').&amp;nbsp; I have seen attempts to a load a duplicated (and possibly different) assembly from another location that has failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use (findfile "assemblyname.dll") and see if AutoCAD returns a path. If it does, make sure it's the same path you're trying to load the assembly from.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 16:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849747#M3554</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-06-19T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849779#M3555</link>
      <description>I used (findfile "{pathAndNameOfMyDll}") and it returns nil, but now that I rebuilt my solution so that I generate the dll file, the same command returns the value of {pathAndNameOfMyDll}.&lt;BR /&gt;After regenerating the dll file, now the macro works since the dll file can be found.&lt;BR /&gt;This macro always works, but once in a while it stops working because it cannot find the dll file.&lt;BR /&gt;&lt;BR /&gt;Additional information: The dll is on a folder found on the server and multiple users have access to and use this macro.</description>
      <pubDate>Wed, 19 Jun 2024 16:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12849779#M3555</guid>
      <dc:creator>bsaidiDG51</dc:creator>
      <dc:date>2024-06-19T16:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12850070#M3556</link>
      <description>&lt;P&gt;Is the 'once in a while' failure occurring only after you rebuild the project and regenerate the assembly?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 19:19:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12850070#M3556</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-06-19T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12850142#M3557</link>
      <description>No, 0 link between the two.&lt;BR /&gt;Last time the solution was built was 8 days ago.&lt;BR /&gt;The failures occur randomly, couldn't find a trigger.</description>
      <pubDate>Wed, 19 Jun 2024 19:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12850142#M3557</guid>
      <dc:creator>bsaidiDG51</dc:creator>
      <dc:date>2024-06-19T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903051#M3558</link>
      <description>&lt;P&gt;&lt;U&gt;Update&lt;/U&gt;: It happened again today, and this time it might be related to the fact that I tried to compile the project and it failed because someone had the dll loaded in his AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I tried to manually load the dll (ListesDeValidation.dll), this the pop up I get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsaidiD4GJM_0-1721228387574.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1387810i4606E78B90EF7836/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsaidiD4GJM_0-1721228387574.png" alt="bsaidiD4GJM_0-1721228387574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when I asked all users to close their AutoCAD (in order to "free" the dll), the dll disappeared.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 15:04:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903051#M3558</guid>
      <dc:creator>bsaidiDG51</dc:creator>
      <dc:date>2024-07-17T15:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903208#M3559</link>
      <description>&lt;P&gt;Doesn't that confirm that another copy of the .DLL is being loaded from a different location?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:11:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903208#M3559</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-07-17T16:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Happens occasionally for the same .dll file: Unable to load .dll file caused by the disappearance of the file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903258#M3560</link>
      <description>&lt;P&gt;It sounds to me that your VS project's build output location is where the application DLL deployment location (a network share) where users load the app from. If so, it is a bad practice, IMO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:35:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/happens-occasionally-for-the-same-dll-file-unable-to-load-dll/m-p/12903258#M3560</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2024-07-17T16:35:01Z</dc:date>
    </item>
  </channel>
</rss>

