I created a simple (test) web site that prints out hello world and has 2 links (VS 2005 SP1)
When I test the website locally it works fine.
When I copy the website to my host (uses II6) it works fine.
When I deploy the website to my host I get: could not load assembly 'App_Web_default.aspx.cdcab7d2'. Make sure that it is compiled before accessing the page
The bin directory contains 3 dlls: for default and the two linked pages so the above assembly is in the bin dir.
I"m using web deployment project with the following settings ON:
- allow precompiled site to be updateable
- create separate assemby for each page and control output
- remove the App_Data folder from the output location
Why can't the assembly be found?
Why do I have to specify default.aspx when I browse to the directory? I thought default.aspx was the default home page and didn't have to be specified when browsing.
I've cleaned out the target directory on the host before uploading the deployed website.
TIA
Doug