Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message in Business Portal for Dynamics SL :An exception has occurred and been written to the Application Event Viewer. Contact your system administrator.


View products that this article applies to.

Symptoms

When you try to view a report in Business Portal you recieve the following error message:

An exception has occurred and been written to the Application Event Viewer. Contact your system administrator.

When you view the message in the Application Event Viewer the error message resembles the following:

Event Type: Error
Event Source: Business Portal Report Viewer
Event Category: None
Event ID: 0
Date: MM/DD/YYYY
Time: 12:00:00 PM
User: N/A
Computer: <Computer Name>
Description:
USER = Domain\<USERNAME>
Application = mscorlib
Method = Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)

Error = System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.BusinessPortal.Reports.FileService.IFileRetreiver'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{80EA105D-E312-423F-84BC-C2A1DB95C46F}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).

↑ Back to the top


Cause

The size of the Microsoft.BusinessPortal.Reports.FileService.tlb file is 0 kilobytes (KB).

↑ Back to the top


Resolution

To resolve this issue, follow these steps:

1. In Windows Explorer, locate the Microsoft.BusinessPortal.Reports.FileService.tlb file.

Note By default, this file is located in the following folder: c:\inetpub\wwwroot\wss\VirtualDirectories
2. If the file size is 0 KB, rename the file by using the following file name: Microsoft.BusinessPortal.Reports.FileService.tlbold

3. Click the following link to download a new Microsoft.BusinessPortal.Reports.FileService.tlb file: https://mbs.microsoft.com/fileexchange/?fileID=aab68342-5ba5-4084-adf0-44271a6f3141
4. Paste the file in the same folder in which the original Microsoft.BusinessPortal.Reports.FileService.tlb was located.

↑ Back to the top


Keywords: kbmbsmigrate, kbmbspartner, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2757319
Revision : 2
Created on : 2/3/2017
Published on : 2/3/2017
Exists online : False
Views : 315