File uploading in classic asp using clsupload.asp - file-upload

I am uploading files from classic asp using clsupload.asp. The class is uploading files successfully but when file size is more that 200 kb it is throwing error.
Please help me.

Depends on your version of IIS but a simple search would have found your answer pretty quickly
IIS7 -How do I enable upload of large files in classic ASP on IIS 7?
IIS6 - http://www.banmanpro.com/support2/file_upload_limits.asp

Related

error 500 on plesk(hosting) with my .net core webapi but work good in test (localhost) help me pleaaase

I have written an ASP.NET Core Web API, and published it on my plesk (hosting) web server, but it is not working - it is working in my test environment (localhost).
Important to know that my plesk (hosting) server use the version 4.8 of the .NET Framework and my API uses .NET Core 6; is that the reason it doesn't work? (I use the version 4.8 cause my web server host a website in webforms).
Here's the url to access the api on the web that throws an error 500 (any call return that)
https://apinhl.nhldynastypool.com/NHLAHLStatsAndSalaryInfo
In the screenshot below, I will post the file tree that I have in plesk (hosting) maybe it has something to do.
I have tried many thing but nothing seems to work I really need your help I do not have a clue what to do now it is the first time I try to deploy a web api and sorry for my bad English my main language is French :)
No cause i have to go to .net core 2.1 to work on .net framework 4.8 and all my code broke lol so i guess i have no other chpice to rewrote it in .net 4.8 framework in a webapp project

ASP.NET Core 6 site work with kestrel not with IIS or IIS Express (503)

I'm working on an ASP.NET Core 6 site and I usually use kestrel to run and debug the application. Today I've deployed the app to IIS but after one or two requests IIS stop responding and only return
HTTP Error 503.0 - Server has been shutdown
Same behaviour with IIS Express. Everything works fine with kestrel.
I don't know how to debug the problem, I've attached the debug but with no luck. I've also looked at stdout log but nothing appears.
Does anybody have any suggestions on how to debug the issue ?
Please follow my step to collect the dump files. And if want analyze the dump files you can create a new post and ask for help. This answer just tell you how to debug issue.
First Way
Remote debug with visual studio 2022
Deploy your app to IIS.
Run your VS2022 with administrator and attach the process.
Reproduce the issue to check the issue.
Second Way:
Collect dump files
If the first method can't reproduce or debug the issue.
You can follow below steps to collect the dump.
Download and install Debug Diagnostic Tool v2 Update 3.1
Deploy your webapp in IIS
Set rules to collect dumps by using DebugDiag or Collect dumps manually

Deploy MVC 6 app in IIS

I'm using Visual Studio Express 2015RC and I created a simple MVC 6 application, but when I try to publish it I don't see the option to deploy it to IIS, I see the options Microsoft Azure Web App, Import and File System, I tried the File System but It looks like it is more for creating stand alone applications to be launched from a console, now, when debugging I can select IIS Express or the web command, there is no IIS option, so the question is, how can I deploy the MVC6 web application I created to IIS?
File System publish is actually exactly what you want; All DNX applications are stand-alone, whether for ASP.NET 5 or a console app.
When you publish to the File System, you get a few folders; the wwwroot (assuming you kept the default in your project.json) folder is where IIS should point. The web.config in that folder is generated for you automatically assuming you keep everything else where it is.
For what it's worth, the official documentation will probably be here, once it's written. Also, on Stack Overflow, ASP.NET 5 project hosting on IIS probably has some useful information, though it looks like it's a bit out of date at the moment.

DNN 5.01 Internal Server Error 500 with .NET Framework 4.0

I have a DNN 5.01 installation and upgraded the server so it used .NET Framework 4.0 as i wanted i wanted to get a DNN module working on a portal.
The problem is when i change the application pool for that that installation to use .net 4 the site comes up with a generic error 500 internal server error.
IF i select .net version 2.0 the site works again.
I am also getting errors like these when i double click on icons such as "Error Pages" in IIS 7.5.
My web.config file is below:
enter link description here
edit:
The updated web.config seems to allow the site to work under .net 4 but the login controls dont show up! :(
updated webconfig file

Hosting a precompiled WCF REST service in IIS6 - how?

Can anyone provide a repeatable process for hosting a precompiled website or a web application in IIS6 that can be built using aspnet_compiler? I cannot get code to build reliably (works sometimes) with aspnet_compiler without hitting the "cannot load type: global" error. Changing to a website does not help as I can't even get the precompiled site to come up in IIS6. Whether it's a site or an app makes no difference to me so long as it works.
If anyone has some good info or can point me in the right direction, much appreciated!
It should work if you develop it as a web application, which will compile the service code into a single DLL. Dropping that DLL into the bin directory and copying the SVC file should work fine.