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

اخوانى انا واقع فى مأزق مع asp.net

مغلق
بدأه amr_a في 9 يونيو 2003 · 18 رد · 2,092 مشاهدة · في منتدى تصميم صفحات الويب
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

بسم الله الرحمن الرحيم

انا بدات بتعلم asp.net حديثا ولكن واجهتنى مشاكل

اولا -الادوات التى وضعتها فى مرحلة التصميم لم اجدها عندما عملت run

للبرنامج واخرج لى رسالة لم افهم معناها وهى مرسلة مع الملف المرفق

فماذا افعل ارجوا الاطلاع على الرسالة

وشكرا لكم مقدما

untitled.zip

#2

الرسالة السابقة تقول بانه ال IIS الذي تستخدمه غير مفعل امكانية ال Debug لصفحات الويب، عملية تفعيلها بالمناسبة ليست صعبة كثير و مشروحة في كتيبات MSDN المرفقة

على العموم لو لم تحتاج الى ال Debug كل ما هو مطلوب عمل Build للمشروع الخاص بك و من ثم تشغيله من الخارج عبر المتصفح و ذلك بكتابة عنوان المشروع مثلا

http://localhost/bac/Webform1.aspx هذا اذا كان المشروع في جهازك و اسمه abc

اي ان البرنامج في ASP.NET لا يشترط ان يشغل مثل برامج ال windows الزر run هو لل debug فقط

#3

بسم الله الرحمن الرحيم

اخى الاستاذ خضر ترزى شكرا لك اولا على اهتمامك

ولكن استاذى الطريقة التى ذكرتها لم تجدى معى وايضا لم تظهر الادوات

ماذا افعل وماذا افعل امكانية ال Debug لصفحات الويب،

ارجوا منك الرد

وشكرا مرة اخرى:o:o:o

#4

IIS need to be installed before the .NET framework .Try to rinstall the framework ,it might solve your problem.

Madani

#5

بسم الله الرحمن الرحيم

اخوانى لا اجد حل لهذة المشكلة

دلونى ماذا افعل

جربت كل الطرق ولم تجدى

#6

لو امكن ان تعطينا تفاصي اكثر لنتمكن من مساعدتك، يعني ماذا تقصد بادوات، بعض المعلومات عن الاعدادات، و تفاصيل اكثر عن المشكلة لو امكن

#7

بسم الله الرحمن الرحيم

الاستاذ خضر ترزى

اولا اقصد بالادوات اى مثلا

الزر والجداول والتكست مثلا والليبل

ولكن لقد فعلت ما اشرت الية وعملت Build للمشروع وقمت بتشغيلة من المتصفح

ولكن الازرار والتكست والجداول لا تظهر

لا يظهر سوى الخلفية والليبول على المتصفح ولقد رايت بعض الاخوة يعانون من هذة المشكلة وقد اشار الى اخ وقال لى

انا اسجل هذا الملف فى النظام

الملف هو aspnet_isapi.dll ولكن النظام لا يقبل ان يسجلة وقال لى انة كان عندة نفس المشكلة وحاها بهذة الطريقة ولقد حاولت ان اسجل الولف عن طريق هذا الامر

regsvr32.exe aspnet_isapi.dll

ولكن النظام لا يقبل الملف وانا عندى الملف اذا ماذا افعل لاجعل الازرار والتكست والجداول وباقى الادوات تظهر

ارجوا ان يكون الشرح واضح

#8

بسم الله الرحمن الرحيم

اخوانى ارجوا ان يكون كلامى واضح

وشكرا لكم مقدما

#9

اخ amr_a .

انا واجهتني نفس المشكلة . ووجدت بعد المتاعب و المشاكل انه يجب على ان احذف فجوال ستوديو .نت و احذف IIS , ثم اقوم بتثبيت IIS و بعدها احمل فجوال ستوديو .نت .

الخلاصة انه يجب عليك تثبيت IIS قبل VS.NET .

انا من راي انك تسوي فورمات للنظام عشان يرجع لك فرش:cool: .

و السلام ..

#10

بسم الله الرحمن الرحيم

اخى الاستاذ عبد الرحمن

الا يوجد حل غير هذا اعنى ان يكون هذا اخر حل

ولماذا يجب تثبيت iis قبل vb.net

ارجوا الرد

#11

للاسف لا اعلم حلا غير هذا .

اقتباس
ولماذا يجب تثبيت iis قبل vb.net

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

#12

انا الان فهمت المشكلة

IIS يجب ان يربط مع .نت، العملية سهلة للغاية، فقط شغل هذا الامر

Aspnet_regiis.exe

الموجود في

"%windir%Microsoft.NETFrameworkv1.1.xxxx"

#13

بسم الله الرحمن الرحيم

اخى الاستاذ خضر ترزى

