I am creating a small website which consists of one asp page, its codebehind, and an additional project containing some library code. I can run this in the Visual Studio development environment and it's all spiffing.
I publish this website using the FileSystem method (I can't get either Web Deploy or FTP to work, but that's another question) to a local directory and then copy the resulting files to the server.
On invoking the website, I get the old favourite error:-
Could not load the assembly 'App_Web_qwertyuiop'. Make sure that it is compiled before accessing the page.
I have looked into the solutions provided here. I don't understand the accepted answer, and I have checked the application pool is running the same .Net framework as the code is compiled for. The other answers are not applicable, so far as I can tell.
The answer given here doesn't make any sense. There are no files present in any Temporary ASP.NET Files
folder as suggested here, and modifying the web.config
as suggested doesn't fix the problem. I have fixed the permissions as suggested here, and the option given in the last answer doesn't exist on my version of IIS.
Is there anything else I can try?
Edit I created the web site in IIS by using Sites -> Add Website. The files are found in the directory C:\inetpub\wwwroot\mywebsite
; this contains a directory \bin
where the file App_Web_qwertyuiop
is found, along with a dll for the library functions.