Announcement

Collapse
No announcement yet.

Zugriffsverletzung in MSDART

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zugriffsverletzung in MSDART

    Hallo,

    ich mache unter Delphi 7 Prof. mittels einer TADOQuery eine einfache Abfrage auf eine Access97 Datenbank. Klappt auch wunderbar. Sobald der Datenbankname aber mehr als einen Punkt im Dateinamen enthält (z.B. Test.IIS.MDB), erhalte ich die Fehlermeldung "Zugriffsverletzung...in Modul MSDART.DLL".
    Liegt es nun an mir, an Delphi oder an Microsoft , und wie kann ich das Problem lösen !?

    Vielen Dank

    Andreas

  • #2
    Hallo,

    ich kann das Problem mit Delphi 7 unter Windows XP Pro nicht reproduzieren. Das folgende Beispiel verursacht keine Probleme:
    <pre>
    <b>object</b> Form1: TForm1
    Left = 192
    Top = 114
    Width = 870
    Height = 640
    Caption = <font color="#9933CC">'Form1'</font>
    Color = clBtnFace
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = <font color="#9933CC">'MS Sans Serif'</font>
    Font.Style = []
    OldCreateOrder = False
    PixelsPerInch = 96
    TextHeight = 13
    <b>object</b> DBGrid1: TDBGrid
    Left = 56
    Top = 224
    Width = 320
    Height = 120
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = <font color="#9933CC">'MS Sans Serif'</font>
    TitleFont.Style = []
    <b>end</b>
    <b>object</b> ADOConnection1: TADOConnection
    Connected = True
    ConnectionString =
    <font color="#9933CC">'Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Database\Test.II'</font> +
    <font color="#9933CC">'S.mdb;Persist Security Info=False'</font>
    LoginPrompt = False
    Mode = cmShareDenyNone
    Provider = <font color="#9933CC">'Microsoft.Jet.OLEDB.4.0'</font>
    Left = 64
    Top = 56
    <b>end</b>
    <b>object</b> ADOQuery1: TADOQuery
    Active = True
    Connection = ADOConnection1
    CursorType = ctStatic
    Parameters = &lt;&gt;
    SQL.Strings = (
    <font color="#9933CC">'select * from Tabelle1'</font>)
    Left = 104
    Top = 56
    <b>end</b>
    <b>object</b> DataSource1: TDataSource
    DataSet = ADOQuery1
    Left = 136
    Top = 56
    <b>end</b>
    <b>end</b>
    </pre&gt

    Comment

    Working...
    X