- Press F4 on the MVC project to open project property window
- Change "Windows Authentication" from "Disabled" to "Enabled"
Error message
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.
Error message 401.2.: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. Contact the Web server's administrator for additional assistance.
Tuesday, May 21, 2013
Friday, May 17, 2013
Thursday, May 16, 2013
How to get visitor's MAC address in ASP.NET?
No, you can't. MAC address is not included in request IP header.
Wednesday, May 15, 2013
Tuesday, May 14, 2013
How to solve problem “The type 'System.Web.Mvc.ModelClientValidationRule' exists in both” when try open MVC3 project after installed MVC4
Simplest way:
Open project references list, and remove System.Web.WebPages.from references
http://stackoverflow.com/questions/7510484/modelclientvalidationrule-conflict
Subscribe to:
Posts (Atom)