Unanswered The following file is not a valid infopath form <url>

  • Thursday, August 23, 2012 1:20 PM
     
     

    Hi ,

    We have an issue in opening Infopath 2010 form from IE browser.

    Senario:

    User created a form and saved into Sharepoint 2010 form library. And  now user is trying to access the saved item in the browser and user is getting below error message.

    The following file is not a valid InfoPath form: /sites/<SiteCollection>/formlibrary/Test.xml

    Correlation ID:5bae7818-5863-4599-9f84-ec98a85d1298.

    If you have any idea on the above issue kindly help .

    Thanks and Regards,

    Kots




    • Edited by Kb Kots Thursday, August 23, 2012 1:21 PM
    • Edited by Kb Kots Thursday, August 23, 2012 1:21 PM updated
    • Edited by Kb Kots Thursday, August 23, 2012 1:22 PM
    •  

All Replies

  • Thursday, August 23, 2012 1:47 PM
     
     

    Hi,

    Are you able to create a new form by clicking the new button.

    If this is the same error, it means that the form is no longer activated on the site collection.

    Could you check too your SharePoint log in order to see if there is more error?

    In order to save time, you have to open your SharePoint Log in the "14/LOG" hive of your server and to search for the Correlation ID specified in the error ("5bae7818-5863-4599-9f84-ec98a85d1298") Inside this file.

    Hope this helps.


    Visit my blog : http://rmatayron.blogspot.com/

  • Friday, August 24, 2012 7:32 AM
     
     

    Hi Matayron,

    Thanks for your reply, we have initial.aspx page where we given the url to create new items, But user has created many items and they are working fine. I have verified the Logs file but I couldnot get much out of that . below is the information from the 14/logs file.

    Cannot complete this action.  Please try again.

    Thanks and Regards,

    Kots

  • Friday, August 24, 2012 10:19 AM
     
     

    Ok,

    So could you check what is the processing instruction into the xml files that don't want to open.

    In order to see this, you have to save the xml of the form on your computer and check on the top of the myfiled node.

    Is the Href correct for the Template location?

    IF yes, you can try to modify the data into the xml to return to a basic XML. This will allow you to see if you got the same error with a clean XML...


    Visit my blog : http://rmatayron.blogspot.com/

  • Friday, August 24, 2012 11:26 AM
     
     

    Hi Matayaron,

    I tried to Download the xml file and also  trying to check the permission by clicking the manage permission of list item, it is throwing the below error .

    Cannot complete this action.

    Please try again.

    One more update on this issue :

    We have event handler running, When item is added to the form library. This event handler will remove all permissions and provide permission to user ,approver and Site Owner group.

    Is this causing any issue ?

    Regards,

    Kots



    • Edited by Kb Kots Friday, August 24, 2012 11:27 AM
    • Edited by Kb Kots Friday, August 24, 2012 2:36 PM
    •  
  • Monday, August 27, 2012 2:34 PM
     
     

    Hi ,

    The above issue is comming in Production server, Since we lost 3 days, Please provide any pointers or help on this issue asap.

    Thanks in advance.


    Best Regards,

    Kots


    • Edited by Kb Kots Monday, August 27, 2012 2:35 PM
    •  
  • Monday, August 27, 2012 6:12 PM
     
     

    Hi,

    Sorry for the delay but it is not easy to find a workaround when I can't reproduce the problem!

    If you are logged in on SharePoint with the admin account, it is not normal that you cannot save the form on your desktop... Have you got the same problem with other libraries?


    Visit my blog : http://rmatayron.blogspot.com/

  • Tuesday, August 28, 2012 7:24 AM
     
     

    Hi Remi Matayron,

    Yes, we have 4 form libraries, it is appearing for other libraries also but It is not appearing for all items in the library, only for few items( .xml files) error is showing.

    This issue is appearing in both UAT server and Production server.


    Best Regards, Kots

  • Tuesday, August 28, 2012 7:57 AM
     
     

    Ok, so I got a few question for you:

    • Are this items or libraries coming up form a migration?
    • If you use explorator mode of the library, are you getting the xml file?
    • Is this file larger than the other (attachments,...)

    Visit my blog : http://rmatayron.blogspot.com/

  • Tuesday, August 28, 2012 10:31 AM
     
     

    HI Matayron,

    Please find the answers for your questions below

    • Are this items or libraries coming up form a migration?

    Ans : No, new items are created using the addnew documents from the library

    • If you use explorator mode of the library, are you getting the xml file?

    Ans : When i tried to open in exploror i am getting "Your client does not support opening this list with Windows Explorer." error. but i tried to download the item but still it is given the "cannot complete this action" error.

    • Is this file larger than the other (attachments,...)

    And: NO, its is very small in size



    Best Regards, Kots


    • Edited by Kb Kots Tuesday, August 28, 2012 10:42 AM
    •  
  • Thursday, August 30, 2012 7:52 AM
     
     

    Ouch...

    I try my last chance : Is your form opening in browser or in InfoPath client?

     The URL "/sites/<SiteCollection>/formlibrary/Test.xml" not seems to open in browser because you will have this url if your try to open with forms services :"/sites/<SiteCollection>/_layouts/formserver.aspx?.../Test.xml"

    Could you read this post and try operations : http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/b2d75979-e9d5-4b41-9fd7-d7c360688529/

     


    Visit my blog : http://rmatayron.blogspot.com/

  • Thursday, August 30, 2012 8:14 AM
     
     

    Hi Remi Matayron,

    My form will open in browser.. I published administrator approved  to central admin.


    Best Regards, Kots

  • Wednesday, March 27, 2013 7:56 PM
     
     
    I am getting same issue. When i try to update Info-path XML from SharePoint custom Timer job and it's updating without issue but after update we have some Custom Event Handler on SharePoint List(While Update,Add,Delete). So, we are getting some error like The following file is not a valid InfoPath form: /departments/CorpDepts/it/Equipment Purchase/130327120309KSURAPANENI.xml. Correlation ID:450afc5c-6cc5-473c-856d-294b483d580c When i disabled Event Handler from SharePoint Info-path list then i don't have any issue. Please help me How to update Info-path XML Programmatically when Event handler associated with same Info-path List. Thanks for you time and help.