简体   繁体   中英

ASP.NET application not validating after hosted

I have created an ASP.NET application that uses RequieredFieldValidators. It works fine when I run the project from my machine, however when I put the application on the server and host it in IIS, the application stops validating. Any idea how this can be fixed? Thanks in advance.

The problem was when I uploaded the application to IIS I uploaded the files in the project solution but left the packages folder out which was in an upper level of the application's parent folder. So the references for the validations weren't available. Thanks to all for the replies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM