locked
My aspx pages are not rendering. RRS feed

  • Question

  • Hi all,

    I have developed a site, which is running fine on my local machine, but when I deployed it on live server.

    1. Site root folder contents shows (directory browsing). I disabled it in web.config but no relief.....

    2. When I click on .aspx pages. They do not render as HTML but their html is rendered as plain text.

    What could be the reason? 

    • Moved by Eason_H Thursday, January 2, 2014 8:33 AM
    Thursday, January 2, 2014 6:32 AM

Answers

  • I would suggest you to post in http://forums.asp.net/. You can get better responses related to ASP.net questions there.

    Kunal G

    • Proposed as answer by Just Karl Tuesday, January 14, 2014 7:45 PM
    • Marked as answer by Just Karl Sunday, January 26, 2014 2:20 AM
    Thursday, January 2, 2014 8:17 AM

All replies

  • I know of one reason. If IIS is installed after .Net framework then you need to register ASP.NET handler with IIS.

    You can do this through aspnet_regiis utility.

    Run command prompt,

    Got to you .Net framework directory (in c:\windows\Microsoft.Net\...)

    Run "aspnet_regiis -i" to register ASP.NET mapping with IIS.

    Give it a try.


    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.

    Thursday, January 2, 2014 7:30 AM
  • thnx for reply prakash,

    I have deployed the site through FileZilla on live server (I have no access to their C-Panel).

    Thursday, January 2, 2014 7:39 AM
  • I would suggest you to post in http://forums.asp.net/. You can get better responses related to ASP.net questions there.

    Kunal G

    • Proposed as answer by Just Karl Tuesday, January 14, 2014 7:45 PM
    • Marked as answer by Just Karl Sunday, January 26, 2014 2:20 AM
    Thursday, January 2, 2014 8:17 AM
  • Hi shabbirhussain,

    Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at http://forums.asp.net/. It is appropriate and more experts will assist you.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, January 2, 2014 8:33 AM
  • thanks all of u.
    Thursday, January 2, 2014 9:08 AM