Unable to open .xsn file - InfoPath Dev
in

InfoPath Dev

Unable to open .xsn file

Last post 05-18-2006 05:45 AM by uma. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-18-2006 02:59 AM

    Unable to open .xsn file

    Hello

    This is surely a newbie question:

    I've created a form last year, conected to a MSAccess DB. Worked fine.

    Due to a change in the DB structure, I've had to modify the data source in my .xsn file.

    Since then I can't open the file, neither in design mode nor in fill-in mode.

    Error shown says : "yourfile.xsn is not a valid xml document. Bad document syntax, line 1, position 1".

    The only thing I've changed is the DB link, and though I am newbie in this program, I don't remember any mistake that could have caused this malfunction.

    Does anyone know if this can be fixed? It's a rather complex form (hidden fields, 2 views, 2 languages) and the idea of create a new one from scratch desperates me...

    Thank you for your help!
  • 05-18-2006 05:45 AM In reply to

    • uma
    • Top 500 Contributor
    • Joined on 12-23-2005
    • Posts 35

    Re: Unable to open .xsn file

    Hi,

    In my experience, I got the same error message while closing the .xsn file by making some updations to my .xsn file.
    I tried a lot to get back my .xsn with the new changes which I made, but I didn't get. At that time I remove the new changes from my InfoPath design form which I made. Then it works properly.

    Now, In your case, try once by updating the data connection to what it has previously.If you get your .xsn file back then update the data connection which is made for your access data base by using tools->data connections->and select the dataconnction which you want to modify-> click Modify and modify the data connection as you required. (I think, it is one way to get back your .xsn file)




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