Skip to main content


Showing posts from May, 2009

Runtime Error in method IViewHost.OnLoad

I noticed the following error in Event Viewer (under Application section):

Runtime Error in method IViewHost.OnLoad of type System.ArgumentException.The exception was System.ArgumentException: SAPHostName must be specified
at Microsoft.SharePoint.Portal.WebControls.IViewHost.get_Producer()
at Microsoft.SharePoint.Portal.WebControls.IViewHost.get_SSOApplicationName()
at Microsoft.SharePoint.Portal.WebControls.IViewHost.OnLoad(EventArgs args)
When I did search, all I could find was IViewHost.OnLoad is reserved for internal use and is not intended to be used directly from code. What is this error all about? Do I need to take any action to resolve this? Please let me know if you have any information on this error message.

I've also posted this question in MSDN forum. If I get any response, I'll update it here.