---
title: "problem med MySQL"
type: "forum-thread"
url: "https://www.webforum.nu/amne/dotnet/91188-problem-med-mysql"
topic: ".NET"
topic_url: "https://www.webforum.nu/amne/dotnet"
author: "ConnyFox"
published: "2003-11-25T02:24:23.000Z"
updated: "2003-11-26T07:16:36.000Z"
replies: 2
views: 253
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/dotnet/91188-problem-med-mysql"
---

# problem med MySQL

## #1 — ConnyFox, 2003-11-25T02:24Z

jag använde mig av guiden i denna tråden
<http://www.webforum.nu/showthread.php?s=&threadid=47344>

jag e totalt nybörjare på .net och fattar noll!

får följande fel : 

```
Server Error in '/' Application.
--------------------------------------------------------------------------------

D:\Program\Delade filer\System\Ole DB\oledb32.dll 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: D:\Program\Delade filer\System\Ole DB\oledb32.dll

Source Error: 

Line 15: 		' Fyll ett DataSet.
Line 16: 		dim ds as DataSet = new DataSet()
Line 17: 		objCmd.Fill(ds, "test")
Line 18: 
Line 19: 		' Välj en DataView och bind till serverkontrollen.
 

Source File: d:\inetpub\wwwroot\dot net\visadata.aspx    Line: 17 

Stack Trace: 

[FileNotFoundException: D:\Program\Delade filer\System\Ole DB\oledb32.dll]
   System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName) +1480
   System.Data.Common.ADP.GetVersionInfo(String filename) +105
   System.Data.Odbc.OdbcGlobalEnv.GetGlobalEnv() +544
   System.Data.Odbc.OdbcConnection.Open() +185
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
   ASP.visadata_aspx.Page_Load(Object obj, EventArgs e) in d:\inetpub\wwwroot\dot net\visadata.aspx:17
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731

 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
```

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

## #2 — Vimp, 2003-11-25T06:47Z

Verkar vara något fel med D:\\Program\\Delade filer\\System\\Ole DB\\oledb32.dll..
Finns den där?
Testa att kopiera den till bin-mappen.

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

## #3 — ConnyFox, 2003-11-26T07:16Z

Japp den finns där. fast jag förstår inte riktigt varför den behövs..

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

---

Tråden på webben: https://www.webforum.nu/amne/dotnet/91188-problem-med-mysql
