Could not load the assembly 'App_Web_xxx'. Make sure that it is compiled before accessing the page.
Tech-Today

Could not load the assembly 'App_Web_xxx'. Make sure that it is compiled before accessing the page.


Recently I was deploying a module of a website on top of another virtual directory.

Of course the simplest way is to make this directory as an IIS application, but that's the last option.

What I did was to override the "base" web.config file and add the following lines:

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;MYDIRECTORY/BIN"/>
</assemblyBinding>
</runtime>
</configuration>


What it basically does, is tell the IIS to look for bin objects in the MYDIRECTORY/BIN folder relative to the virtual directory itself.




- How To Package A Java Standalone App Using Maven Assembly
The sample codes below will assemble a zipped package of a java standalone app. Dependencies: maven-jar-plugin - to create the jarmaven-assembly-plugin - to assemble the distribution packagepom.xml<plugin> <groupId>org.apache.maven.plugins</groupId>...

- Magento All Links Throws 404 Not Found Error
After downloading and installing magento 1.7.4 for evaluation, I found out that by default all the frontend links are not working. But the backend works fine. As I remember long time ago this is a problem when deploying locally and using a virtual address,...

- Server Application Unavailable On Iis
Server Application Unavailable on IIS is often caused by a misconfigured IIS virtual directory. You can look at the event viewer of windows and you might find some clue, possibly you will see this error: "It is not possible to run two different versions...

- Apache Php Mysql Setup
Everytime I setup a new unit I have to set the following up and it takes time. So I'm writing a walkthrough and hopefully I don't need to debug :-D. Before we begin you must download and install/extract the following: 1.) apache - http://httpd.apache.org/download.cgi...

- Asp Server Application Unavailable
If you ever encounter this error while setting up iis on your local machine or a virtual directory in the Internet Information Services and you look into the the Event Viewer and see the Application Logs: "Server Application Unavailable The web application...



Tech-Today








.