Crystal Report for visual studio crashes on 'Report Preview' - vb.net

this is new for me, i have a new machine(x64) with win8 and everytime i try to see the 'Report Preview' i get this error on my event log:
Naam van toepassing met fout: devenv.exe, versie: 10.0.40219.1, tijdstempel: 0x4d5f2a73
Naam van module met fout: craxddrt.dll, versie: 13.0.0.99, tijdstempel: 0x4cc41346
Uitzonderingscode: 0xc000041d
Foutmarge: 0x001642bc
Id van proces met fout: 0x1234
Starttijd van toepassing met fout: 0x01ced3d13b896e1a
Pad naar toepassing met fout: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
Pad naar module met fout: C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\craxddrt.dll
Rapport-id: 9bcabf7a-3fc4-11e3-be77-54bef702c245
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:
My old machine had win7(x64).
I have also a printscreen of the error on this link(this happens with empty reports aswell as reports with data):
http://imgur.com/slKvNDa
Regards,
Rui Nunes

Unfortunately I'm not fluent in Dutch, but it seems that you are missing some files. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe and C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\craxddrt.dll are your clues here. Please read this post on CR and 64 bit systems.
Hope that helps,
Chris

Related

Error migrating from GeneXus 9 to GeneXus Evo 2 U5

I'm migrating a KB from GeneXus 9 to GeneXus Evo 2 U5. I'm using .Net and SQL Server, and followed the steps that are mentioned in GXTechnical but I have the following error:
========== DeveloperMenu Compilation started ==========
gxexec "C:\Modelos GX\Postulantes\DATAPROT\bldDevelopermenu.cs" -r:GxBaseBuilder.dll -arg:csc="C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" -arg:mdlpath="C:\Modelos GX\Postulantes\DATAPROT"
Building bin\messages.spa.dll
Read in 570 resources from 'messages.spa.txt'
Writing resource file... Done.
Compilador de Microsoft (R) Visual C# 2008, versi¢n 3.5.30729.5420 para Microsoft (R) .NET Framework, versi¢n 3.5
(C) Microsoft Corporation. Reservados todos los derechos.
Error:Build error for target bin\GeneXus.Programs.Common.dll: .\GxObjectCollection.cs does not exist.
DeveloperMenu Compilation Failed
========== Assemblies Compilation started ==========
gxexec "C:\Modelos GX\Postulantes\DATAPROT\bldAssemblies.cs" -r:GxBaseBuilder.dll -arg:csc="C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /noconfig -arg:mdlpath="C:\Modelos GX\Postulantes\DATAPROT"
Error:Build error for target bin\GeneXus.Programs.Common.dll: .\GxObjectCollection.cs does not exist.
Assemblies Compilation Failed
Rebuild All Failed
What should I do to solve this problem?
Try these steps:
In GeneXus, go to Tools -> Explore Knowledgebase Directory
Delete all *.ari, *.0?? files
In GeneXus, go to Tools -> Explore Target Environment Directory
Delete that folder
In GeneXus, go to Build -> Rebuild All
If you keep having the same error, look at the entire output; there may be other errors before that one. If not, contact the GeneXus support team. If yes, search in google or search.genexus.com for solutions of that new errors.

running vb.net code in Mono on Windows

I'm trying to run the following vb.net code on Mono on the Windows 7 machine, ina file called vbtest.vb:
console.writeline("hello world")
The command used and error:
C:\Windows\System32>vbnc "C:\Users\Henry\vbtest.vb"
Visual Basic.Net Compiler version 0.0.0.5943
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC2017: The library 'Microsoft.VisualBasic.dll' could not be found.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.3320190

Visual Studio 2010 Crash on project/form load

First i want to apologize for my english :S.
Hi i just got visual studio pro 2 days ago and every time i create a project, close VS 2010 and when i come back to work on my project and i click on my Form.vb i got every time : Visual Studio has stopped working.Then i tried run as administrator it doesn't work. What i don't understand it's when i click on show code the form load but the moment i click on it ,it just crashing and it's make me wanna drop laptop cascade...I've look on forum and post here but i haven't saw what i was searching.
Here the error that VS show me :(Those files doesn't exist i search)
Files that help describe the problem:
C:\Users\Usager\AppData\Local\Temp\WER152.tmp.WERInternalMetadata.xml
C:\Users\Usager\AppData\Local\Temp\WER18C9.tmp.appcompat.txt
C:\Users\Usager\AppData\Local\Temp\WER3520.tmp.hdmp
An unhandle win32 exception occured in devenv.exe[1688]
Unhandled exception at 0x777715de in devenv.exe: 0xC0000005: Access violation reading
location 0x00000000.
An unhandled exception of type 'System.ExecutionEngineException' occurred in
Microsoft.VisualStudio.Design.dll
Again thank you for your time to helping me.**
Here the Error log :
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,18:55:04] VS70pgui: [2] Return for Visual Studio 2010 Tools pour SQL Server Compact 3.5 SP2 FRA indicates a failed installation. DepCheck indicates the component is installed.
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
**EndOfSession
Could be the *.suo file next to the .sln file. Delete it and retry?
See this for more info
I had a similar error. I found out that the destination path had too many characters and was too long. I fixed it by moving the whole project to my main drive (C:).

