Home > Net > ASP.net website local download file can be downloaded and deployed to the server is not available fo
ASP.net website local download file can be downloaded and deployed to the server is not available fo
Time:10-03
I wrote a c # file download webapplication, using ASP. NET4.0, the Server is a Windows Server 2012 r2. The previously published on the Server can be run, do not know what is the patch Server, or other reasons I click download, and did not respond to a web page also don't download files, strives for the great god give advice or comments
CodePudding user response:
Code is not depend on guessing
CodePudding user response:
Is a static file download or generated dynamically download files? Static, to set up iis Dynamic, have to see you have an error code, print the log
CodePudding user response:
It's not a hint
CodePudding user response:
How to 404 or other errors
CodePudding user response:
Visual is your download this file too big
Try to modify the application (in the configuration file) and the maximum capacity of iis, iis 6, and will and above versions have different operation, their search, maxRequest...
For larger files, is res asp.net Consider using webClient, concrete under their search
CodePudding user response:
Can obtain the iis log and the Windows event log, for specific error information