Custom Module in IIS 6 not working under /_wmcs (windows RMS)

Posted on 2009-04-24
Last Modified: 2012-05-06
Hello I am working on IIS 6 with VS 2005. I have written a simple hellowolrd module that add a text at the beginning and the end of the request. I when into "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config"
and I added :"<add name="HelloWorldModule" type="IIS6Module.HelloWorldModule"/> and I also created a bin folder in my web application where I copied  the DLL. When I load any page in that site I see my text inserted at the top and the bottom of the page. Now I added the bin folder  to the RMS website (C:\Inetpub\wwwroot\_wmcs\Licensing) and when I browse "http://localhost/_wmcs/Licensing/License.asmx", I don't see my text.  So I have edited the web.config in "C:\Inetpub\wwwroot\_wmcs\Licensing" and now I'm when I browse "http://localhost/_wmcs/Licensing/License.asmx", I get the following error: "Could not load type IIS6Module.HelloWorldModule from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a."
Any idea ?
Question by:zimoux
    1 Comment
    LVL 13

    Accepted Solution

    Can u try adding the entry in root folder of the apps -  web.config  insteadf of the global web.config file and chat it a VD in IIS

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
    Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now