Working with Sandcastle and Compact Framework projects

I have a set of .Net Compact Framework, 3.5, projects I have included into a Sandcastle project.
In VS 2008 the compilation fails with this log (PATH is the path to the solution):
Step 1 of 12: Change Directory
Changing current directory from "PATH\Documentation\Help\" to "PATH\Documentation\buildhelp"
Step 1 Time Elapsed: 00:00:00.0156256
Step 2 of 12: Execute MRefBuilder
C:\Program Files (x86)\Sandcastle\ProductionTools\MRefBuilder /config:"PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.config" /out:reflection.org /internal- /dep:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll","C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll","C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll","C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll","C:\Windows\assembly\GAC_MSIL\System.Data.SqlXml\2.0.0.0__b77a5c561934e089\System.Data.SqlXml.dll","C:\Windows\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll","C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll","C:\Windows\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll","C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll","C:\Windows\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll","C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" "PATH\DesktopTestsLauncher\bin\Debug\DesktopTestsLauncher.exe" "PATH\HSNDemo\bin\Release\HSNDemo.exe" "PATH\HSN_Coordinator Bluetooth IMAGE\BTWrapper\bin\Release\BTWrapper.dll" "PATH\HSN_Coordinator Bluetooth IMAGE\HSN_Coordinator\bin\Release\HSN_Coordinator.dll" "PATH\PortableStationLibrary\bin\PDA\PortableStationLibrary.dll" "PATH\PortableStationTests\bin\Debug\PortableStationTests.exe" "PATH\PortableStation\bin\Debug\PortableStation.exe"
MrefBuilder (v2.6.10621.1)
Copyright ¸ Microsoft 2006
Error: A file access error occured while attempting to load the addin assembly 'PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.exe'. The error message is: No se puede cargar el archivo o ensamblado 'file:///PATH\Documentation\Help\Presentation\Style\Configuration\MRefBuilder.exe' ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.
Non-zero exit code: 1
Step 2 DaveSexton.DocProject.Engine.ExternalProcessException: Execute MRefBuilder:
The "C:\Program Files (x86)\Sandcastle\ProductionTools\MRefBuilder" process failed with exit code: 1.
Successful Steps: 1 of 12
Failed Steps: 1
Documentation help build failed.
If I use the DocProject External UI I get this message: "The imported project C:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft.CompactFramework.CSharp.targets was not found."
I have installed the .Net CF power toys, and I have that file in the 32bits version of the framework. How do I tell SandCastle to use the 32bits version???
You should tell to use the X86 Build platform. If it is auto, it will search in Framework64 directory. See if this blog post helps: http://www.simonrhart.com/2010/06/automating-your-windows-mobile-6x.html
It is related to TFS Build but the MSBUILD platform should be X86 and not Auto. Hope this helps you in finding a solution.

crm developer tools integrated in visualstudio

I'm trying to get crm-explorer and developer tools integrated and running within visual studio
I suceeded in having the crm explorer integrated, but don t know how to simple build
I read about devbuild but when triggering it from a visualstudio command line I get:
c:\Projects\MyCrmSolution>ECHO OFF
Welcome to the Developer Build
Starting Build soluton files Microsoft
(R)-Buildmodul, Version 3.5.30729.1
[Microsoft .NET Framework, Version
2.0.50727.3620] Copyright (C) Microsoft Corporation 2007. Alle
Rechte vorbehalten.
Das Erstellen wurde am 06.06.2011
10:39:30 gestartet. Projekt
"c:\Projects\MyCrmSolution\BuildScripts\tfsbuild.proj"
auf Knoten 0 (Standardziele).
c:\Projects\MyCrmSolution\BuildScripts\tfsbuild.proj
: error MSB4057: Das Projekt enthält
kein DesktopBuild-Ziel. Die Erstellung
von Projekt
"c:\Projects\MyCrmSolution\BuildScripts\tfsbuild.proj"
ist abgeschlossen (Standardziele) --
FEHLER.
Fehler beim Erstellen.
"c:\Projects\MyCrmSolution\BuildScripts\tfsbuild.proj"
(Standardziel) (1) ->
c:\Projects\MyCrmSolution\BuildScripts\tfsbuild.proj
: error MSB4057: Das Projekt enthält
kein DesktopBuild-Ziel.
0 Warnung(en)
1 Fehler
Vergangene Zeit 00:00:00.06
straight tips would be nice
Based on the error, it sounds to me like the build script is unable to find the desktop build target file. I would open up the build script that you are executing first and look for external scripts that it references. My guess is that one of these references will be missing or named differently. That is what I would investigate first.