webForumDet fria alternativet

Scripting.Dictionary

4 svar · 399 visningar · startad av SoulGod

SoulGodMedlem sedan aug. 20051 395 inlägg
#1

Feltyp:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'Scripting.Dictionary'
/community/inc_news.asp, line 26

Detta scriptfel har jag fått upp när jag försöker köra ett script.
Och rad 26 är:

Set NobjDict =   CreateObject("Scripting.Dictionary") 

Vad ska jag göra?
Har googlat och hittade dels en lösning med att regga om dll-filen = Funkar ej.
Hittade även en, där man installerade om VB, men den setupfilen funkar inte = Funkar ej.

Vad gör jag?

colioneMedlem sedan juni 20013 386 inlägg
#2

Set NobjDict = Server.CreateObject("Scripting.Dictionary")

SoulGodMedlem sedan aug. 20051 395 inlägg
#3

Då fick jag denna:
Feltyp:
Serverobjekt, ASP 0177 (0x800401F3)
Ogiltig klassträng
/community/inc_news.asp, line 26

SoulGodMedlem sedan aug. 20051 395 inlägg
#4

Ingen som har en aning om vad som är fel ? :(

colioneMedlem sedan juni 20013 386 inlägg
#5

Provat detta:

Here's one solution I've found over the internet as a response to this problem:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

Run Regedit then go to

1. KEY_LOCAL_MACHINE/Software/Classes/CLASS_NAME
(Keep in mind that CLASS_NAME will be replaced with the class name you are trying to instantiate)
Right click on it and then Permissions. Allow Full Access for SYSTEM and Administrator. (To be sure it works I've added "CREATOR OWNER" and "Users" users and allow Full Access to those too)

2. KEY_LOCAL_MACHINE/Software/Classes/CLASS_NAME has a folder called CLASSID under it. Click on it and on the right side will appear the code of the class. This code you will type it in place of CLASS_ID in the following step

3. Go to HKEY_LOCAL_MACHINE/Software/Classes/CLSID/{CLASS_ID} and add the same permissions as in the step 1. Restart the computer and try run the script (It worked for me)

Genererad på 516 ms · cache AV · v20260730165559-full.f96bc7eb