Home > front end >  [for] the Windows Server 2012 IIS8.5 the aspx download file, but ashx is normal
[for] the Windows Server 2012 IIS8.5 the aspx download file, but ashx is normal

Time:02-22

Customers have huawei cloud private network Server, Windows Server 2012 IIS8.5, almost all IIS installed in the role function add developer features, including.net 3.5,. NET 4.5, the browser browse aspx directly into the downloaded file, but ashx can run normally returns a json string,
Has been confirmed in IIS MIME type, there is no *. Aspx, had to add and delete *. Aspx, but browser browse aspx page is still download, also a reboot website, restart the IIS service, just don't have to restart the server, because my side have no jurisdiction,

Also according to the Online input CMD command line dism. Exe/Online/Enable - Feature/all/FeatureName: IIS - ASPNET, display function is enabled
Aspnet - regiis. Exe - I also run, but suggest the current operating system does not support the

Seek counsel, can think of way, way to check the, are used, the results are still aspx download, ashx can run normally and return data
  •  Tags:  
  • IIS
  • Related