فعلت ما اشرت الية ولكن دون جدوى

ماذا افعل:'(:'(:'(:'(:'(:'(

#14

بسم الله الرحمن الرحيم

اخى لم تجدى

اخى الاستاذ خضر ترزى ارجوا منك ان تشرح لى كيفية تفعيل امكانية ال Debug

لان هذة المشكلة هى الاخرى ما زالات موجودة

وشكرا لك على تعاونك معى

#15

ضع آخر قرص من فيجوال ستوديو والمسمى بـ Window Components

وأذهب إلى start ثم run

وبالتحديد أكتب الأمر التالي:

H:dotNetFrameworkdotnetfx.exe /t:c:temp /c:msiexec.exe /fvecms c:tempnetfx.msi

وذلك بفرض أن السواقة الليزرية لديك حرفها هو H

#16

بسم الله الرحمن الرحيم

اخى أنس عبد الله شكرا لك ولكن الحل ايضا لم يجدى

ارى ان لا طريق غير حل الاستاذ عبد الرحمن

هل انت معى فى هذا الحل

#17

Error: Unable to Start Debugging on the Web ServerSee Also

Debugging Script and Web: Errors and Troubleshooting

When you try to debug on an application running on a Web server, you may sometimes get a message with this error message:

Unable to start debugging on the web server

If you encounter these errors, there are several things to consider:

Things to Check

Web Applications on Remote Servers

Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions

Manually Attaching

Things to Check

If you get an "Unable to start debugging on the Web server" error, try checking the following things:

Are you running a version of Windows that allows the Visual Studio debugger to automatically attach to a Web application? If not, you need to launch the application without debugging and manually attach to it. (For more information, see Manually Attaching and ASP.NET Debugging: System Requirements.)

Does your Web application have a Web.config file?

Does the Web.config file enable debug mode) by setting the debug attribute to true? For more information, see Debug Mode in ASP.NET Applications.

Does the Web.config contain any syntax errors? You can check for syntax errors by running the Web application without debugging. (From the Debug menu, choose Start Without Debugging.) If there are syntax errors in Web.config, detailed information will be displayed.

Are you a member of the Debugger Users group? If you are logged in as Administrator, is Administrator in the group?

Did you create the project by specifying a specific IP address (100.20.300.400, for example)? Debugging a web server requires NTLM authentication. By default, IP addresses are assumed to be part of the Internet, and NTLM authentication is not done over the Internet. To correct this problem:

When creating the project, specify the name of the machine on your Intranet.

-or-

Add the IP address (http://100.20.300.400) to the list of trusted sites on your computer. (From the Internet Explorer Tools menu, choose Internet Options, and then select the Security tab).

Does the machine running IIS server have Visual Studio .NET Remote Components installed?

Was IIS installed on the local machine (the machine running Visual Studio .NET) after Visual Studio .NET was installed? IIS should be installed before Visual Studio .NET. If it was installed afterwards, you may need to repair the .NET Framework.

To repair the .NET Framework

Insert the Visual Studio .NET disc and run

:wcudotNetFrameworkdotnetfx.exe /t:c:temp /c:"msiexec.exe /fvecms c:tempnetfx.msi"

—or—

Insert the Visual Studio .NET Windows Component Update disc and run

:dotNetFramework dotnetfx.exe /t:c:temp /c:"msiexec.exe /fvecms c:tempnetfx.msi"

Is the URL for the project start page properly specified? Are the extension and project directory correct?

Are the IIS security settings setup properly? To verify this, check the Default Web Site settings.

To check IIS security settings for the Default Web Site

From the Start menu, choose Programs, then Administrative Tools, and click Internet Services Manager (Windows 2000) or Internet Information Services (Windows XP).

In the Internet Services Manager or Internet Information Services dialog box, click the tree control for your machine. In the Web Sites folder, find Default Web Site.

Right-click Default Web Site and choose Properties.

In the Default Web Site Properties window, select the Directory Security tab and click Edit.

In the Authentication Methods dialog box, select Anonymous Access and Integrated Windows Authentication (if not already selected).

Click OK to close the Internet Services Manager or Internet Information Services dialog box.

Click OK.

For an ATL Server application, verify that the DEBUG verb is associated with your ISAPI extension.

For an ASP.NET application, make sure the virtual folder for the application has an Application Name set in Internet Services Manager or Internet Information Services.

To designate the virtual folder for the Web application

From the Start menu, choose Programs, then Administrative Tools, and click Internet Services Manager (Windows 2000) or Internet Information Services (Windows XP).

In the Internet Services Manager or Internet Information Services dialog box, click the tree control for your machine. In the Web Sites folder, find the Web application.

Right-click Default Web Site and choose Properties.

In the Default Web Site Properties window, select the Directory tab.

Under Application Settings, click Create.

The application name appears in the box.

Click OK to close the Properties dialog box.

Click OK to close the Internet Services Manager or Internet Information Services dialog box.

Web Applications on Remote Servers

If the Web application is on a remote server, check the following:

Were the proper setup programs run to install ASP.NET/ATL Server and remote debugger components on the server?

Are you a member of the Debugger Users group on the Server? Do you have the necessary access privileges to debug processes running under the system account?

ASP.NET applications run under inetinfo.exe (the IIS process) or the ASP worker process aspnet_wp.exe, depending on security settings. The aspnet_wp.exe process runs as SYSTEM by default. To debug an application running under aspnet_wp.exe, you need to have Administrator privileges or edit the machine.config file for aspnet_wp.exe so that aspnet_wp.exe runs under a user account. To debug an application running under inetinfo.exe, you need to be Administrator on the machine running inetinfo.exe.

ATL Server applications run under inetinfo.exe or the ATL worker process dllhost.exe, depending on security settings. To debug an application running under inetinfo.exe, you be Administrator on the machine running inetinfo.exe, or you can configure dllhost to run as a particular user using the Common Language Runtime application settings

Are you using Terminal Server to try to debug a Web application on a remote machine? Remote debugging of native Web applications using Terminal Server is supported under Windows XP. It is not supported under Windows 2000 or Windows NT.

Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions

If the Web application is stored in Visual SourceSafe and uses FrontPage Server extensions as its Web Access mode, check the following:

Is Visual SourceSafe located on the same machine as the FrontPage Server/Web server? If so, you can debug using Integrated Authentication. (To check the Integrated Authentication setting, see the procedure To check IIS security settings for the Default Web Site earlier.)

Another way to solve this problem is to change the Web Access Mode from FrontPage to File Share.

To change the Web Access mode to File Share

In Solution Explorer, right-click the project name and choose Properties from the shortcut menu.

In the Property Pages dialog box, open the Common Properties folder and choose Web Settings.

Under Web Server Connection, click Web Access Mode and choose File Share from the list box.

Click OK to close the Property Pages dialog box.

Manually Attaching

If you follow the troubleshooting steps and still get an error message when you start debugging, you may want to try debugging your application by manually attaching.

To manually attach

Start the application without debugging. (From the Debug menu, choose Start Without Debugging.)

Attach to the appropriate IIS process or worker process. By default, inetinfo.exe for ATL Server applications or aspnet_wp.exe for ASP.NET applications. Use the following procedures to determine which process an ASP.NET or ATL Server application runs under.

To check which process an ASP.NET application runs under

Use Visual Studio .NET or another text editor to open the machine.config file for the application.

Find this process model attribute:

enable

If enable is set to TRUE, the application runs under aspnet_wp.exe. (This is also the default setting.)

If enable is set to FALSE, the application runs under inetinfo.exe.

To check which process an ATL Server application runs under

In Solution Explorer, right-click the project name and choose Properties from the shortcut menu.

In the Property Pages dialog box, open the Web Deployment folder and choose General.

Look at the Application Protection setting.

If the setting is Low (IIS Process), the application runs under inetinfo.exe.

If the setting is Medium (Pooled), the application runs under a dllhost.exe process (in common with other pooled ATL Server applications).

In the setting is High (Isolated), the application runs under a dllhost.exe process (separate from other ATL Server applications).

Click OK to close the Property Pages dialog box.

#18

بسم الله الرحمن الرحيم

شكرا لكم جميعا والحل هو راى الاستاذ عبد الرحمن

لانى فعلت مثلما قال

قمت بازالة vb.net و iis

وثبت iss قبل vb.net

والحمد لله الحل اشتغل

اى يجب تثبيت iis قبل VB.NET

وشكرا لكم مرة اخرى

#19

أخواني لماذا هذا الغباء من مايكروسوفت ؟ !

لماذا لا تجعل iis من ضمن حزمة الفجول دوت نت وتريح الناس غاوي متاعب

ماهو ووووووووووووووووووووو الحل

من جرب يعطينا النتيجة وهل هذة المشكلة سوف تظهر في كل حين

تحياتي

الخطوات بالتفصيل الممل

تحياتي

عوارض المشكلة

1- عند الاستعراض يقول أعمل تطفئة للمتصفح

2- يعرض رسالة أن السيرفر المحلي غير قادة للأخطاء

3- الادوات لا تظهر على المتصفح

4- نريد الحل يا خبراء asp.net

5- شاكراً لك من أجاب ومن جرب دورة asp.net رقم الكورس 2310 في نيزهرايزن يقولونا مدى الفائدة تحياتي

انا في انتظار ردكم يا أنا يا asp.net في هذا المنتدى سلامي للجميع وخالص تحياتي لخضر ترزي

هذا الموضوع مغلق.

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