I have an asp site and want to add some aspx pages into that site. I published the aspx pages into a folder and put that folder to the virtual directory. As soon as I access the aspx pages, it shows the following error "Could not load the assembly 'App_Web_o5lfcfis'. Make sure that it is compiled before accessing the page."
Asked
Active
Viewed 2,153 times
0
-
Copy published `bin` folder to virtual dir. – صفي Jan 02 '15 at 05:36
-
I copied the whole publish folder along with the DLL folder. – Pankaj Saha Jan 02 '15 at 05:41
-
have you looked at http://stackoverflow.com/questions/401188/asp-net-error-could-not-load-file-or-assembly-app-web-z9w33txs?rq=1 – صفي Jan 02 '15 at 05:41
-
Yes, already tried this approach also. – Pankaj Saha Jan 02 '15 at 05:54
-
Hi , Could you delete all the temporary files in %TEMP% folder and see what happens, It might be helpful. – Morteza Azizi Jan 02 '15 at 06:03
-
Yes, I deleted the files of temporary folder, but no success. – Pankaj Saha Jan 02 '15 at 06:04
-
The assembly is already exist in the bin folder. But not getting the reason of error. – Pankaj Saha Jan 02 '15 at 08:36
1 Answers
0
I got the solution. I copied the bin directory from the aspx folder to the main dir.

TylerH
- 20,799
- 66
- 75
- 101

Pankaj Saha
- 869
- 3
- 17
- 37