Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Problem adding a .asmx file to a custom subfolder within a DNN site in IIS7Problem adding a .asmx file to a custom subfolder within a DNN site in IIS7
Previous
 
Next
New Post
10/5/2011 9:29 AM
 

I'm trying to add some web service (.asmx) functionality to a DNN 5.6 website.

I've added this using some code behind (which I've placed in /App_Code) and a .asmx file which I'd like to place in a new roor folder - /Services/MyService.asmx

This functionality works fine locally under cassini.

However, when I deploy to IIS7, then I get a 404 for the .asmx file.

Here are some of the experiments I've done:

  • If I move the file to the /DesktopModules/MyService.asmx then everything works fine - I can see the .asmx file and I can call the service functions without any problems.

  • If I turn directory browsing on inside IIS7, then I can browse to /Services and see the .asmx file - but when I click through to that .asmx file then I get 404.

  • If I add a gif file to /Services then I can see this without any problems

Has anyone got any suggestions about what might be causing this? I'm wondering if it's the friendly name code within DNN somehow picking this .asmx file up?

 
New Post
10/5/2011 11:07 PM
 
yes, it is the code that picks up the urlrequest that is later used for rewriting -its set to exclude certain folders ("admin", "controls", "desktopmodules", "mobilemodules", "premiummodules", "providers") and to ignore .aspx/.ashx/.axd requests but for some reason for .asmx so it looks like thats a bug but a pretty old one as mobilemodles hasnt existed in 5+ years (please log it at support.dotnetnuke.com). Id suggest the easiest thing is to simply use desktopmodules.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Problem adding a .asmx file to a custom subfolder within a DNN site in IIS7Problem adding a .asmx file to a custom subfolder within a DNN site in IIS7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out