and i got the following error
: -------------------------------------------------------------- >
See the end of this message, instead of this dialog box, for details on
invoking
just-in-time (JIT) debugging.
************** Exception Text **************
System.TypeInitializationException: The type initializer for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an
exception. ---> System.IO.FileNotFoundException: Could not load file or
assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its
dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304'
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
at Timetable2005.ClassDistributionFinal..ctor()
at Timetable2005.frmReports.tabControl1_Selected(Object sender,
TabControlEventArgs e)
at System.Windows.Forms.TabControl.OnSelected(TabControlEventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50215/mscorlib.dll
----------------------------------------
Timetable2005
Assembly Version: 1.0.1984.26320
Win32 Version: 1.0.1984.26320
CodeBase: file:///C:/Program%20Files/TTSetup/Timetable2005.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Infragistics.Win.UltraWinEditors.v5.1
Assembly Version: 5.1.20051.37
Win32 Version: 5.1.20051.37
CodeBase:
file:///C:/Program%20Files/TTSetup/Infragistics.Win.UltraWinEditors.v5.1.DLL
----------------------------------------
Infragistics.Win.v5.1
Assembly Version: 5.1.20051.37
Win32 Version: 5.1.20051.37
CodeBase: file:///C:/Program%20Files/TTSetup/Infragistics.Win.v5.1.DLL
----------------------------------------
Infragistics.Shared.v5.1
Assembly Version: 5.1.20051.37
Win32 Version: 5.1.20051.37
CodeBase:
file:///C:/Program%20Files/TTSetup/Infragistics.Shared.v5.1.DLL
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.50201.0
CodeBase:
file:///C:/Program%20Files/TTSetup/CrystalDecisions.Windows.Forms.DLL
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.50207.0
CodeBase: file:///C:/Program%20Files/TTSetup/CrystalDecisions.Shared.DLL
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.50207.0
CodeBase:
file:///C:/Program%20Files/TTSetup/CrystalDecisions.ReportSource.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50215.44 (beta2.050215-4400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.2.3600.0
Win32 Version: 10.2.50207.0
CodeBase:
file:///C:/Program%20Files/TTSetup/CrystalDecisions.CrystalReports.Engine.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-------------------------------------------------------------- >
PLS HELP ME !!!!!!!!!!!
Thanks,
Tarek Ghazali
In the name of Allah the most gracious and the most merciful
Besm Allah Al-Rahman Al-Raheem
…
To solve this problem you have to do the next few steeps
1- Open your Solution File ( You Project on Visual Studio .NET 2005 ) .
2- From The Solution Explorer chose "My Project" ( Directly under your
Program's name in the Visual Studio .NET 2005 Window) .
3- When you chose "My Project" A new window will appears with the name
of your project in that window's title , and you will see on the left
side of that window A list contains
Application
Compile
Debug
References
Resources
Settings
Signing
Security
Publish
Code Analysis
4- Chose "Publish" , and you will see 4 vertical command Buttons , chose
the second one ( "Prerequisites" Command Button ) .
5- New window will appears when you chose "Prerequisites" , and form
that window chose "Crystal Reports for .NET Framework 2.0" , make sure
the check box is checked ( the mark is right ) .
6- In the same window you will find 3 vertical Radio Buttons , chose the
second one ( The one with this name "Download Prerequisites from the
same location as my application" ) , and then press ok to close the
window and .
7- Now you will find your self back again to Publish Window , so press
the "Publish Now" Command , and A new folder will created ( The folder's
name will be "Publish" and it will be automatically opened ) , and if it
didn’t open you will find it under your solution's Folder .
8- When the folder is opened , you will find A Folder Named
"Crystalreports" ,Open it and you will find An Executable File Named "
CRRedist2005_x86 " Or "CRRedist2005_x64" , whatever , Start Install this
file on your Client's PC before Starting you application on it , and
after the installation of " CRRedist2005_x86 " is Completed , Run you
Application , and the problem will disappear :) ( I hope so :P ) .
Tell me if it worked with you , and If it doesn’t … I'll try to find
another way to solve this problem .
Wa Al-Salam Aliekom wa Rahmat Allah wa barakato
Posted by Labeeb Saleh Mohammad Abughres ( Kamikaze )
From Islamic Arabian World – Libya – Tripoli (Capital)
*** Sent via Developersdex http://www.developersdex.com ***
I had this problem, but occurring for a windows application. In order to
solve it, I:
1. Selected my setup project, and clicked properties.
2. Clicked the "prerequisites" button
3. Checked the boxes "Crystal Reports for .NET Framework 2.0",
"Microsoft Data Access Components 2.8" (CRYSTAL NEEDS THIS TO INSTALL),
also ".NET Framework 2.0" (optionally).
4. I then selected the "Download prerequisites from the same location as
my application".
5. When the setup file builds, it then put the necessary prerequisite
files into directories with the install package.
6. Installed on the server and am now happy!
Hope this helps others who found themselves where I was,
Wodge
Thanks for your help! I was able to deploy my code without any issues.
Amy
Hope this will help you!
regards,
Adriano da Silva
Please help.
Hi,
I am also running in the same situation. But i am getting this error for
Business framewor dll file.
Please help me
Thanks
Mahen
Server Error in '/' Application.
Configuration Error
Parser Error Message: Could not load file or assembly
'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system
cannot find the file specified.
Source Error:
Line 27: <compilation debug="true" strict="false" explicit="true">
Line 28: <assemblies>
Line 29: <add assembly="Microsoft.Office.Interop.Excel,
Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"/></assemblies></compilation>
Line 30: <pages>
Line 31: <namespaces>
Source File: d:\home\synergize.co.in\wwwroot\web.config Line: 29
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'Microsoft.Office.Interop.Excel,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
could not be loaded.
shukriya for help u given
this help is among thos help in my life which worked exactly as i want
and this type of help are very rare
hope i will contact u again and take help from u
khuda hafis(BYE).
Lo que realmente soluciona esto es:
buscas en tu maquina de desarrollo el archivo llamado
CRRedist2008_x86.msi, lo ejecutas, eso va a habilitarte el uso del
Crystal en el server, luego de eso, buscate las DLLs
crystaldecisions.crystalreports.engine.dll.
crystaldecisions.reportsource.dll
crystaldecisions.shared.dll
crystaldecisions.web.dll
y copialas en el BIN de tu aplicacion...
y Listo....
jejejejje....
In my application i didn/t find the "Publish" button. I am using the
VS2008
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/