Skip to Content
0
Former Member
Dec 21, 2010 at 10:13 AM

KeyCodeDecoder.dll issues in windows service.

77 Views

Hi!

I am using the production release of Crystal Reports for Visual Studio 2010 in a windows service that is creating reports.

The production server is a windows 2008 server standard, 64 bit.

SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit) is installed.

I have two identical versions of the windows service and the first one is creating reports and running without any errors.

When i start the second one and it starts to create reports the service is shut down and the following error is reported in the eventlog:

-


Error:

The description for Event ID 4353 from source Crystal Reports cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.

the message resource is present but the message is not found in the string/message table

-


The dlls for crystal are in the same folder as the service (CrystalDecisions.CrystalReports.Engine.dll and CrystalDecisions.Shared.dll)

The services are identical with changes only to the .config file and the service name.

I have run process monitor to check for permission problems but the services are setup with identical permissions.

Below is the information from the process monitor about the KeycodeDecoder.dll:

ReportService.exe	9332	CreateFile	C:\Windows\Microsoft.Net\assembly\GAC_64\BusinessObjects.Licensing.KeycodeDecoder\v4.0_13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	CreateFile	C:\Windows\Microsoft.Net\assembly\GAC_MSIL\BusinessObjects.Licensing.KeycodeDecoder\v4.0_13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	CreateFile	C:\Windows\Microsoft.Net\assembly\GAC\BusinessObjects.Licensing.KeycodeDecoder\v4.0_13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	CreateFile	C:\Windows\assembly\GAC_64\BusinessObjects.Licensing.KeycodeDecoder\13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	CreateFile	C:\Windows\assembly\GAC_MSIL\BusinessObjects.Licensing.KeycodeDecoder\13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	CreateFile	C:\Windows\assembly\GAC\BusinessObjects.Licensing.KeycodeDecoder\13.0.2000.0__692fbea5521e1304\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
ReportService.exe	9332	QueryOpen	D:\Services\ReportService\BusinessObjects.Licensing.KeycodeDecoder.dll	NAME NOT FOUND	
ReportService.exe	9332	QueryOpen	D:\Services\ReportService\BusinessObjects.Licensing.KeycodeDecoder\BusinessObjects.Licensing.KeycodeDecoder.dll	PATH NOT FOUND	
ReportService.exe	9332	QueryOpen	D:\Services\ReportService\BusinessObjects.Licensing.KeycodeDecoder.exe	NAME NOT FOUND	
ReportService.exe	9332	QueryOpen	D:\Services\ReportService\BusinessObjects.Licensing.KeycodeDecoder\BusinessObjects.Licensing.KeycodeDecoder.exe	PATH NOT FOUND	

Does anyone have any ideas of what is wrong?

I have read and tried everyting in the forums regarding the KeyCodeDecoder.dll issues people are having.