<?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>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><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: COM error with WaterGEMS for ArcMap restricting functionality</title><link>https://communities.bentley.com/thread/770790?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 14:40:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3dd2a21b-22bd-406a-a641-dff3242c73da</guid><dc:creator>Larry Abla</dc:creator><description>&lt;p&gt;Arianne,&lt;/p&gt;
&lt;p&gt;It probably was the &amp;quot;Repair&amp;quot; that fixed the issue. I actually posted the wrong Wiki article - should have linked this one - &lt;a href="/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/22424/troubleshooting-arcmap-integration"&gt;Troubleshooting ArcMap Integration&lt;/a&gt;&amp;nbsp;and Option #3 contains the option to run the &amp;quot;Repair&amp;quot;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad it is working for you now.&lt;br /&gt;Thank-you,&lt;br /&gt;Larry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: COM error with WaterGEMS for ArcMap restricting functionality</title><link>https://communities.bentley.com/thread/770722?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 19:00:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:deb1fae6-5219-4fe4-8a09-8917ac6b188d</guid><dc:creator>Arianne Barton</dc:creator><description>&lt;p&gt;Hi Larry, I ended up running the &amp;quot;repair&amp;quot; feature under Programs and Services on ArcMap before I saw your reply and then also opened the model in the standalone program to check if all the elements were labeled. There were a few isolation valves that were not labeled so I ran the relabel feature, saved and closed, opened up WaterGEMS for ArcMap, and added the hydraulic model in and &lt;strong&gt;it worked&lt;/strong&gt;!&lt;/p&gt;
&lt;p&gt;Since I also ran the repair feature, I can&amp;#39;t say for certain whether your solution fixed it, but that&amp;#39;s more than likely the case here. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: COM error with WaterGEMS for ArcMap restricting functionality</title><link>https://communities.bentley.com/thread/770703?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 15:46:57 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:43ded8d6-e243-4bb2-8c2b-ac6ee7e25af5</guid><dc:creator>Larry Abla</dc:creator><description>&lt;p&gt;Hello Arianne Barton,&lt;/p&gt;
&lt;p&gt;I found this Wiki article -&amp;nbsp;Error computing model: &amp;quot;&lt;a href="/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/26197/error-computing-model-calculation-cancelled-by-user-or-specified-cast-is-not-valid-or-an-item-with-the-same-key-has-already-been-added"&gt;Calculation cancelled by user&amp;quot; OR &amp;quot;Specified cast is not valid&amp;quot; OR &amp;quot;An item with the same key has already been added&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Please see if the recommendations in the article help resolve the issue.&lt;/p&gt;
&lt;p&gt;I also found this Wiki article pertaining to the same message but with the Report Builder command - &lt;a href="/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/44162/error-creating-report-in-report-builder-unable-to-cast-object-of-type"&gt;Error creating report in Report Builder: Unable to cast object of type...&lt;/a&gt;&amp;nbsp;It recommends the following:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;This issue may be related to missing labels for the elements in the model. Please review the element flextables to&amp;nbsp;ensure&amp;nbsp;that each element has a label. If it does not, one would need to be included. If needed, you can use the&amp;nbsp;&lt;/span&gt;&lt;a href="/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/20166/element-label-editing-and-automatic-numbering" data-uw-rm-brl="false"&gt;Relabel&lt;/a&gt;&lt;span&gt;&amp;nbsp;feature to automatically add&amp;nbsp;labels, though adding a meaningful label would be best. The relabel feature is available when you right-click on the Label column header in the flextable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please try this if my first suggestion doesn&amp;#39;t help and see if possibly a missing Label is causing the problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then, please reply here to let me know if this resolves your issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank-you,&lt;br /&gt;Larry&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>