experchange > dotnet.* > dotnet.distributed_apps

Tarek Ghazali (06-08-05, 01:59 PM)
Hi ,
I deployed a new .net application with .net framework (version 2.0.50215)

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.ReportDocu ment' 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.ReportDocum ent..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.ReportDocum ent..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass ..ctor()
at Timetable2005.ClassDistributionFinal..ctor()
at Timetable2005.frmReports.tabControl1_Selected(Obje ct sender,
TabControlEventArgs e)
at System.Windows.Forms.TabControl.OnSelected(TabCont rolEventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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
Labeeb Abughres (09-24-05, 10:50 PM)
Al-Salam Aliekom wa Rahmat Allah wa barakato

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 ***
Warren Legg (11-16-05, 04:47 PM)
Hi,

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

*** Sent via Developersdex ***
Amy (12-06-05, 11:25 PM)
Hi Wodge,

Thanks for your help! I was able to deploy my code without any issues.

Amy

*** Sent via Developersdex ***
adasilva da silva (03-28-06, 04:35 PM)
Hello there,
I don't know if this will help you.
When installing Asp.net 2.0 applications that make use crystal reports,
the run time libraries for Crystal must be installed.
To install the Web application for the first time on the Server you
should use a setup installation. When building a Setup instalation, Make
sure that to inclued in your project dependencies the crystal report
runtime files.
When you select to build your setup installation a CRRedist2005_x86
setup file will be create on the Debug folder under Crystal report
subfolder of your setup installation directory. Before installing your
Web Application Run this setup file and all the libraries for Crystal
will be installed.
I would recommend you to remove your application from your Server first
before running the setup.

Hope this will help you!

regards,
Adriano da Silva

*** Sent via Developersdex ***
blamm blamm (06-03-06, 03:47 PM)
Please help. I tried your solution but when I click on Publish Now it
says " a default key cannot be added to your project. Please use signing
page to add a key before publishing again"

Please help.

*** Sent via Developersdex ***
Mahen joshi (01-15-07, 07:08 PM)
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

*** Sent via Developersdex ***
dotnet developers (10-24-07, 06:33 PM)
Thanks a Lot!!! It s working fine .Ur step by step process is easy to
understand. Its really fantastic explanation.
Thanks for solving the problem with which struggled for a week
natasha natasha (08-04-08, 05:59 PM)
nat

*** Sent via Developersdex ***
Rupesh Shah (08-16-08, 07:18 PM)
Plz. Help me to Resolve...
Thanks,

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.

*** Sent via Developersdex ***
Amol Bhanushali (09-24-08, 06:49 PM)
malik um salam (soory i am not musalman)
still i tried to say hi

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).

*** Sent via Developersdex ***
Carlos Manuel C. Umanzor (12-19-08, 12:20 AM)
Ninguna respuesta sirve....

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....

*** Sent via Developersdex ***
prabha (08-24-09, 10:48 PM)
Hi,

In my application i didn/t find the "Publish" button. I am using the
VS2008

url:
Kim Finchum (09-14-10, 12:23 AM)
Tried to follow your instructions and it just brought me to this page.

From [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)

Posted via DevelopmentNow.com Groups
Kim Finchum (09-14-10, 12:23 AM)
Tried to follow your instructions and it just brought me to this page

From [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD

Posted via DevelopmentNow.com Group