tomemer
asked on
ActiveX component can't create object: 'Scripting.FileSystemObject'
Until a few months ago, ASP pages that included creation of scripting.filesystemobect would run on my WinXP sp2 machine. Now I get the error message -ActiveX component can't create object: 'Scripting.FileSystemObjec t' The ASP pages without scripting.filesystemobject run fine e.g. database connections, etc.
I have looked at folder and registry permissions and that does not appear to be a problem, tried once to reinstall the VBScripting engine (current version running is 5.7), and that made things worse - so I undid that and am back to the original problem.
There was a long post on this issue in xp-exch in 2005 with a lot of chatter and no resolution. I'm hoping in the time since that it has been resolved. Any takers?
sample of what generates error
<% objFso = CreateObject ("Scripting.FileSystemObje ct")%>
if I use the following, <% objFso = Server.CreateObject ("Scripting.FileSystemObje ct")%> I get a different error - Invalid Class String
I have looked at folder and registry permissions and that does not appear to be a problem, tried once to reinstall the VBScripting engine (current version running is 5.7), and that made things worse - so I undid that and am back to the original problem.
There was a long post on this issue in xp-exch in 2005 with a lot of chatter and no resolution. I'm hoping in the time since that it has been resolved. Any takers?
sample of what generates error
<% objFso = CreateObject ("Scripting.FileSystemObje
if I use the following, <% objFso = Server.CreateObject ("Scripting.FileSystemObje
Try this (Assuming this is a server side issue):
Set objFso = Server.CreateObject ("Scripting.FileSystemObje ct")
Stilgar.
Set objFso = Server.CreateObject ("Scripting.FileSystemObje
Stilgar.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the grade. Is there any chance you could post here which changes you made, just for clarity, if it's not too complicated?
Thanks,
Rob.
Thanks,
Rob.
https://www.experts-exchange.com/questions/21551169/ActiveX-component-can't-create-object-'Scripting-FileSystemObject'.html
http://support.microsoft.com/kb/311269