لدى قاعدة بيانات اوراكل
وارغب فى عمل تطبيق يتعامل معها مع العلم اننى استخدم تكنولوجيا ال
ado clasic
ولكن عندما احاول عمل odbc تظهر لى رسالة الخطاء التاليه
"ORA - 12154 TNS:Could Not Resolve the Connect Identifier Specified"
ارجو المساعده
لدى قاعدة بيانات اوراكل
وارغب فى عمل تطبيق يتعامل معها مع العلم اننى استخدم تكنولوجيا ال
ado clasic
ولكن عندما احاول عمل odbc تظهر لى رسالة الخطاء التاليه
"ORA - 12154 TNS:Could Not Resolve the Connect Identifier Specified"
ارجو المساعده
ASDSUEZ
السلام عليكم ورحمة الله وبركاته
تأكد أنك أدخلت البيانات الصحيحة للاتصال ثم تأكد من حالة الـListener أنه يعمل
وإذا كان الجهاز الذى تعمل عليه هو نفس جهاز الخادم المحتوى على قاعدة بيانات الأوراكل فتأكد أنك أعطيت المستمع نوع الاتصال IPC
لى سؤال ,, لماذا تستخدم Ado Classic? :huh:
إن قلت قال الله قال رسولـه همزوك همز المنكر المتعالي
أو قلت قد قال الصحابة والألـى تبعاً لهم بالقول والأعمال
أو قلت قـال الشافعي وأحمد و أبو حنيفة والإمام الغالي
صدوا عن وحي الإله ودينـه واحتالوا على حرام الله بالإحلال
يا أمةً لعبت بدين نبيها كتلاعب الصبيان في الأوحال
حاشا رسول الله يحكم بالهوى تلك إذاً حكومة الضلال
وجدت لك هذه التوجيهات فى Knowledge Xpert الذى يتم تثبيته مع برنامج Toad
- If you are using local naming (TNSNAMES.ORA file):
- Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
- Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
- Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
- Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
- If you are using directory naming:
- Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Verify that the LDAP directory server is up and that it is accessible.
- Verify that the net service name or database name used as the connect identifier is configured in the directory.
- Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
- If you are using easy connect naming:
- Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Make sure the host, port and service name specified are correct.
- Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
إن قلت قال الله قال رسولـه همزوك همز المنكر المتعالي
أو قلت قد قال الصحابة والألـى تبعاً لهم بالقول والأعمال
أو قلت قـال الشافعي وأحمد و أبو حنيفة والإمام الغالي
صدوا عن وحي الإله ودينـه واحتالوا على حرام الله بالإحلال
يا أمةً لعبت بدين نبيها كتلاعب الصبيان في الأوحال
حاشا رسول الله يحكم بالهوى تلك إذاً حكومة الضلال
الاستاذ GHOST2010
اشكرك على الاهتمام والحمد لله وجدت الحل فى احد المواقع الاجنبية وهو
الذهاب الى المسار التالى
C:\oracle\product\10.1.0\Client_1\network\ADMIN
وفتح ملف
sqlnet.ora
والتاكد من ان القيم بداخله كالتالى
# sqlnet.ora Network Configuration File: C:\oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora # Generated by Oracle configuration tools. SQLNET.AUTHENTICATION_SERVICES= (NTS) SQLNET.AUTHENTICATION_SERVICES= (NONE)
ASDSUEZ