My recent project was a web project that connects the logistics needs of Richland’s customers with Richland’s logistics system. The project’s UI is using Ext.Net on top of ASP.NET MVC. It also uses Elmah for its logging purpose.
In the duration of the project, I did a lot of UI tests to ensure that the UI behave as I expected. It was then that I realize that I’ve been receiving many emails from Elmah reporting the exceptions that happened behind the screen.
After much digging in Ext.Net supports forum and did my own trials and errors, the following steps seem to work to rectify the issue.
- Find <extnet /> tag in Web.config. Ensure that initScriptMode value is “Linked”
- For any other aspx/ascx pages that have <ext:ResourceManager /> tag, make sure that its initScriptMode value is “Inline”
Still unable to get rid this particular Exception? Drop a comment please. 🙂