Chrome downloads .aspx file rather than viewing it

4.2k Views Asked by At

I'm trying to install mojoportal on my server (externally hosted) but when I go to the .aspx page the browser just downloads it where it should be loading it properly like a web page.

Whats wrong?

The file it's trying to load is:

<%@ Page Language="C#" AutoEventWireup="false" EnableSessionState="False" CodeBehind="Default.aspx.cs" Inherits="mojoPortal.Web.UI.Pages.SetupHome" %>
  • I dont even know what that bit does, but that is all there is in the file i'm meant to load.
1

There are 1 best solutions below

0
On

If its download it and not show it, means that the asp.net is NOT running on this site, and the web server see this aspx just like any file for download.