[英]Add child application in IIS 7 with different Application Pool
I am new to IIS. 我是IIS的新手。 I have two website one in VS2005 and another in VS2010. 我有两个网站,一个位于VS2005,另一个位于VS2010。 I have set VS2005 website as a site in IIS7. 我已经将VS2005网站设置为IIS7中的网站。 And add VS2010 as a application to this site with different application pool of framework 4.0. 并将VS2010作为具有框架4.0不同应用程序池的应用程序添加到此站点。 All pages in of VS2005 application are opening correctly. VS2005应用程序中的所有页面都可以正确打开。 But when i want to open web pages realated to VS2010 application(Which is a child application in IIS 7) I am getting following error. 但是,当我想打开实现为VS2010应用程序的网页(IIS 7中的子应用程序)时,出现以下错误。
**Could not load type 'JsonpHttpModule' from assembly 'App_Code'.**
I have also tried to put this line 我也试过把这条线
"<"add name="JSONPModule" type="JsonpHttpModule, App_Code"/> “ <” add name =“ JSONPModule” type =“ JsonpHttpModule,App_Code” />
in VS2010 application's web config. 在VS2010应用程序的Web配置中。 But same error is occurring. 但是发生同样的错误。
Please help me. 请帮我。
我已经通过从vs2005应用程序的web.config文件中删除jsonphttpmodule行解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.