Showing posts with label windows 7. Show all posts
Showing posts with label windows 7. Show all posts

Friday, March 23, 2012

Error when changing an applications Target Framework from 2.0 to 4.0

I've had a problem with Crystal Reports when changing an applications Target Framework from 2.0 to 4.0 

Error:
Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.

Resolution:
Add the following to app.config:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime Version="v4.0" sku=".NETFramework, Version=v4.0" />
startup>
 
 
System: VS 2010, Crystal Reports 13, Windows 7 x64 

Monday, October 17, 2011

Make Visual Studio 2010 use more than 2GB of RAM

Tested on Windows 7 Ultimate x64:
  1. Make a backup of 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devaenv.exe'
  2. Add 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin' without quotes to PATH variable
  3. Open cmd under: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
  4. Run in cmd: 'editbin /LARGEADDRESSAWARE devenv.exe' without quotes
  5. Restart

Thursday, January 20, 2011

ClickOnce Installation Location

Windows XP:
C:\Documents and Settings\\Local Settings\Apps

Windows Vista/Windows 7:
C:\Users\\AppData\Local\Apps

Tuesday, March 2, 2010

Visual Studio 2008 Windows 7 x64 doesn't break on throw new Exception

I thought so too, but after a little search I found that under Visuals Studio Debug-Exceptions menu the "thrown" checkbox under Common language runtime exceptions wasn't checked. To solve the problem, just check "thrown" under CLRE.