Designing InfoPath 2013 side by side with InfoPath 2010 - InfoPath Dev
in

InfoPath Dev

Designing InfoPath 2013 side by side with InfoPath 2010

Last post 04-03-2013 05:35 PM by JohnLiu. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-18-2013 03:31 AM

    • JohnLiu
    • Not Ranked
      Male
    • Joined on 12-06-2011
    • Sydney, Australia
    • Posts 9

    Designing InfoPath 2013 side by side with InfoPath 2010

    Hi guys,

    I've had InfoPath 2010 with VSTO 2008 installed, and had separately installed InfoPath 2013 (side by side with 2010) with VSNET 2012.  While I can use each environment on the same machine, I could not debug InfoPath 2010 code with VSTO 2008.  When I hit debug, I'd see this error.

    InfoPath cannot open the selected form because of an error in the form's code.
    InfoPath will fail to load this form because Microsoft .NET Framework 3.5 is not installed or is installed incorrectly

    I've always thought this is impossible, and for a while did work via a separate VM where I had to install InfoPath 2010 and VSTO 2008.

    Recently, a colleague asked me if I can get the InfoPath 2010 debugging/preview to work, so I decided to dig in deep and fired up Fusion Log Viewer (fuslogvw).  This is a .NET Framework utility that logs all the failed assembly loading to a folder, so I can see what InfoPath was trying to do when I run debug.

    It turns out...  this problem is incredibly easy to fix, and I've documented the steps (depending on your setup, between 1 to 3 steps) to get both debugging to work side-by-side, even at the same time.

    http://johnliu.net/blog/2013/3/11/making-infopath-2010-previewdebug-work-again.html 

    I even have a pic to prove it.

    Anyway, warm greetings to Patrick from Australia.  Hope to see you guys soon again.

     

    @johnnliu - http://johnliu.net - http://sharepointgurus.net
  • 03-22-2013 03:48 PM In reply to

    Re: Designing InfoPath 2013 side by side with InfoPath 2010

     Super cool & thanks so much for linking to your post with the work around!!

    Hilary Stoupa

  • 04-03-2013 05:35 PM In reply to

    • JohnLiu
    • Not Ranked
      Male
    • Joined on 12-06-2011
    • Sydney, Australia
    • Posts 9

    Re: Designing InfoPath 2013 side by side with InfoPath 2010

    Just a note, tweaking the assembly redirect policy also fixes running DBXL admin tool in 2010 (if you have both IF2010 and IF2013 installed on the same machine).

     This is a problem I had asked previously here: http://www.infopathdev.com/forums/p/24344/84183.aspx

    @johnnliu - http://johnliu.net - http://sharepointgurus.net
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.