<?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 Problem using the CreateVersion on ASP.net in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362864#M9559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm migrating some code which works fine on Windows Forms, but now in ASP.net I'm getting an error, I'm creating a version from one that already exist, the error says "The application is not licensed to perform this operation"; before execute the CreateVersion method I do the initialization of license and didn't get any error. Does someone know why the CreateVersion works on Windows Forms and not in ASP.net?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 13:12:44 GMT</pubDate>
    <dc:creator>MarvinOconitrillo</dc:creator>
    <dc:date>2013-02-06T13:12:44Z</dc:date>
    <item>
      <title>Problem using the CreateVersion on ASP.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362864#M9559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm migrating some code which works fine on Windows Forms, but now in ASP.net I'm getting an error, I'm creating a version from one that already exist, the error says "The application is not licensed to perform this operation"; before execute the CreateVersion method I do the initialization of license and didn't get any error. Does someone know why the CreateVersion works on Windows Forms and not in ASP.net?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 13:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362864#M9559</guid>
      <dc:creator>MarvinOconitrillo</dc:creator>
      <dc:date>2013-02-06T13:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the CreateVersion on ASP.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362865#M9560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Post your licensing logic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362865#M9560</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-02-06T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the CreateVersion on ASP.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362866#M9561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks by replying but I resolved the problem, I was using this code to license:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
ESRI.ArcGIS.RuntimeManager.BindLicense(codigoProducto, nivelLicencia);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; but replaced by this one and worked fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop);
m_License = new AoInitializeClass();
m_License.Initialize(esriLicenseProductCode.esriLicenseProductCodeArcEditor);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thank you again by reply&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:55:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-using-the-createversion-on-asp-net/m-p/362866#M9561</guid>
      <dc:creator>MarvinOconitrillo</dc:creator>
      <dc:date>2021-12-11T16:55:08Z</dc:date>
    </item>
  </channel>
</rss>

