[英]Chrome downloads .aspx file rather than viewing it
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.我正在尝试在我的服务器(外部托管)上安装 mojoportal,但是当我 go 到 .aspx 页面时,浏览器只是将它下载到应该正确加载它的位置,就像 web 页面一样。
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" %>
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.如果它下载它但不显示它,则意味着 asp.net 未在此站点上运行,并且 web 服务器看到此 aspx 就像任何要下载的文件一样。
I am also having this issue when working through an insurance company's secure portal.在通过保险公司的安全门户网站工作时,我也遇到了这个问题。 I'm the only one in my office who is getting this.我是我办公室里唯一得到这个的人。 When a clinical survey appears (where I would answer questions), my browser just tries to download a.aspx file.当临床调查出现时(我会在那里回答问题),我的浏览器只是尝试下载一个 .aspx 文件。 This happens to me on Chrome, Edge, Firefox, and IE11.这发生在我的 Chrome、Edge、Firefox 和 IE11 上。 My IT Help Desk doesn't have an answer for this and the owner of the portal is stating that it's not their problem if it's just me that's having the issue.我的 IT Help Desk 对此没有答案,门户网站的所有者表示,如果只是我有问题,那不是他们的问题。 What software am I missing?]我缺少什么软件?]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.