infopath 2007 preview from new blank form "cannot open the selected form." - InfoPath Dev
in

InfoPath Dev

infopath 2007 preview from new blank form "cannot open the selected form."

Last post 04-08-2008 11:59 PM by salgo60. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 05-09-2007 09:31 AM

    • matteo
    • Not Ranked
    • Joined on 05-09-2007
    • Posts 4

    infopath 2007 preview from new blank form "cannot open the selected form."

    Hi,
       I got this error from infopath 2007 "cannot open the selected form."

    This is what I do:

    1) Open Infopath 2007
    2) from menù: File -> "Design form template..."
    3) I select "Base on Blank"
    4) From the blank form I do not insert anything
    5) I push the "Preview" button
    6) Dialog Errore: "cannot open the selected form."

    any idea?
    I'm lost...help!

    thanks a lot
    matteo

  • 05-10-2007 12:25 AM In reply to

    • ahardin
    • Top 200 Contributor
    • Joined on 02-13-2006
    • United Kingdom
    • Posts 55

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    Well, let's see if i have this correct.

    You have a completely blank/Empty/plain form in design mode that you want to preview?

    If I am correct, then my first question is; Why would you want to look at a form that is completely blank in Design and Preview?

    To explain, the design mode, bizarrely, is where you make changes to the form from a functional point of view or design it.  The preview is where you act as a user of the form to iron out bugs etc.

    This may just be a common sense thing that says you cannot preview a blank form as there is nothing to preview.

    I hope this helps

    Adam 

    PS if you want it to work at the word TEST somewhere on the screen in design mode.

    I'm from WALES
    [email protected]
  • 05-10-2007 04:58 AM In reply to

    • matteo
    • Not Ranked
    • Joined on 05-09-2007
    • Posts 4

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    Hi Adam,
          you said:
    You have a completely blank/Empty/plain form in design mode that you want to preview?
    If I am correct, then my first question is; Why would you want to look at a form that is completely blank in Design and Preview?

    :) It's not correct. I'm going to explain better (sorry)...

    It's true that I want to preview a blank/Empty/plain form and I got the "cannot open the selected form."...but it's only the easiest example.
    The error it's the same if the Form is empty or with any controls or any simple text...

    thanks
    matteo

  • 05-10-2007 04:59 AM In reply to

    • matteo
    • Not Ranked
    • Joined on 05-09-2007
    • Posts 4

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    Hi Adam,
          you said:
    You have a completely blank/Empty/plain form in design mode that you want to preview?
    If I am correct, then my first question is; Why would you want to look at a form that is completely blank in Design and Preview?

    :) It's not correct. I'm going to explain better (sorry)...

    It's true that I want to preview a blank/Empty/plain form and I got the "cannot open the selected form."...but it's only the easiest example.
    The error it's the same if the Form is empty or with any controls or any simple text...

    thanks
    matteo

  • 05-10-2007 06:12 AM In reply to

    • ahardin
    • Top 200 Contributor
    • Joined on 02-13-2006
    • United Kingdom
    • Posts 55

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    So you are saying the preview function does not work at all regardless whether data is present or not.

    This is not normal and suggests your version is corrupted somehow, are you running a Beta?  Best advice is to un-install Infopath 2007 and re-install it, see if that helps.

    Adam

    I'm from WALES
    [email protected]
  • 05-10-2007 08:11 AM In reply to

    • matteo
    • Not Ranked
    • Joined on 05-09-2007
    • Posts 4

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    > So you are saying the preview function does not work at all regardless whether data is present or not.
    yes

    I have used the program for 2 months (I have downloaded infopath 2007 from MSDN), after a period of 20 days of unused I got the problem. During this period I have installed Visual Studio 2005 and SDK for Workflow. I thought that was the problem but the fanny thing is that I have the same problem in an other computer with no visual studio.

    No problem with other computer and infopath 2003

    What I have tryed on my computer is:

    1) un-install and re-install infopath 2007 -> problem did not resolve
    2) un-install all visual studio 2005 and related software (SDK) -> problem did not resolve
    3) install on other computer -> same problem

    Now I'm trying to install infopath 2007 on an enpty virtual machine vith windows XP patched.

    matteo

  • 05-11-2007 02:38 AM In reply to

    • ahardin
    • Top 200 Contributor
    • Joined on 02-13-2006
    • United Kingdom
    • Posts 55

    Re: infopath 2007 preview from new blank form "cannot open the selected form."

    What version of Office 2007 are you using?
    I'm from WALES
    [email protected]
  • 04-08-2008 11:59 PM In reply to

    InfoPath cannot open the selected form - InfoPath 2007

    I had this problem and are using VSTO together with the TFS after some hours of testing it looks like if you clean the cache on your machine it will work.

    infopath /cache clearall
    or delete directly files on your harddrive

    See  http://platinumdogs.wordpress.com/2008/02/07/clear-the-infopath-2007-local-form-template-cache/
    or
    http://groups.google.com/group/microsoft.public.infopath/browse_thread/thread/29bd1699a4184aa2/d7fb43b622f35e4d?lnk=raot

    Ps. I use InfoPath 2007 SP1

    Filed under:
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.