Monday, February 18, 2008

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9b

---------------------------Microsoft Visual Studio---------------------------

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

---------------------------OK ---------------------------

When i try to create new InfoPath Form Temaplate project using Visual Studio 2008 i got the above mentioned error mentioned error message. After some analysis i found that InfoPath 2007 as be installed in the development machine.

1 comment:

Unknown said...

When this error is encountered check add / remove programs, microsoft office 2007 and verify

that the .net component is installed - if it is not then install it for infopath which

enters the needed assemblies including the one above. You can verify this by running the

gacutil.exe from the visual studio command prompt and checking the output. eg: gacutil /l >

somefile.txt - then open this file in your text editor ( ie: notepad). There should be an

entry for microsoft.office.infopath.vsta

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...