Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Kein DB-Connect in der IDE (https://www.delphipraxis.net/156795-kein-db-connect-der-ide.html)

rathmasch 15. Dez 2010 09:50

Datenbank: ADS • Version: 7.1 • Zugriff über: Remoteserver

Kein DB-Connect in der IDE
 
Delphi 7

Problem:
Im Entwurfsmodus kann ich die Connection auf true setzten - geht.
Unter der IDE das Programm starten - sobald ich die Connection auf treu setze - ADSFehler 6420.
Das Programm compilieren und außerhalb von Delphu starten - geht, auch mehrfacher Start möglich.

Ich hab keine Ahnung wo ich da eine Einstellung geändert haben könnte.
Ich hoffe ja daß hier jemand ne Idee hat.

Vielen Dank

DeddyH 15. Dez 2010 09:52

AW: Kein DB-Connect in der IDE
 
Avira im Einsatz?

rathmasch 15. Dez 2010 09:55

AW: Kein DB-Connect in der IDE
 
Avira und Firewall deaktiviert.
Geht trotzdem nicht.

pmoegenb 15. Dez 2010 10:01

AW: Kein DB-Connect in der IDE
 
Die Online-Hilfe sagt dazu:

Problem: The Advantage application was unable to connect to the Advantage Database Server.

Solution: Several problems can cause this error to occur. Some common solutions are listed below. Reference the Advantage Knowledge Base for more detailed descriptions and a more complete list of known error cases.

· Verify the Advantage Database Server is installed and running on the server where the database is located.

· If attempting to use the Advantage Local Server and not the Advantage Database Server, make sure the application's "server types" setting is set to use the Advantage Local Server.

· If using the Native SQL Utility in the Advantage Data Architect, and you desire to use the Advantage Local Server and not the Advantage Database Server, make sure the Advantage connection type is set to "Local (ALS)". This can be done via the Query Options dialog that is accessed by clicking the button that has the screwdriver, hammer, and wrench on it.

· If the server is NetWare 5 or greater, make sure the version of the Advantage Database Server is 5.6 or greater, and make sure the Advantage client is v2.6 or greater.

· If communicating to a server that only has IPX installed, make sure the Advantage client is enabled to send IPX packets.

· If running through a firewall, make sure the Advantage IP send and receive ports are properly configured and opened up through the firewall.

rathmasch 15. Dez 2010 10:09

AW: Kein DB-Connect in der IDE
 
Sorry,
hab ja nicht gesagt daß ich das Problem letzte Woche noch nicht hatte.
Ich habs seit gestern - plötzlich und unerwartet.

Ich bin mir ja auch nicht sicher ob es überhaupt ein ADS - Problem ist. Die Programme laufen ja außerhalb von Delphi.

DeddyH 15. Dez 2010 10:11

AW: Kein DB-Connect in der IDE
 
Ich tippe immer noch auf Avira.

rathmasch 15. Dez 2010 10:31

AW: Kein DB-Connect in der IDE
 
@DeddyH

Gut, du hast recht. Man muß es wirklich deinstallieren.

Danke

joachimd 15. Dez 2010 12:09

AW: Kein DB-Connect in der IDE
 
Zitat:

Zitat von rathmasch (Beitrag 1068619)
Unter der IDE das Programm starten - sobald ich die Connection auf treu setze - ADSFehler 6420.

Der 6420 lässt sich zu 100% vermeiden, wenn man die ads.ini (richtig) verwendet: eine Sektion hinzufügen, die den Namen des Servers trägt (zB meinserver) und dann darunter IP-Adresse und konfigurierten Port eintragen.
Code:
[meinServer]
LAN_IP=192.168.1.1
LAN_PORT=6262
Ach ja: die ads.ini sollte natürlich auch an einen Platz, an dem sie zuverlässig von allen Beteiligten gefunden wird (zB %windir%).

DeddyH 15. Dez 2010 12:27

AW: Kein DB-Connect in der IDE
 
Ob das aber etwas bringt, wenn Avira jeden Datenverkehr bei laufender IDE blockt?

joachimd 15. Dez 2010 12:30

AW: Kein DB-Connect in der IDE
 
Zitat:

Zitat von DeddyH (Beitrag 1068669)
Ob das aber etwas bringt, wenn Avira jeden Datenverkehr bei laufender IDE blockt?

Bei Blockade jedes Datenverkehrs wird er auch dann einen Fehler bekommen...allerdings mit korrekter ads.ini keinen 6420 mehr;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:36 Uhr.
Seite 1 von 2  1 2      

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