ASP.Net Deployment problem / DNS related configuration?

Last post 03-28-2007 2:29 PM by sandeepantony. 1 replies.

Sort Posts:

  • ASP.Net Deployment problem / DNS related configuration?

    03-28-2007, 11:38 AM
    • Loading...
    • RusoTuristo
    • Joined on 03-28-2007, 3:19 PM
    • Posts 3
     
    Hi,
    I have a very strange problem.
    my .Net (1.1) application resides in D:\cm_prod\cm. My default website in IIS has a virtual directory cm that points to this app. When I try to load this app using servername/cm everything works perfect.
    I also have a DNS(example.nyc.com) on that server. it has a virtual dir cm2 that points to the same folder - D:\cm_prod\cm. When I try to load it -example.nyc.com/cm2 it doesn't work. I dont see any errors but only static HTML gets processed. seems like code behind is not executed in this case.
    Thanks!!!
  • Re: ASP.Net Deployment problem / DNS related configuration?

    03-28-2007, 2:29 PM
    Answer

    couple of things to check

    check if you're virtual directory cm2 is running on the right version of .net framework (go to the properties of the virtual directory->ASP.Net tab)

    I'm assuming that the DNS mapping example.nyc.com is mapped to the IIS server hosting both cm and cm2 virtual directories

    check if http://servername/cm2 works or not? or localhost/cm2

    put in a test aspx page with a simple code like <% response.write "Success" %>

    if this test page fails from cm2 but works from cm then check the application mappings of that virtual directories

    vir dir->properties->Directory tab->configuration button

    check if .aspx .cs or .vb is mapped aspnet_isapi.dll

    verify the version of framework too.


    Sandeep Antony
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter