Options

NAV 2013 Upgrade-TextFormatUpgrade2013.exe.config missing

ashbhardwajashbhardwaj Member Posts: 89
edited 2013-04-23 in NAV Three Tier
Hi
I am following this Procedure as per link below & getting error in Part 3: Run text format upgrade for exported objects
http://msdn.microsoft.com/en-us/library ... 9(v=nav.70).aspx

Please check attached file
Both filles (TextFormatUpgrade2013.exe and TextFormatUpgrade2013.exe.config) are already copied in same folder where my .txt file exists.
Still getting error The TextFormatUpgrade2013.exe.config file is missing .....as per screen show.

I have also tried to copy the .txt file on exe itself & also in Object Change Tools folder in Upgrade Toolkit


regards
Ashish

Answers

  • Options
    postsauravpostsaurav Member Posts: 708
    Hi,

    I guess you didn't run command prompt as administrator.

    For detail steps please refer http://saurav-nav.blogspot.in/2012/11/nav-2013-upgrade-part-i.html

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Options
    ashbhardwajashbhardwaj Member Posts: 89
    Hi Saurav
    I tried command Prompt using RUN AS Administrator but still the same issue.
    Is Config file is corrupt or something wrong in EXE file. i downloaded NAV 2013 from this link from partnersource UK version
    http://mibuso.com/blogs/mohana/2013/02/ ... -download/

    I have Windows XP SP3 in my machine (NAV 2013 is not installed in this machine i hope it's not required)

    Thanks
    Ashish
  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,503
    If you open config file with notepad then it should look like
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <configSections>
        <section name="conversionRules" type="Microsoft.Dynamics.Nav.Tools.TextFormatUpgrade.ConversionRulesSection, TextFormatUpgrade2013"/>
      </configSections>
      <conversionRules>
        <regularExpressions>
          <clear/>
          <rule pattern="\bFORM.RUN(?=(MODAL)?\()(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="PAGE.RUN" caseSensitive="false"/>
          <rule pattern="(?<=\W)FORM::(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="PAGE::" caseSensitive="false"/>
          <rule pattern="\.FORM\.(?=(?:(?:[^']*'){2})*[^']*\z)" replacement=".PAGE." caseSensitive="false"/>
          <rule pattern="(?<!OBJECT\s)(?<=\W)Form(?=\s*\d+)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="Page" caseSensitive="false"/>
          <rule pattern="(?<=\W)UseRequestForm(?==)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="UseRequestPage" caseSensitive="true"/>
          <rule pattern="(?<=\W)USEREQUESTFORM(?=\W)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="USEREQUESTPAGE" caseSensitive="false"/>
          <rule pattern="(?<=\W)UseReqForm(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="UseRequestPage" caseSensitive="false"/>
          <rule pattern="(?<=Type\s*=\s*CONST\(\s*)Form(?=\s*\))(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="Page" caseSensitive="false"/>
          <rule pattern="(?<=\W)RunFormMode(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="RunPageMode" caseSensitive="false"/>
          <rule pattern="(?<=\W)CardFormID(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="CardPageID" caseSensitive="false"/>
          <rule pattern="(?<=\W)SubFormView(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="SubPageView" caseSensitive="false"/>
          <rule pattern="(?<=\W)SubFormLink(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="SubPageLink" caseSensitive="false"/>
          <rule pattern="(?<=\W)RunFormOnRec(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="RunPageOnRec" caseSensitive="false"/>
          <rule pattern="(?<=\W)RunFormLink(?=\W)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="RunPageLink" caseSensitive="false"/>
          <rule pattern="(?<=\W)RunFormView(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="RunPageView" caseSensitive="false"/>
          <rule pattern="(?<=RunObjectType\s*=\s*)Form(?=\s*;)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="Page" caseSensitive="false"/>
          <rule pattern="(?<=\W)DrillDownFormID(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="DrillDownPageID" caseSensitive="false"/>
          <rule pattern="(?<=\W)LookupFormID(?=\s*=)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="LookupPageID" caseSensitive="false"/>
          <rule pattern="(?<=\W(Modal)?)Form(?=Handler)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="Page" caseSensitive="false"/>
          <rule pattern="(?<=\W)RequestOptionsForm(?=\.)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="RequestOptionsPage" caseSensitive="false"/>
          <rule pattern="(?<=::)Form(?=\W)(?=(?:(?:[^']*'){2})*[^']*\z)" replacement="Page" caseSensitive="false"/>
        </regularExpressions>
      </conversionRules>
    </configuration>
    

    did you simply try by dragging and dropping your txt file in to exe application?

    Try with any one page object
  • Options
    ashbhardwajashbhardwaj Member Posts: 89
    Yes config file is same as yours & Drag & Drop even not work
    I have tried for 3 objects item Table & page 30 31 but still same issue


    Thanks
    Ashish
  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,503
    I never tried on Win XP machine and where NAV is not installed.

    try if you have any system with Windows 7 and/or NAV2013 installed..
  • Options
    ashbhardwajashbhardwaj Member Posts: 89
    Yes it worked on Server where NAV 2013 is installed & also Windows server 2008 R2
    not tried in WIN 7 but it's not working in my own WIn XP sp3 machine
    May be something to do with .Net also or any missing features required for EXE

    Thanks
    Ashish
  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,503
Sign In or Register to comment.