jeudi 10 avril 2014

ASP.net imbriquée répertoire virtuel hérite des assemblys de ressource de parent - Stack Overflow


In my hosting I have an asp.net website called WebsiteA which works ok. I have created a virtual directory in WebsiteA called WebsiteB and published another website. The problem is that WebsiteB tries to access the globalreousrces (and local resources) from WebsiteA bin folder instead of its own bin folder.


I have already fixed the error of inheriting the web.config of the parent by adding the following in WebsiteA's web.config.


<location path="." inheritInChildApplications="false">

How do I tell WebsiteB to access its own assemblies? Please note that both website are published and work ok as root directories. The problem is nesting them.



In my hosting I have an asp.net website called WebsiteA which works ok. I have created a virtual directory in WebsiteA called WebsiteB and published another website. The problem is that WebsiteB tries to access the globalreousrces (and local resources) from WebsiteA bin folder instead of its own bin folder.


I have already fixed the error of inheriting the web.config of the parent by adding the following in WebsiteA's web.config.


<location path="." inheritInChildApplications="false">

How do I tell WebsiteB to access its own assemblies? Please note that both website are published and work ok as root directories. The problem is nesting them.


0 commentaires:

Enregistrer un commentaire