<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-di-forum/238443/error-126-could-not-load-mcm-dll-when-opening-a-drawing-from-projectwise-after-having-an-upgrade-from-v8i-to-microstation-connect-edition</link><description>Hello, 
 I am getting the above error when I open a drawing from Projectwise in Microstation ever since we had the upgrade from Microstation V8I to MIcrostation Connect edition. I really appreciate your inputs to fix this issue. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742570?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 20:52:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7b09fd79-ca30-475b-b6bc-0a60b23ecf1b</guid><dc:creator>Kevin van Haaren</dc:creator><description>&lt;p&gt;When you get the PW login it means the MCM is loading properly when you use that method to open.&lt;/p&gt;
&lt;p&gt;Looking at my variables when i&amp;#39;ve loaded ProjectWise I see it adds paths to the variables:&lt;/p&gt;
&lt;p&gt;MS_LIBRARY_PATH&lt;br /&gt;MS_MDL&lt;br /&gt;MS_RSRCPATH&lt;/p&gt;
&lt;p&gt;my guess is something is resetting one of those variables preventing ProjectWise is loading for this user.&lt;/p&gt;
&lt;p&gt;In addition to checking the personal workspace per Matthew&amp;#39;s suggestion, you could try disabling all the application cfg files, except projectwise&amp;#39;s, and see if that fixes it. I usually do this by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Browse to the&amp;nbsp;C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\config\appl folder&lt;/li&gt;
&lt;li&gt;create a folder in that folder called Disabled&lt;/li&gt;
&lt;li&gt;Copy all the cfg files from the appl folder into the disabled folder (except pw.cfg)&lt;/li&gt;
&lt;li&gt;if that fixes the problem copy the cfg files in Disabled back into appl one at a time and test each time&lt;/li&gt;
&lt;li&gt;If one of the files causes the issue you can examine it&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Doing this requires admin privs on the local machine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742520?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 14:44:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5a7da6a8-40d3-404c-bc91-3c2b4db36f41</guid><dc:creator>Matthew Kovach</dc:creator><description>&lt;p&gt;&lt;strong&gt;Curious:&lt;/strong&gt; Does the affected User contain any &lt;strong&gt;Personal WorkSpace&lt;/strong&gt; Configuration Variables? He can have a look for himself via &lt;strong&gt;Tools &amp;gt; Options&lt;/strong&gt; from ProjectWise Explorer (click on the&amp;nbsp;&lt;strong&gt;Personal WorkSpace&lt;/strong&gt;&lt;span&gt;&amp;nbsp;tab). Based on your posts, I cannot tell if you are using a &lt;strong&gt;Managed WorkSpace&lt;/strong&gt; in ProjectWise or if you are using locally stored WorkSpace.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, can you have the User update (or set) a &lt;strong&gt;User Program Association&lt;/strong&gt; for the File Type (i.e. Application) and include the &lt;strong&gt;-debug&lt;/strong&gt; as the Command Line Argument? Then, have him open a File in ProjectWise to create a Debug Report? I&amp;#39;m curious to see the output.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;*Note:&lt;/strong&gt; You&amp;#39;ll need to remove the -debug Command Line Argument after doing so.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742512?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 14:13:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1979a908-2de6-4fcb-88d2-babb838466b5</guid><dc:creator>Gabriel Cozma</dc:creator><description>&lt;p&gt;The versions are compatible. The machine was reimaged from a fresh build. Yes, I am getting the PW login.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742340?ContentTypeID=1</link><pubDate>Sat, 19 Nov 2022 21:05:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:92582146-5c95-4786-8693-f56d8c2bd50c</guid><dc:creator>Kevin van Haaren</dc:creator><description>&lt;p&gt;What version of Connect and what version of ProjectWise?&lt;/p&gt;
&lt;p&gt;Did you verify the 2 are compatible? See the&amp;nbsp;&lt;a href="https://docs.bentley.com/LiveContent/web/ProjectWise%20Version%20Support%20Matrix-v1/en/GUID-1A2E193F-C3D9-4709-92A2-E5B9301B5946.html"&gt;ProjectWise Version Support Matrix (bentley.com)&lt;/a&gt;&amp;nbsp;to confirm&lt;/p&gt;
&lt;p&gt;Generally with MicroStation when one person has an issue and others don&amp;#39;t I suspect the UCF or UPF. When you re-imaged the machine did you restore those from backup or start clean?&lt;/p&gt;
&lt;p&gt;When you say you can open MicroStation outside of projectwise, do you get the ProjectWIse login gui or is projectwise do you completely disabled in this configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742294?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 20:19:17 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d4655890-c9f6-408f-9f29-d230247dd5bb</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;&lt;a href="/members/2e986a03_2d00_c7ff_2d00_4d2e_2d00_9569_2d00_360647b699ec"&gt;Gabriel Cozma&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;There is a MicroStation CONNECT Key-in command &amp;quot;Show Configuration&amp;quot; that may permit you to compare a Good User (same file/workspace in PW) with the Bad User&amp;#39;s text files.&amp;nbsp; If you keep all things equal between both users, then using a text differencing tool like: windiff, tkdiff, git, BeyondCompare, etc.; you should be able to spot the (configuration/install) issue rather easily.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742293?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 20:12:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4c6b268b-21e7-4525-94eb-27c38e422419</guid><dc:creator>Gabriel Cozma</dc:creator><description>&lt;p&gt;The issue is a bit more complex, and it seems to be migrating on each workstation he uses. We just updated our Microstation users from V8I to Connect Edition and no one else has the error except him.&amp;nbsp; Multiple users were logged on his machine with no errors, however in every workstation he logged in had the same error and Microstation is crashing. I tried deleting his profile, reimaging his machine, cleaning the ProjectWise local folder but error is still there. Microstation is working locally, the error comes only when opening the files from ProjectWise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742241?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 13:58:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:558285d7-dd54-4ef8-a1fa-2db5fc9b4645</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Kandappu,&lt;/p&gt;
&lt;p&gt;please be aware this is MicroStation Programming forum, but your question is about ProjectWise integration issue. I recommend to move your question to &lt;a href="/products/projectwise/f/projectwise-di-forum" rel="noopener noreferrer" target="_blank"&gt;ProjectWise Design Integration forum&lt;/a&gt;. To move existing discussion to another forum, use &lt;em&gt;More &amp;gt; Move&lt;/em&gt;&amp;nbsp; tool, available under your original post.&lt;/p&gt;
[quote userid="1349908" url="~/products/programming/microstation_programming/f/microstation-programming---forum/238443/error-126-could-not-load-mcm-dll-when-opening-a-drawing-from-projectwise-after-having-an-upgrade-from-v8i-to-microstation-connect-edition"]ever since we had the upgrade from Microstation V8I to MIcrostation Connect edition.[/quote]
&lt;p&gt;Did you upgrade ProjectWise Explorer version as well? Maybe also workspace must be modified.&lt;/p&gt;
&lt;p&gt;It looks like in your workspace, old configuration was left, so MicroStation CE tries to load mcm, which does not exist or is old (V8i) version.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 126 Could not load mcm.dll when opening a drawing from Projectwise after having an upgrade from V8I to Microstation connect edition</title><link>https://communities.bentley.com/thread/742242?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 13:55:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:024b7101-6ef1-4e5e-837e-2b1ec2a97084</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/eb325f94_2d00_66e4_2d00_4bc5_2d00_8725_2d00_2448386bb267"&gt;Kandappu Suthakar&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;In the future consider Searching and Posting ProjectWise Product specific questions in the &lt;a href="/products/projectwise/f/projectwise-di-forum#pifragment-26238=1" rel="noopener noreferrer" target="_blank"&gt;ProjectWise Product Support Forum&lt;/a&gt;; to ensure the most prompt and best responses can be provided.&lt;/p&gt;
&lt;p&gt;Since your issue is somewhat generic in nature, please focus on the first line and information provided in your screen capture.&lt;/p&gt;
&lt;p&gt;Although it states the Path and File Name (mcm.dll) could not be &amp;quot;Loaded&amp;quot;, error 126 actually means that the DLL cannot be &amp;quot;Found&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;   126 ERROR_MOD_NOT_FOUND &amp;lt;--&amp;gt; 0xc0000135 STATUS_DLL_NOT_FOUND&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Given that subtle difference can you copy and paste and confirm the path of the mcm.dll and then potentially update your ProjectWise configuration (or possibly re-install) to the local computer having correct paths to the installed products?&lt;/p&gt;
&lt;p&gt;Thank you and HTH,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>