<?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/"><channel><title>Arianne Barton's Activities</title><link>https://communities.bentley.com/members/d6b3fcad_2d00_4747_2d00_4924_2d00_af16_2d00_0b817949307c</link><description>Arianne Barton's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>COM error with WaterGEMS for ArcMap restricting functionality</title><link>https://communities.bentley.com/products/hydraulics___hydrology/f/haestad-hydraulics-and-hydrology-forum/246834/com-error-with-watergems-for-arcmap-restricting-functionality</link><pubDate>Thu, 22 Jun 2023 15:10:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c73b8f1d-75e3-4e04-9fb2-1b58b2a59426</guid><dc:creator>Arianne Barton</dc:creator><description>&lt;p&gt;Hi, I am trying to import an existing water supply system model into ArcMap (10.7) and the program appears to load the .wtg file for a minute or two before the window pops up that asks me to select a database to connect to. When I run the &amp;quot;WaterGEMS for ArcMap&amp;quot; program and try both creating a new database and connecting to an existing one, I get the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;System.InvalidCastException: Unable to cast COM object of type &amp;#39;ESRI.ArcGIS.Framework.AppROTClass&amp;#39; to interface type &amp;#39;ESRI.ArcGIS.Framework.IAppROT&amp;#39;. This operation failed because the QueryInterface call on the COM component for the interface with IID &amp;#39;{FABC30F9-D273-11D2-9F36-00C04F6BC61A}&amp;#39; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I updated to the currently available version of WaterGEMS and tried again, but got the same result. I checked task manager and noticed that approt.exe was not running though I have seen it activate in the past when I&amp;#39;ve use ArcMap, so I manually navigated to the relevant Program File folder and started the application with administrator privileges. I tried to connect to a database again (via both methods mentioned above) and got a different error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;System.Runtime.InteropServices.COMException (0x80040111): Retrieving the COM class factory for component with CLSID {FABC30FB-D273-11D2-9F36-00C04F6BC61A} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I found a thread with a similar issue online which mentioned changing a value through registry editor; I was not able to find the IID from the first error code in the registry, but the second IID was found under the following keys:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;#39;HKEY_CLASSES_ROOT\esriFramework.esriAppROT&amp;#39; which shows two values of &amp;quot;CLSID&amp;nbsp;=&amp;nbsp;&lt;span&gt;{FABC30FB-D273-11D2-9F36-00C04F6BC61A}&amp;quot;&amp;nbsp;&lt;/span&gt;and &amp;quot;CurVer = esriFramework.esriAppROT.1&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;#39;HKEY_CLASSES_ROOT\esriFramework.esriAppROT.1&amp;#39; which shows two values of &amp;quot;(Default) = esriFramework.esriAppROT&amp;quot; and &amp;quot;CLSID&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;{FABC30FB-D273-11D2-9F36-00C04F6BC61A}&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;#39;HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{FABC30FB-D273-11D2-9F36-00C04F6BC61A}\InprocServer32&amp;#39; which has two values of &amp;quot;(Default) = C:\Program Files (x86)\Common Files\ArcGIS\bin\ArcGISVersion.dll&amp;quot; and &amp;quot;ThreadingModel = Both&amp;quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is there a fix for this? Please note that I am on a work computer but do have administrative privileges under my account.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 22 Jun 2023 03:02:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4f3d545e-7cfe-4004-a273-e138f0adb430</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>