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

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 ?
Who is Participating?
Praveen DMInfra Team LeadCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.