我添加引用了URLRewriter.dll之后在Web.config中配置1.
<configSections>
<section
name="rewriter"
requirePermission="false"
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
</configSections>2.
<system.web>
<httpModules>
    <add
    type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"
    name="UrlRewriter" />
</httpModules>
</system.web>3.
<rewriter>
<rewrite url="/product/(.+)" to="/product.aspx?proId=$1" />
</rewriter>4.整个项目编译正常,运行任何一个页面都报错
如下:
未能加载文件或程序集“Intelligencia.UrlRewriter”或它的某一个依赖项。系统找不到指定的文件。
添加引用后怎么还报这个错 难道我添加有误?
网站右击添加引用 浏览选项卡->浏览-找到URLRewriter.dll 确认?有误吗?
求高手指点!

解决方案 »

  1.   

    在 bin目录下缺少文件Intelligencia.UrlRewriter.dll,加上就可以了
      

  2.   

    只有UrlRewriter.dll 没有Intelligencia.UrlRewriter.dll这个文件
      

  3.   

    lz注意红色部分,你的module所在的程序集是这个么?
    请写正确的程序集名称,记住程序集名称不一定是dll的名称,一定要写module所在程序集名称
      

  4.   

    怎么去识别得知 module所在的程序集名称呢