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

لماذا asp فايل لا يعمل مع iis7 ؟

بدأه hemnf في 2 نوفمبر 2010 · 2 رد · 434 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

مرحبا بكم, بعد اكثر من 6 سنوات ها انا هنا مرة اخرى..

انا عندي ويندوز 7 التيميت و iis7 يعمل مع aspx فايل, لكن لايفتح asp فايل..

هذا هو الايرر

Active Server Pages error 'ASP 0120'

Invalid Runat attribute

/LM/W3SVC/1/ROOT/global.asa, line 1

The Runat attribute of the Script tag or Object tag can only have the value 'Server'.

ارجو مساعدة

#3

شكرا على الجواب, انا عملت مثل هذا المثال, لا يزال نفس خطأ, بس ما فهمت هذا الجزء

Under the Advanced Settings of the "ASP" application pool you will find the Identity property under Process Model. The default value is NetworkService. I found no way to set this to the BUILTIN\IUSR by choosing SpecificUser and setting BUILTIN\USR under Identity SpecificUser Credentials. I guess that you shouldn't be running ASP sites under IUSR anymore. It is used for anonymous users automatically.

To easy the administration effort, there is a way to turn off the IUSR account without turning off anonymous identification:

appcmd set config -section:anonymousAuthentication -userName:"" --password

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