AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

Fehlermeldung ADS

Ein Thema von Grolle · begonnen am 15. Dez 2005 · letzter Beitrag vom 16. Dez 2005
Antwort Antwort
Grolle

Registriert seit: 5. Nov 2004
Ort: Coesfeld
1.268 Beiträge
 
Delphi 2010 Professional
 
#1

Fehlermeldung ADS

  Alt 15. Dez 2005, 21:58
Datenbank: ADS Local • Version: 7.1 • Zugriff über: Dataset
Hallo!
Ein User bekommt bei meinem Programm folgende Fehlermeldung:
Zitat:
AdsTable1: Error 5175: The index file was created with a different collation sequence than is currently being used.
Weiss jemand was das bedeutet? Dieser Fehler tritt zum ersten Mal auf.
Kann es sein, dass bereits ein anderes installiertes Programm auf seinem Rechner den ADS nutzt?

Viele Grüße...

  Mit Zitat antworten Zitat
Benutzerbild von Union
Union

Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.487 Beiträge
 
Delphi 7 Enterprise
 
#2

Re: Fehlermeldung ADS

  Alt 15. Dez 2005, 22:06
Das bedeutet, dass Die Indexdatei unter einer anderen Sortierfolge erstellt wurde, als auf Deinem Rechner. Passiert z.B. wenn man auf seinem Rechner Sortierung auf Deutsch eingestellt hat (beim ADS) und versucht Demodaten eines US-Programms, bei dem die Index dabei sind, zu öffnen. Es hilft dann (wenn Du den ADS Local verwendest) die Erstellung einer INI-Datei mit Namen AdsLocal.cfg und folgendem Inhalt:
Code:
[SETTINGS]
ANSI_CHAR_SET=German
OEM_CHAR_SET=GERMAN
Dabei können folgende Sprachcodes zum Einsatz kommen:
Zitat von Advantage Helpfile:
ANSI Character Set

Default = Use the currently configured ANSI character set that is active on the workstation. Options are: Baltic, Danish, Dutch, Engl(Amer), Engl(UK), Engl(Can), Finnish, French, French Can, German, Icelandic, Italian, Norwegian, Polish, Portuguese, Spanish, Span(Mod), Swedish, Russian, ASCII, or Turkish.
Keyword = ANSI_CHAR_SET
This is the ANSI character set that can be used when reading and storing data in tables opened with ANSI specified as the character set type. If this value is not specified, the currently configured ANSI character set on the workstation will be used. If you do not wish to use the ANSI character set that is active on the current workstation, this setting can be used to select one. This setting is useful to guarantee that the same ANSI character set is used both by local connections using the Advantage Local Server and remote connections to the Advantage Database Server. This setting does not apply to tables opened with OEM as the specified character set type.

OEM/Localized Character Set

Default = USA. Options are: USA, DANISH, DUTCH, FINNISH, FRENCH, GERMAN, GREEK437, GREEK851, ICELD850, ICELD861, ITALIAN, NORWEGN, PORTUGUE, SPANISH, SWEDISH, MAZOVIA, PC_LATIN, ISOLATIN, RUSSIAN, NTXCZ852, NTXCZ895, NTXSL852, NTXSL895, NTXHU852, NTXPL852, or TURKISH.
Keyword = OEM_CHAR_SET
This is the OEM/Localized character set used when reading and storing data in tables opened with OEM specified as the character set type. This setting does not apply to tables opened with ANSI as the specified character set type.
Du musst natürlcih rausfinden, unter welchem Charset der Index erstellt wurde.
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
  Mit Zitat antworten Zitat
Grolle

Registriert seit: 5. Nov 2004
Ort: Coesfeld
1.268 Beiträge
 
Delphi 2010 Professional
 
#3

Re: Fehlermeldung ADS

  Alt 15. Dez 2005, 23:18
Ich werds testen. Danke für deine Antwort!
Greetz

  Mit Zitat antworten Zitat
Benutzerbild von joachimd
joachimd

Registriert seit: 17. Feb 2005
Ort: Weitingen
672 Beiträge
 
Delphi 10.4 Sydney
 
#4

Re: Fehlermeldung ADS

  Alt 16. Dez 2005, 09:55
Einfacher: stelle in AdsTable das Property IndexCollationMismatch auf icmReindex, dann wird automatisch reindiziert. Aber Vorsicht Wenn Du diesselben Tabellen auf mehreren Rechnern mit Local Server nutzt, so kann es vorkommen, dass bei jedem Öffnen ein Reindex durchgeführt wird (weil uns MS mit jeder einzelnen Ausgabe von Windows eine andere Collation beschert hat). Auf jeden Fall die von Union angesprochenen Einträge in den "adslocal.cfg"s nicht vergessen.
Joachim Dürr
Joachim Dürr Softwareengineering
http://www.jd-engineering.de
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:32 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz