Direkt zum Hauptbereich

Posts

Posts mit dem Label "Windows" werden angezeigt.

Unsolvable Windows Problems #1 - If you can' start the spooler service

A recent case of unusual computer problem induced me to write this post. Background A freind asked me because he had a computer problem that even an expert couldn't solve and he recommended to re-install Windows to solve the problem. Hence this friend of mine was a entrepreneur and he needed his computer every day, he din't want to re-install Windows and all the applications he uses every day. Not to mention the costs of the re-installation of his service-software. So I agreed to have a look at the problem. The problem itself The problem was, that he couldn't print anymore, though it was still possible seven days ago and he (of course) didn't change anything on the system. The first thing was, that I tried to print. I got an error, that the spooler service was not started. So I tried to start the spooler service, but this didn't work. Everytime I tried to start the spooler service, I got the error message "Windows Error 0x800706b9 - Not enough resource

How to use TOracleConnection under Lazarus for Win64

Lazarus Programmers have had no possibility to use TOracleConnection under 64 Bit Windows and Lazarus for years. Even if you tried to use the TOracleConnection with a correctly configured Oracle 11g client, you were not able to connect to the Oracle Database. The error message was always: ORA-12154: TNS:could not resolve the connect identifier specified Today I found a simple workaround to fix this problem. It seems like the OCI.DLL from Oracle Client 11g2 is buggy. All my attempts to find identify the error ended here. I could exclude problems with the TNS systems in Oracle - or the Free Pascal file oracleconnection.pp though the error messages suggestes those problems. After investigating the function calls with Process Monitor (Procmon) I found out, that even the file TNSNAMES.ORA was found and read correctly by the Lazarus Test applictaion. So trouble with files not found or wrong Registry keys could also be eliminated. Finally I installed the Oracle Instant Client 12.1c - aft

Oracle ODBC-Datenquelle in Windows 7

Um Oracle-Daten in Office-Anwendungen nutzen zu können, benötigt man in den meisten Fällen eine sog. ODBC-Datenquelle (DSN). In Windows 7 findet man eine Möglichkeit zu deren Verwaltung unter "Systemsteuerung", "Verwantung", "Datenquellen (ODBC)". Hier sind auch bereits vordefinierte Datenquellen enthalten (z. B. für Excel-Datenblätter, Access-Dateien oder auch Microsoft SQL-Server). Um Oracle als ODBC-Datenquelle nutzen zu können, benötigt man den passenden ODBC-Treiber für die zu verwendend Datenbankversion. Diese kann man nach kostenloser Anmeldung im Oracle Software Download herunterladen nach vorheriger Registrierung. Zum Erstellen der ODBC-Datenquelle muss eigentlich nicht viel beachtet werden, wenn man denn den richtigen ODBC-Treiber (richtige Architektur 32/64-Bit, richtige Datenbankversion) heruntergeladen hat. Das Feld "Data Source Name" bekommt den Namen, den die Datenquelle erhalten soll. "TNS Service Name" referen