<?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 EpaNet2.dll gives 305 error code from arcmap addin application in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/epanet2-dll-gives-305-error-code-from-arcmap-addin/m-p/475308#M3191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling or method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. &lt;/P&gt;&lt;P&gt;When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of ArcMap, an error gives from running method (ENsolveH/ENepanet) . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.&lt;STRONG&gt;&lt;A href="http://iridia.ulb.ac.be/%7Emanuel/doc/toolkit_help.pdf" rel="nofollow"&gt;http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2015 04:20:37 GMT</pubDate>
    <dc:creator>ShekhShamsuzzaman</dc:creator>
    <dc:date>2015-05-24T04:20:37Z</dc:date>
    <item>
      <title>EpaNet2.dll gives 305 error code from arcmap addin application</title>
      <link>https://community.esri.com/t5/developers-questions/epanet2-dll-gives-305-error-code-from-arcmap-addin/m-p/475308#M3191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling or method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. &lt;/P&gt;&lt;P&gt;When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of ArcMap, an error gives from running method (ENsolveH/ENepanet) . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.&lt;STRONG&gt;&lt;A href="http://iridia.ulb.ac.be/%7Emanuel/doc/toolkit_help.pdf" rel="nofollow"&gt;http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf&lt;/A&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2015 04:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/epanet2-dll-gives-305-error-code-from-arcmap-addin/m-p/475308#M3191</guid>
      <dc:creator>ShekhShamsuzzaman</dc:creator>
      <dc:date>2015-05-24T04:20:37Z</dc:date>
    </item>
  </channel>
</rss>

