I recently upgraded an ASP.Net project from MVC 3 to MVC 5, but wanted to keep our old login mechanism. However, when trying to access a restricted page, I was always redirected to /Account/Login instead of /Account/LogOn. I had already met that problem with MVC 3 and thus I had added the following line in my Web.config […]
Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
After copying a web site to a 64bit server with IIS 7, I was getting the following error message: Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format. although everything was working fine when running the site on my machine […]
Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. Access is denied.
I was getting the following error message when I was trying to access a web application using the Ajax Control Toolkit on a new server: Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. Access is denied. Looking deeper, I found out that the error 0x80070005 was raised. Reading various threads and […]
How to sumbit a form using the Enter Key on an ASP.Net page
I am working on an application that has a search page with two buttons: one to reset the form and the other one to submit the form. The reset button also clears information kept in session. By default, the Search button has the focus on that page, but has soon as we would click on […]