---
title: "Scripting.Dictionary"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/165562-scripting-dictionary"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "SoulGod"
published: "2007-10-17T08:46:45.000Z"
updated: "2007-10-22T08:42:22.000Z"
replies: 4
views: 409
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/165562-scripting-dictionary"
---

# Scripting.Dictionary

## #1 — SoulGod, 2007-10-17T08:46Z

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?

Permalänk: https://www.webforum.nu/p/165562

## #2 — colione, 2007-10-17T08:50Z

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

Permalänk: https://www.webforum.nu/p/2042340

## #3 — SoulGod, 2007-10-17T08:54Z

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

Permalänk: https://www.webforum.nu/p/2042342

## #4 — SoulGod, 2007-10-22T08:27Z

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

Permalänk: https://www.webforum.nu/p/2043561

## #5 — colione, 2007-10-22T08:42Z

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)

Permalänk: https://www.webforum.nu/p/2043564

---

Tråden på webben: https://www.webforum.nu/amne/asp/165562-scripting-dictionary
