[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2009-04-24
Medium Priority
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

Praveen DM earned 200 total points
ID: 24240451
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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

868 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