Encountering this issue when clicking the "Ok" button on an alert window.
Error message: Unhandled exception at line 1, column 1 in a lengthy URI
Error code: 0x800a138f - Microsoft JScript runtime error: Object expected
This problem is occurring within a web application. I have added some buttons to an ASP.NET grid, and upon clicking one of them, it triggers a server-side popup using
ScriptManager.RegisterStartupScript(this.Page, GetType(), "JavaScript", "alert('No notes have been saved against this customer')", true);