简体   繁体   中英

Could not load type error while publishing ASP.net Site

I recently encountered an error for a certain web page that says "Could not load type ". I was solving this for the past weeks or so to no avail. It was working properly on my local PC but when I try to move it to the server via Tortoise SVN, it gives out that error. Any help would be appreciated guys. Thanks in advance.

Check that the project output path (project properties / Build) is set to bin and not bin\\Release or bin\\Debug

For some reason IIS (VS development Server or Local IIS) always accesses the libraries from the bin directory (and won't look up for subdirectories)

Hope this helps..

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