Deploy an InfoPath 2007 Form with Managed Code to a Browser Enabled Sharepoint Document Library


InfoPath forms can be deployed to a Sharepoint document library, and assuming that the form template has been developed to be browser compatible, the form can be opened in a browser client (either when the user’s machine doesn’t have the InfoPath client or when the Sharepoint document library is configured to open forms by browser … Continue reading Deploy an InfoPath 2007 Form with Managed Code to a Browser Enabled Sharepoint Document Library

Load InfoPath Forms with Managed Code from Sharepoint


When loading an InfoPath form from a Sharepoint document library, you may be presented with a policy error message indicating that (Internet) forms with managed code cannot be loaded. This can be a pain in the neck while developing, but can be circumvented by making the following registry change; HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\InfoPath\Security:RunManagedCodeFromInternet(DWORD) = 1

Unable to run tests in VS 2008 Unit Testing


Had a problem today trying to run tests in Visual Studio 2008, where the test run would complete saying that all tests were not executed. A look in the test run details shoed the following error message; “Code coverage collection error: The Visual Studio performance and coverage logging engine is already running on the computer. … Continue reading Unable to run tests in VS 2008 Unit Testing