الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكلة اما في Iis او في طريقة رفع المشؤةع

بدأه lana1 في 3 أغسطس 2009 · 14 رد · 906 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

عندي صفحة اقوم بجلب البيانات اليها من اوراكل داتا بيس

وهي تعمل بشكل جيد عند تشغيلها علا السيرفر او من خلا ل فيجوال استوديو

ولكن عندما استدعيها من كلاينت او اعمل browse من iis

تظهر الرسالة التالية:

Server Error in '/water' Application.

--------------------------------------------------------------------------------

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

Source Error:

Line 47: OracleConnection ole_con = new OracleConnection(connection_string);

Line 48: OracleCommand cm = new OracleCommand();

Line 49: ole_con.Open();

Line 50: cm.Connection = ole_con;

Line 51: cm.CommandText = sql;

اي انه لا يستطيع فتح اتصال من علا الكلاينت فما هو الحل؟؟؟؟؟؟؟

#2

السيرفر الذي يستضيف التطبيق لا يحوي على Oracle Client Tools. يجب تنصيبها أولاً.

#3

السيرفر يحتوي علا Oracle Client Tools

#4

اريد ان اضيف اني عندما حولت المشروع من FILESYSTEM TO HTTP

اصبحت المشكلة تظهر علا السيرفر ايضا؟

#5

إذن هي مشكلة صلاحيات. يجب إعطاء صلاحيات لليوزر ASPNET على المجلد الخاص بالكلاينت.

#6

قمت باعطاء سماحية FULLCONTROL ولم تنجح

#8

نعم

ارجو الرد من الخبراء لان هذه المشكلة اتعبتني

#9

على أي فولدر تم إعطاء الأذونات؟ و ما هو نظام التشغيل المستخدم؟

تم تعديل هذه المشاركة بواسطة System Down في 5 أغسطس 2009 في 11:17

#10

انا استخدم ويندوز اكس بي 2

والاذونات تم اعطاؤها علا المجلد الرئيس للموقع

#11

الأذونات يجب أن تعطى للمجلد الذي يحوي على برنامج الأوراكل كلاينت و ليس التطبيق نفسه.

#12

يأخي الموضوع ليس موضوع سماحيات لأنني حاولت ايضا ولم انجح

#13

السلام عليكم

بما اننا نتكلم عن asp.net فالمشكلة في السيرفر وليس في الكلينت لان الاتصال بقاعدة البيانات يتم في السيرفر ولا دخل للكلينت بذلك .

ومن رسالة الخطأ يظهر ان ادوات الاوراكل كلينت هي قديمة على السيرفر او هي غير مناسبة للاتصال من Asp.net

#14

السلام عليكــم ورحمـة الله وبركاتــه ،،

أظن و الله أعلم أن الأمر يتعلق بصلاحيات النظام على المجلد المحتوي على أدوات أوراكل (Oracle clients Tools)

يرجى تجربة الخطوات التالية بدقة و إن شاء الله ستحل المشكلة:

1. Log on to Windows as a user with Administrator privileges.

2. Launch Windows Explorer from the Start Menu and and navigate to the

ORACLE_HOME folder. This is typically the "Ora92" folder under the

"Oracle" folder (i.e. D:\Oracle\Ora92).

3. Right-click on the ORACLE_HOME folder and choose the "Properties" option

from the drop down list. A "Properties" window should appear.

4. Click on the "Security" tab of the "Properties" window.

5. Click on "Authenticated Users" item in the "Name" list (on Windows XP

the "Name" list is called "Group or user names").

6. Uncheck the "Read and Execute" box in the "Permissions" list under the

"Allow" column (on Windows XP the "Permissions" list is called

"Permissions for Authenticated Users").

7. Re-check the "Read and Execute" box under the "Allow" column (this is

the box you just unchecked).

8. Click the "Advanced" button and in the "Permission Entries" list make

sure you see the "Authenticated Users" listed there with:

Permission = Read & Execute

Apply To = This folder, subfolders and files

If this is NOT the case, edit that line and make sure the "Apply onto"

drop-down box is set to "This folder, subfolders and files". This

should already be set properly but it is important that you verify this.

9. Click the "Ok" button until you close out all of the security properties

windows. The cursor may present the hour glass for a few seconds as it

applies the permissions you just changed to all subfolders and files.

10. Reboot your computer to assure that these changes have taken effect.

بالتوفيييق :thumb_up:

#15

لقد حلت المشكلة شكرا stranger man

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…