I am currently having an issue with a classic ASP application I am working on and from what I can tell it might be due to something related to IIS.
It started out with me getting the error:
"An unhandled exception ('ActiveX component can't create object') occurred in
w3wp.exe[XXXX]."
I tried googling, but failed to find anything that could solve my issue.
So I tried to create a small .vbs application. To see if it had anything to do with the component that is used for the "createObject()" method.
dim test
set test = createObject("System.Collections.Sortedlist")
test.add 1, "value 1"
test.add 2, "value 2"
MsgBox(test(1))
And the file ran as it should.
I've tried running the application using both Visual Studio 2015 and 2017.
After I noticed that it sad "Occurred in the w3wp.exe" I tried reinstalling IIS to see if that would change anything, but sadly it has not had any effect.
Update: I am using Windows 10 personally and running the site of my own PC for testing purposes.
"Access Denied" errors and applications with COM activation fail after installing July 2018 Update