![]() To avoid this issue, install the Visual Studio 2005 Tools for Office Second Edition Runtime on the development computer before you upgrade the project. If you upgrade a Microsoft Office 2003 document-level project, and the document contains Windows Forms controls, the upgraded project might have compile or runtime errors. Issue 5: Errors in upgraded Office 2003 document-level projects that contain Windows Forms controls For a Word project, replace HostPackage="".Īlternatively, ensure that migrated projects are only opened on development computers with Microsoft Office 2010 already installed. You must install the Microsoft Office application that is associated with this project type." "Cannot create the project because the application associated with this project type is not installed on this computer.Please see the Output Window for details." "One or more projects in the solution were not loaded correctly.Issue 4: Can't open a project after migrationĪfter an Office solution is migrated to Microsoft Office 2010, the project can't be opened on a development computer with only the 2007 Microsoft Office system installed. ![]() On the Privacy Options tab, clear the Remove personal information from file properties on save check box.To avoid this ISSUE, perform the following steps before creating the project: These errors can occur you try to create a project that is based on a workbook that had its personal information removed by using the Document Inspector. From Visual Studio: "Designer failed to load correctly.".These may include personal information that cannot be removed by the Document Inspector." From Excel: "Privacy warning: This document contains macros, ActiveX controls, XML expansion pack information, or Web components.If you create a new Excel workbook project based on an existing workbook, you might see a combination of the following errors. Issue 3: Errors when you create an Excel workbook project based on an existing workbook Alternatively, you can preserve the control properties by creating a copy of the existing project instead of creating a new project, or by loading the existing project into the new solution (in the designer) and copying and pasting the controls from the existing document to the new document. Reset the properties for any pre-existing controls manually. If you create a new Office project based on a document from an existing project, the properties for any controls that are on the document aren't copied into the new project. Issue 2: Control properties are lost when you create a new project based on a document from an existing project ![]() Make sure that all other instances of Excel or Word are closed. If you're trying to create a document-level project, it's possible that another document with the same name as the document in the new project is already open in Excel or Word. If an error occurs when you try to create or open an Office project, but Visual Studio doesn't have enough information to determine the cause, try closing your project, exiting Visual Studio, and starting again. You might encounter the following issues when you create or open Office projects. This article introduces how to troubleshoot issues that you may encounter when you perform different tasks while developing Office solutions in Visual Studio。 Issues when you create, upgrade, and open projects
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |