Hi, I'm trying to do this on an ASP page :
GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & HomeServer & "\root\cimv2"
Just want to create shares on a server. It works well in vbscript but when I try to implement it in ASP I get error '80041003'.
But I red that on msdn.microsoft.com ...
"It is not possible to use the GetObject function provided by VBScript and JScript when running scripts embedded within an HTML page, as Microsoft® Internet Explorer disallows the use of this call for security reasons."
Is there any walkthrough?
Any Ideas?
Thanks!
GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & HomeServer & "\root\cimv2"
Just want to create shares on a server. It works well in vbscript but when I try to implement it in ASP I get error '80041003'.
But I red that on msdn.microsoft.com ...
"It is not possible to use the GetObject function provided by VBScript and JScript when running scripts embedded within an HTML page, as Microsoft® Internet Explorer disallows the use of this call for security reasons."
Is there any walkthrough?
Any Ideas?
Thanks!