Map Wildcard (.*) to aspnet_iisapi.dll

Discussion in 'Windows / IIS' started by playanysong, Jul 1, 2010.

  1. So we migrated our app to IIS 7, because it is configured for the .NET framework 4.0. Now I need to add a wildcard mapping (.*) to aspnet_iisapi.dll so the URL Rewriter works.

    However, I am working with on a Mac with OS 10 and on a PC with Windows XP... I do not have the remote IIS tools to do this type of configuration myself.

    What can I do? Is there a way to configure the IIS through the website, or from a 3rd party program?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Are you using Classic or Integrated mode? You shouldn't need to add wildcard mapping.

    If you need to add wildcard mapping, you can simply put it into the web.config file.
     
  3. Really? What is the config text for that?

    Also, I got my hands on a Windows 7 PC and have the remote IIS managment. How do you go about connecting to my IIS server and managing it with the tool?
     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. I am able to connect to the remote manager... and I think I know where to go to add the mapping, not 100% sure, but I do not know the path to aspnet_iisapi.dll for the Framework 4.0 on the server.

    Where exactly do I go?

    What excatly do I set as the value to send all request, file or no file, to ASP.NET?
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    Are you using Integrated / Classic mode? configured in the hosting control panel.

    if you are using Integrated, you should not need to configure wildcard mapping.
     
  7. Not sure... I looked this up:

    On IIS 7, ASP.NET is configured to operate in the new Integrated mode by default. This lets your application take advantage of Integrated mode enhancements with minimal modifications.

    How do I change to integrated mode. It must be running classic becuase it is not sending requests to aspnet_iisapi.dll.
     
  8. Bruce

    Bruce DiscountASP.NET Staff

    It is in the IIS tools in the hosting control panel.
     

Share This Page