This blog wil be updated almost daily and the topics will be dealing with the daily support of SAP BusinessObjects BI support. So check back daily! Protected by Copyscape Online Plagiarism Test

Tuesday, January 19, 2010

How to do a 'quick fix' for InfoView error on BOE server

Quick Fix:


Some users will face this error “An error has occurred: An unknown error has occurred” when trying to access SAP InfoView as given below in Fig 01. This issue is related to combination of this matrix: BO XI R2 SP2 with SAP Integration Kit SP2 on Windows Server 2003 SP2 with SQL Database 2005 SP2. This error message is due to the corruption of SAP InfoView .aspx files sitting in the background of the web server.

FIG 01: SAP InfoView with the error message

Just to bring this to the attention of the new users, SAP InfoView is installed with the SAP Integration kit for SAP users to login to the InfoView with their SAP credentials.
A quick look at the Event Viewer gives a details to this issue, given in Fig 02

                                                               FIG 02: SAP InfoView with the error message

It shows an error message “Exception message: c\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Web Content\Enterprise115\SAP\InfoView\headerPlus.aspx(619): error CS0103. The name ‘LOGOFF_TOKEN’ does not exist in the current context”


Now similar type of messages were listed for files dataWrapper.aspx and data.aspx. So to double check I checked these files in our Support system and found that they’re same. SAP note of similar but not the same error message, recommends to re-install SAP Integration Kit. I did not wanted to do that due to fact that some users are actively working on it and I wanted a quick fix for this.


Special Note: ASPX is the file extension for an ASP .NET active server page. It's a web technology used on Microsoft servers running IIS and ASP.NET. These files can be opened using Text Editor like notepad or Microsoft Visual Studio for editing purposes. It is saved locally because ASPX is essentially a web page with a program running behind it (and that program has to be run from a web server). In our case, these files seems to have been corrupted as the Event Viewer shows the logs.
 
I found that the file size were respectively 24KB, 2 KB and 2KB each for headerPlus.aspx, dataWrapper.aspx and data.aspx, shown in Fig 03. I compared the sizes of these files with the other BOE system to make sure they have not changed.
 
                                               FIG 03: Files who seems to have been corrupted

I simply renamed them as headerPlus_old.aspx, dataWrapper_old.aspx and data_old.aspx. Copied these files from a working BOE system with the same configuration. Restarted the IIS. That fixed the problem.


Please let me know if this was helpful to you or anyone.

- Touseefuddin Syed

No comments:

Post a Comment