index > Visual Studio Tools for Office > Problems creating an office project

Problems creating an office project

I'm trying to create an Excel and Word Projects in VS 2005 Beta 2 and always got this error, "The type initializer for 'Microsoft.VisualStudio.Tools.Application.Hosting.VCG' threw an exception." in a error dialog, and the creation is uncomplete.
then suddenly this error stopt coming and I was able to finish the creation of the project. But then another problem came, if I tried to run the project it always crashed. It's an empty excel project... And the first error is coming again.

I need help on this one...
Andri

This error may be the result of a issue with the setup. On your installation media for Visual Studio 2005, locate the VSTOR.exe file.

Double click on the VSTOR.exe file to re-run the installation for the VSTO Runtime. Once this completes test with the Excel and Word projects to see if you still receive the error.

Regards,

Ken Laws
MSFT

This posting is provided "AS IS" with no warranties, and confers no rights.

For more information regarding Visual Studio Tools for Office 2005:

Best of Blogs: Visual Studio 2005 Tools for Office
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_2003_ta/html/odc_landvsto2005_ta.asp

Visual Studio Tools for Office Forum
http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16

Visual Studio Tools for the Microsoft Office System
http://msdn.microsoft.com/office/understanding/vsto/default.aspx

Ken Laws

Hi Andri,

Did you solve the problem? I have the same problem as you. Pls tell me if you could solve it.

I re-installed vstor and the problem is still alive.

Thanks in advance




Ready to move
Pipeton
reply 3

You can use google to search for other answers

 

More Articles

• font formating
• VSTO 2005 Beta2 FAQ
• Command not available exception on using range.Find.Execute (&quo...
• VSTO 2005 SE Problems on Vista RC1 & 2007 Office
• Assembly not being loaded with MS-Word
• Getting an Excell::* pointer form a com component
• Office 2007 Custom Ribbon
• working with sql server data in ms excel
• Installing VSTO "v3" solutions on client machines
• How do i Hide fields so that they don't take up space on my form?
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Importing Text File into Datagrid View
• Is it possible to create plug-ins for Of
• Is it not possible to update tables with
• Word OCX Control
• Create Word Document Using C# 2.0 &
• UNABLE TO CREATE EXCEL WORKBOOK PROJECT
• "The project cannot be created"
• Creating Word Templates using VSTO
• Word sub-menus not visible in VSTO 2005
• referencing listobject control from This
• How to set VSTO for quiet failure
• Smart Tag aspect
• Adding XML nodes in run time
• Need to Disable the Click Event of Save
• Error while locking columns & cells

Hot Articles

• 2 ListObject into same sheet.
• What action can change .dot file
• Passing excel workbook object
• InfoPath 2003 Tools for Visual Studio 2003
• Undo disabled when Protection is turned
• VSTO v3 CTP
• Removing host controls thrown an error H
• Outlook Add-in Not Loaded :runtime error
• Error opening an excel file with cached
• get range from excel sheet of separate c
• Global Address list - microsoft outlook
• Use Excel Functions....
• how to import a .vcf file into outlook p
• Intercept events from custom controls
• The default behavior to click and open a

Recommend Articles

• Adding controls at runtime resulting error
• C++ and Access
• SetSpreadsheetData method with OWC Chart
• Outlook and ASP.NET
• Populate pivot table with pre selected i
• Read Excel 2003 XML Spreadsheet and save
• Excel - Clear contents for a sheet
• Word VSTO 2005, assembly Link property
• binding in Word documents
• XLA for VSTO
• Auto signature insertion in Outlook
• Office Project Type
• Using Office 2003 Conponets in VS2005?
• Change Word formfield checkbox value
• Deploying Outlook Add-In (after followin