---
title: "Odefinierat fel?"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/83287-odefinierat-fel"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "crisse6"
published: "2003-08-01T13:54:44.000Z"
updated: "2003-08-01T14:55:31.000Z"
replies: 13
views: 238
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/83287-odefinierat-fel"
---

# Odefinierat fel?

## #1 — crisse6, 2003-08-01T13:54Z

Tja!

Fick detta när jag nu skulle sätta igång med lite ASP igen, kanske nåt som e skitenkelt? :D

```
Feltyp:
Microsoft JET Database Engine (0x80004005)
Odefinierat fel
/forumet/dbConn.asp, line 17
```

line 17 e:

```
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("forumet.mdb")
```

Vad e detta nu då?

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

## #2 — Quid, 2003-08-01T14:09Z

<http://support.microsoft.com/default.aspx?scid=kb;en-us;251254>

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

## #3 — crisse6, 2003-08-01T14:20Z

okej? har startat om IIS nu... funkar ändå inte

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

## #4 — Quid, 2003-08-01T14:22Z

Då läste du nog inte allt:

Define a TMP or TEMP environment variable and assign the variable to an existing folder. If you are accessing the Access database from IIS, be certain to check the system environment settings rather than environment variables of the logged-on user. Also ensure that the IUSER anonymous IIS account has access to the temporary folder.

You must restart the computer after changing any environment variables. 
Environment variables are set under Windows NT 4.0 by going to the Control Panel and clicking System and then selecting the Environment tab.

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

## #5 — crisse6, 2003-08-01T14:26Z

hänger inte alls med...

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

## #6 — Jon, 2003-08-01T14:30Z

kontrollpanelen-\>system-\>Avancerat-\>miljövariabler-\>Systemvariabler-\>Ny

Döp den till TMP och peka på nån fin tempkatalog   :)
Gör en till som heter TEMP och peka den på samma fina katalog.

Se till att katalogerna verkligen finns oxå. Det är vanligt att ta c:\\windows\\TEMP

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

## #7 — crisse6, 2003-08-01T14:34Z

men har redan två sånna i listan!

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

## #8 — Jon, 2003-08-01T14:38Z

Har du kollat om IUSER anonymous IIS account har access dit oxå? :)

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

## #9 — crisse6, 2003-08-01T14:44Z

hur? :D

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

## #10 — Quid, 2003-08-01T14:47Z

Vilket operativsystem kör du?

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

## #11 — crisse6, 2003-08-01T14:48Z

Win 2000 Pr

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

## #12 — Jon, 2003-08-01T14:49Z

högerklicka på tempmapparna och kolla under egenskaper-\>sequrity.

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

## #13 — Quid, 2003-08-01T14:51Z

Högerklicka på mappen, välj egenskaper, välj fliken säkerhet. Se till så att IUSR_datornamn finns i listan med minst läs och skrivrättigtheter.

Detta förutsätter att du har NTFS som filsystem.

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

## #14 — crisse6, 2003-08-01T14:55Z

så ja, funkar nu, lite rättigheter där ja... tack!

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/83287-odefinierat-fel
