'The User Control *name.ascx* has caused a compilation error. To view the details about this error, enable debugging in the web.config file or view the Windows event logs.'
This issue is caused by a similar problem we covered in a previous post (EP Issue: Web Control is not deployed)
An example where this can be encountered is on creation of a new Expense Report line. This boils down to missing files in one of the EP folders on the Enterprise Portal web server. These files are located at 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Layouts\ep'.
- Copy the files from a working EP environment from the folder and paste them into the environment folder that is not working. Obviously take backups of everything before doing any of this.
- Run IISRESET on EP server