Error when trying to open code behind - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Error when trying to open code behind Error when trying to open code behind Last post 11-22-2010 12:07 PM by Potemkine. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-22-2010 07:55 AM vraman Joined on 02-25-2010 Posts 4 Error when trying to open code behind Reply Contact We are developing an infopath form which is pretty big. We have around 38 views and the code behind is around 3500 lines of code. When ever I try to open the code behind I get an error, "Infopath has encountered an error. The operation failed". I tried to remove the code behind and add it back. Still the same thing. 11-22-2010 10:17 AM In reply to Potemkine Joined on 06-21-2010 Posts 451 Re: Error when trying to open code behind Mark as Not AnswerMark as Answer... Reply Contact Hi Vraman, It's not really easy to help with this kind of error.I suggest you to take the code on FormCode.cs file, remove your current code, add a new one and paste your code on it. 11-22-2010 10:25 AM In reply to vraman Joined on 02-25-2010 Posts 4 Re: Error when trying to open code behind Mark as Not AnswerMark as Answer... Reply Contact I did that. But still the same thing. Previously I used to be able to open the visual studio tools, by navigating to Tools->Programming->Microsoft visual studio tools. But now, when I try to do that I get the same error. 11-22-2010 12:07 PM In reply to Potemkine Joined on 06-21-2010 Posts 451 Re: Error when trying to open code behind Mark as Not AnswerMark as Answer... Reply Contact If you start a new form you still have the problem ? Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
We are developing an infopath form which is pretty big. We have around 38 views and the code behind is around 3500 lines of code. When ever I try to open the code behind I get an error, "Infopath has encountered an error. The operation failed". I tried to remove the code behind and add it back. Still the same thing.
Hi Vraman,
It's not really easy to help with this kind of error.I suggest you to take the code on FormCode.cs file, remove your current code, add a new one and paste your code on it.
I did that. But still the same thing. Previously I used to be able to open the visual studio tools, by navigating to Tools->Programming->Microsoft visual studio tools. But now, when I try to do that I get the same error.
If you start a new form you still have the problem ?