SAP Knowledge Base Article - Public

1711114 - Error: AllInOne.js error while refreshing .aspx page


  • Reports work fine when the browser displays the page for the the first time.
  • When the page is refreshed error is thrown for the AllInOne.js file.
  • Error:Microsoft JScript runtime error: style: is null or not an object error.


  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010
  • Internet Explorer 9
  • Web Application using .NET Framework 4.0


Code written for Crystal Reports in Page_Load event creates a post back of the page which causes the error in AllInOne.js file.


Code written for Crystal Reports in Page_Load event should be moved to the Page_Init event.


CR4VS2010, AllInOne.js error net crvs2010 crvs 2010 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem


SAP Crystal Reports, developer version for Microsoft Visual Studio