---
title: "Felmeddelande för bildscript"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/123521-felmeddelande-för-bildscript"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "wunderbaren"
published: "2005-03-01T14:50:54.000Z"
updated: "2005-03-01T15:04:41.000Z"
replies: 1
views: 183
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/123521-felmeddelande-för-bildscript"
---

# Felmeddelande för bildscript

## #1 — wunderbaren, 2005-03-01T14:50Z

Hej,

Följande felmeddelande uppstår när jag ska logga in på admin. Det är ett bild galleri som jag har laddat ner.

> Microsoft OLE DB Provider for ODBC Drivers error '80004005' 
> 
> \[Microsoft\]\[ODBC Microsoft Access Driver\]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1160 Thread 0xe9c DBC 0x1429024 Jet'. 
> 
> /gallery/admin/Default.asp, line 23

 

Linje 1-30:

> \<%
> ' FileName="Connection_odbc_conn_dsn.htm"
> ' Type="ADO"
> ' HTTP="false"
> ' Catalog=""
> ' Schema=""
> MM_connDUgallery_STRING = "DRIVER={Microsoft Access Driver (\*.mdb)};DBQ=" & Server.MapPath("..\\\_private\\DUgallery.mdb") 
> %\>
> 
> 
> \<% Response.Buffer = True %\>
> \<%
> ' \*\*\* Validate request to log in to this site.
> MM_LoginAction = Request.ServerVariables("URL")
> If Request.QueryString\<\>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString
> MM_valUsername=CStr(Request.Form("id"))
> If MM_valUsername \<\> "" Then
>   MM_fldUserAuthorization=""
>   MM_redirectLoginSuccess="pictures.asp"
>   MM_redirectLoginFailed="default.asp"
>   MM_flag="ADODB.Recordset"
>   set MM_rsUser = Server.CreateObject(MM_flag)
>   MM_rsUser.ActiveConnection = MM_connDUgallery_STRING  **LINJE 23**
>   MM_rsUser.Source = "SELECT U_ID, U_PASSWORD"
>   If MM_fldUserAuthorization \<\> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization
>   MM_rsUser.Source = MM_rsUser.Source & " FROM USERS WHERE U_ID='" & Replace(MM_valUsername,"'","''") &"' AND U_PASSWORD='" & Replace(Request.Form("password"),"'","''") & "'"
>   MM_rsUser.CursorType = 0
>   MM_rsUser.CursorLocation = 2
>   MM_rsUser.LockType = 3
>   MM_rsUser.Open

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

## #2 — OveRRidE, 2005-03-01T15:04Z

Sökvägen till databasen är felaktig.

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/123521-felmeddelande-för-bildscript
