Shinigamae
Shinigamae

Reputation: 862

InfoPath 2013 development with error "Cannot start debugging. Pre-debugging negotiations with Host failed."

I am using Visual Studio 2012 (exclusively for InfoPath development, nothing else because of Microsoft) and Visual Studio 2013 for other development including SSRS, SSIS. I made a move to 2015 last week and that is where troubles came.

After installing VS2015 with SSTD update, I cannot debug or work on InfoPath form code any more. Everytime I try to debug or save the form with code, I get:

Cannot start debugging. Pre-debugging negotiations with Host failed.

I know this error is popular with SSIS rather than VSTA, I couldn't find any post relate to this issue in VSTA in general and InfoPath in specific. I have tried a lot of suggestion for the SSIS one when possible but nothing works.

I still need to do work on InfoPath 2013 form code (legacy project) and also have to use 2015, or 2017 for other projects. Any suggestion is appreciated.

Screenshot

Update:

Upvotes: 1

Views: 895

Answers (1)

Shinigamae
Shinigamae

Reputation: 862

Apparently the only option is remove Visual Studio Tools for Application 2015 or later then reinstall/repair Visual Studio Tools for Application 2012. If you have to use VSTA 2015 for your SSIS or something else, you may need a separate machine.

I have reached MS but there is no response. I don't think this should be an answer for this issue but I would leave it here in case anyone needs help.

Upvotes: 1

Related Questions