Visual Studio 2008 VSTO and InfoPath 2007 error when trying to run debug(转)
2009-11-24 12:54
645 查看
On Saturday when I was adding my finishing touches to my demo for the Philly Code Camp I ran into an error with Visual Studio 2008 VSTO and InfoPath 2007. Whenever I tried to run my InfoPath 2007 form in debug mode I got the following error.
"Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with the correct command line options"
When I discovered this error and found out that it happened with a brand new project my heart started to beat a little faster (ok lot faster) because I knew the pressure was on to fix the problem before my session started. I started to do searches on the internet and I couldn't find any answers and then I did one final search and I found some link that talked about a similar error with Visual Studio 2008 Beta 2 and another office application. It mentioned about updating Office 2007 with a patch to fix the error. After reading that I looked at the version I was running and notice that I wasn't running SP1 for Office 2007 and decided to install that and see if it would fix the error. Luckily I had internet access at the code camp and started the download and about 30 minutes later I got it downloaded and installed. Then I crossed all my fingers and toes and tried the debug mode again and it worked. By installing SP1 for Office 2007 fixed the problem. I'm sure there will be many more little things pop-up and if I run into them I'll be sure to post them.
"Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with the correct command line options"
When I discovered this error and found out that it happened with a brand new project my heart started to beat a little faster (ok lot faster) because I knew the pressure was on to fix the problem before my session started. I started to do searches on the internet and I couldn't find any answers and then I did one final search and I found some link that talked about a similar error with Visual Studio 2008 Beta 2 and another office application. It mentioned about updating Office 2007 with a patch to fix the error. After reading that I looked at the version I was running and notice that I wasn't running SP1 for Office 2007 and decided to install that and see if it would fix the error. Luckily I had internet access at the code camp and started the download and about 30 minutes later I got it downloaded and installed. Then I crossed all my fingers and toes and tried the debug mode again and it worked. By installing SP1 for Office 2007 fixed the problem. I'm sure there will be many more little things pop-up and if I run into them I'll be sure to post them.
相关文章推荐
- Git “fetch first”and ”non-fast-forward“ error when trying to push
- If you have multiple web application run how to determin which is yours when you debug using visual studio 2008?
- bind(2) error:Permission denied when trying to bind to '/var/run/hdfs-sockets/dn’ ——datanode
- How to collect TrustZone debug logs and check the meaning of error code in the logs
- Why am I getting an AttributeError when trying to print out(转载)
- How to Enable and Run a Payables Concurrent Program in Debug Mode
- sudo: Sorry, you must have a tty to run sudo Error on a Linux and Unix
- 面试题:What will happen when you attempt to compile and run the following code
- 0x80091007 (The hash value is not correct) error when trying to deploy Windows 7 with SCCM OSD
- Error message when you try to save a table in SQL Server 2008: "Saving changes is not permitted"
- A signed resource has been added, modified, or deleted” when trying to debug an App on iPhone
- mysql 报ERROR:Deadlock found when trying to get lock; try restarting transaction
- IE8与Visual Studio“打架” (Error: An add-on for this website failed to run.)
- Error message when you try to modify or to delete an alternate access mapping in Windows SharePoint Services 3.0: "An update conflict has occurred, and you must re-try this action"
- mysqldump执行时Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
- Fixing “Did you mean to run dotnet SDK commands?” error when running dotnet –version
- How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- http://blogs.msdn.com/b/pranavwagh/archive/2007/03/03/word-2007-file-seems-to-be-deleted-when-you-open-and-save-it-using-dsoframer.aspx
- java.lang.String ERROR message="[ERR0125] Error when trying to administer Service
- Error message when you try to use the Live Meeting console to connect to Communications Server 2007: "Live Meeting cannot connect to the meeting."