Last post Dec 03, 2015 06:41 PM by ojm37
Dec 03, 2015 06:37 PM|ojm37|LINK
We have an in-house built COM object (not really needed any longer, but I don't want to re-write the code that uses it: classic ASP pages) that is hosted in Component Services running as a particular network user. Still works fine on our production and staging
However, I can't seem to get it to work on my local dev machine (Windows 8.1). I keep getting a permission denied error when I try to create the object.
Microsoft VBScript runtime
Permission denied: 'CreateObject'
/photogallery/editgallery.asp, line 513
Like I said, the code works on our production server. So, I must have something configured wrong on my local machine.
Any thoughts on what might be different about the configuration between Windows Server 2012 R2 and Windows 8.1 for Component Services configuration? Or what else it could be?
Dec 03, 2015 06:41 PM|ojm37|LINK
I HATE IT WHEN THIS HAPPENS!
Worked on this for two days, posted here, then found the ONE SETTING in Component Services that made the error go away:
In the Security tab of the object properties in Component Services manager, I unchecked the "Enforce access checks for this application" and the problem went away (not terribly concerned about any security implications of that checkbox since it's only running
on my local dev box that can't be accessed from the outside world)...