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.

Comments

Sandip 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

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

None of the selected features can be installed or upgraded. Setup cannot proceed since no