I have a super basic form that shoots out an email. The code is contained within a virtual directory like http://url/emailer/emailer.aspx on a new server and is working fine.
We are in the process of migrating a few additional sites over to this new server. To test, I'm accessing the files via the ip address so I can see the site on the new server like http://ip/url/emailer/emailer.aspx.
For some reason, whenever I access the aspx page via the IP URL, I receive the "could not load the assembly...make sure that it is compiled before accessing the page" error. However, I've confirmed when pulled into the live site, it works fine.
Why does referencing the IP URL cause this exception?