In an asp page in localhost I have this:
Set x = Server.CreateOb ject("Scripting .Dictionary")
And I get this error: Invalid class string
If I omit Server like this:
Set x = Server.CreateOb ject("Scripting .Dictionary")
I get this error: ActiveX component can't create object:
'Scripting.Dict ionary'
In the same asp page this works fine:
Set conn = Server.CreateOb ject("ADODB.Con nection")
In a Visual Basic application this works fine, too:
Set x = CreateObject("S cripting.Dictio nary")
I reinstalled VB without success. Why do I get "Invalid class string"
in the first case?
Set x = Server.CreateOb ject("Scripting .Dictionary")
And I get this error: Invalid class string
If I omit Server like this:
Set x = Server.CreateOb ject("Scripting .Dictionary")
I get this error: ActiveX component can't create object:
'Scripting.Dict ionary'
In the same asp page this works fine:
Set conn = Server.CreateOb ject("ADODB.Con nection")
In a Visual Basic application this works fine, too:
Set x = CreateObject("S cripting.Dictio nary")
I reinstalled VB without success. Why do I get "Invalid class string"
in the first case?
Comment