-1

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?

1 Answers1

1

You are just opening a file like from a directory (FTP), it is not hosted as a site

Configure a virtual directory/website in your IIS server

Make sure you have ASP.Net framework installed/configured with IIS (Aspnet_regiis.exe) (For windows 8 issue)

Disable directory browsing

Community
  • 1
  • 1
Murali Murugesan
  • 21,303
  • 16
  • 65
  • 114