500 - Internal server error. IIS 7 using classic asp - events

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Now showing error res-one. Please, how can I debug this asp classic language in PC?
Thanks!

Try to restart ISS, check paths, full reload page (Ctlr+F5)...

If you can, turn on logging in IIS and then check the log after you receive the 500 server error. Also, you can try using the FireFox browser, sometimes it will tell you which line of your code is having a problem.

Related

A 500 error logged in iis logs for a classic asp application

I have traditionally worked with ASP.Net and webforms and I'm not familiar with VBScript and Classic ASP. Unfortunately my new job requires me to work on Classic ASP and VBScript. I need some help in diagnosing this bug where the error
|42|800a01c2|Wrong_number_of_arguments_or_invalid_property_assignment:_'SESSION'
is being logged for the URI Query (cs-uri-query) section in the IIS logs.
I've been trying to figure it out for the last 2 days but I've had no luck.
All my googling has not got me any good answer (or maybe I wasn't looking in the right area). The Wrong_number_of_arguments_or_invalid_property_assignment says that wrong params or wrong number of params is being passed in to some method. But the _SESSION is perplexing.
Here is the full error log line.
2019-05-31 19:46:39 server-ip GET stem-uri |42|800a01c2|Wrong_number_of_arguments_or_invalid_property_assignment:_'SESSION' 443 - client-ip user-agent referrer-link 500 0 0 93
I don't have any code to show here unfortunately. This is a legacy application and I don't have any idea where this could be throwing up from. The configuration for this ASP site is bewildering.
So I realized this error was being thrown because the entire session variable was being nullified by this statement in one of the files. SESSION = "".
Once this was changed to SESSION.Abandon, the error went away.
Basically, IIS did not like the session variable being nullified that way.

HTTP 500 Internal Server Error with special signs URL

I have developed a Laravel API for my SPA. Sometimes I'm using query parameters to provide data to the API. But if there's an # sign inside the API URL the server responds with a 500 - Internal Server Error. Example...
Here I will get the error:
http://www.mywebsite.com/api/user/login?name=example.user#gmail.de&password=changeMe
Here everything works fine:
http://www.mywebsite.com/api/user/login?name=exampleUser&password=changeMe
Locally both ways are working. But when tested on the live server the error occurred.
Does anyone know what the problem is? I'm using an Apache Server with Plesk, if it helps. ;-)
Ok, I've solved the problem. If someone else has the same error:
Just set the server-sides default charset to utf-8 fixed that problem!

CRM 2016 html page 500 - internal server error

In dynamics CRM 2016 I have a custom button that opens up a HTML WebResource and runs some JavaScript.
It works perfectly in our development environment.
However, in our pre-production it gives the message:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
F12 Debugging only provides the same message, and i cannot access the specific resources (the code) because it is a managed solution in preproduction.
Google only return very general "500 error fixes", or similar questions that have not been answered, that are very old.
Any suggestions how to go about this?
(And yes I have checked that it is actually pointing at the correct files).
It turns out that in the RibbonWorkbench in the Url command the path called, begins with /Udv/WebResources/myPage.htm, which is a hardcoded part of the development path.
The answer was to change the parameter to $webresource:myPage.htm

IIS 7.5 HTTP Error 401.2 - Unauthorized - Wierd

I have just set up a windows 2008 server and installed IIS on it.
The thing is while one web page working fine (2014.flptr.com) the other (www.flptr.com) is throwing above error. I triple checked they have same settings and they point to the same folder on the computer.
How come this may happen??
Any info appreciated!
THanks!
I changed the applicationHost.config file, replaced security information with the website's that is working. I guess it had something to do with IUSR account password.
THanks!

Joomla Server Error 500 after own template installation

I made a template which works perfectly fine locally, but when I install it on a server and set it to default, I get a server error 500. All other (default) templates seem to be working fine, though... Any ideas?
View this tutorial (Admin Tools - Change Folder and File Permissions):
http://www.ostraining.com/blog/joomla/admin-tools-the-quick-and-easy-way-to-change-folder-and-file-permissions/
You may want to check your server error log to see if there is anything more detailed.
500 is a generic error (if no other information is provied by Joomla!).

Resources