Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Web.UI.WebControls.TextBoxMode' from its string representation 'DateTimeLocal' for the 'TextMode' property.
Source Error:
I set my Textbox
TextMode=DateTimeLocal
and ran my project and it runs well. When I tried to deploy my application to IIS and visit the webpage i would get the error above. IIS
has .Net 4.0.30319
. Is there a reason why i get it on localhost
(on my computer) and not the server (iss)? how do i fix this?