SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created an InfoPath 2010 form and published it to SharePoint Server 2010. I published it to open in the browser not in the InfoPath Filler, and it works fine.

When I attach a code project to it (even I don't write any code), it opens with the InfoPath Filler not the browser.

Any ideas?

share|improve this question

closed as not a real question by Alex Angas Jun 2 '11 at 6:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Please, describe method how you deploy your form. – avishnyakov Aug 2 '10 at 16:23
This is funny but I have reverse problem - as soon as I attach custom code to a button placed on a browser-enabled form in Infopath Designer 2010 this button cannot be rendered in Infopath Filler or client form any more – Gennady Vanin Геннадий Ванин Jun 23 '12 at 8:07

If I understand it correctly, the moment you attach a code project to it, it loses its status as a browser-enabled form. This results in the form defaulting to opening itself in Infopath. Remove the code project and you should be fine.

share|improve this answer