Sunteți pe pagina 1din 9

Bdex 

> Forums & Newsgroups > Newsgroups > microsoft.public.dotnet.distributed_apps

View Message Thread  (9 replies)

Results 1 - 10 of 10

Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!


EnableLog] (DWORD) to 1

From: Tarek Ghazali


Date Posted: 6/8/2005 6:00:00 AM

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.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.Form
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.EnterpriseServi
s.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

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: Labeeb Abughres


Date Posted: 9/24/2005 2:53:00 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 http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: Warren Legg


Date Posted: 11/16/2005 7:50:00 AM

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 http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: Amy
Date Posted: 12/6/2005 2:27:00 PM

Hi Wodge,

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

Amy

*** Sent via Developersdex http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1
From: adasilva da silva
Date Posted: 3/28/2006 7:39:00 AM

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 http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: blamm blamm


Date Posted: 6/3/2006 7:56:00 AM

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 http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1
From: Mahen joshi
Date Posted: 1/15/2007 10:10:00 AM

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 http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: dotnet developers


Date Posted: 10/24/2007 10:35:00 AM

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

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: natasha natasha


Date Posted: 8/4/2008 10:03:00 AM

nat

*** Sent via Developersdex http://www.developersdex.com ***

Re: Urgent pls: WRN: Assembly binding logging is turned OFF -- HKLM\Software\Microsoft\Fusion!
EnableLog] (DWORD) to 1

From: Rupesh Shah


Date Posted: 8/16/2008 11:22:00 AM

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.

S-ar putea să vă placă și