Looking at the exception, it mentions an ascx
file. Can you view the source code of the ASP.NET app and see if there is an ascx
file used in a master page, or at least used in the aspx
pages?
It looks like that ascx
is doing something with an object and that object is null. Without seeing the code, it could be any reason why the object is null.