Debug ו watch ב VB

icaesar

New member
Debug ו watch ב VB

אני עובד כבר הרבה זמן על פרויקט ב VB .NET Web Application. בלי אפשרות לעשות debug או לעשות watch על משתנים. מדוע? איך מתקנים ?
 

gooshi

New member
תוודא שהפרוייקט

מקומפל ב DEBUG ולא ב RELEASE, זו לפעמים הבעיה.
 

gooshi

New member
קודם כל

לזכותם של אנשי מייקרוסופט יאמר שמגיע להם ח"ח על התיאור המרשים: Catastrophic Failure זה לא רע, לא? חוץ מזה, אני חושב שכבר היה איזה שרשור דומה שנוא זה בעבר, אני אנסה מצוא מה נסגר שם ואעדכן אותך אם יש חדש בפי.
 

gooshi

New member
ראה אם השרשור הזה עוזר לך

הודעה בנושא אנא לא בטוח שזה גם בסוף את הבעיה, כדאי לשאול את Zeliran מה הוא עשה בסוף.
 

icaesar

New member
לא נראה לי

אני עובד על ה Administrator כלומר באופן אוטומטי אני שייך ל Debugger Users. (בדקתי גם ליתר ביטחון)
 

Zeliran

New member
לא נראה לי שזה מה שהיה לי... אבל

. . .אני עוד מההתחלה לא יכלתי לדבג שום דבר.. אז אם הצלחת כבר לדבג מתישהו, אז זו לא אותה בעיה שהיתה לי (ודרך אגב, הצלחתי לפתור אותה.. עכשיו אני עובד עם asp.net תחת winXP home edition בלי בעיה.. הא! למיקרוסופט!)
 

icaesar

New member
הבעייה היא רק ב Web Applications

אוי ואבוי לי אם לא יכלתי לעשות Debugging. מה תוכניתן שווה בלי זה
 

nattygur

New member
OK

ברוב המקרים זה זה :
PRB: "Catastrophic Failure" Error Message When You Try to Debug an ASP.NET Application on Windows 2000 Domain Controller Applies To SYMPTOMS When you try to debug a Microsoft ASP.NET Web Application on a computer that is running Microsoft Windows 2000 Server domain controller with Service Pack 4 (SP4) installed, you may receive the following error message: Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure CAUSE This problem occurs when the account that is used to run the ASP.NET Worker process (by default, this is the IWAM user account on the domain controller) is not assigned with the "Impersonate a client after authentication" user right in the local security policy. This problem may occur when you install Windows 2000 SP4, and then install Microsoft Visual Studio .NET. In this situation, the IWAM account is not granted the "Impersonate a client after authentication" user right in the local security policy. The "Impersonate a client after authentication" user right (also named SeImpersonatePrivilege) is a new Microsoft Windows 2000 security setting that was first included in Microsoft Windows 2000 SP4. WORKAROUND To work around the problem, manually assign the "Impersonate a client after authentication" user right to the IWAM account. To do this, follow these steps: Click Start, point to Programs, point to Administrative Tools, and then click Domain Controller Security Policy. Click Security Settings. Click Local Policies, and then click User Rights Assignment. In the right pane, double-click Impersonate a client after authentication. In the Security Policy Setting window, click Define these policy settings. Click Add, and then click Browse. In the Select Users or Groups window, select the IWAM account name, click Add, and then click OK. Click OK two times. To enforce an update of the computer policy, type the following command at a command prompt, and then press ENTER: secedit /refreshpolicy machine_policy /enforce At the command prompt, type iisreset, and then press ENTER.​
827559 KB
 

icaesar

New member
Not OK

I'm running Windows 2k Pro SP4. Therefore, I find it hard to believe I also run a domain controller....why should I ? Must admit that I was pretty excited for the first two sentences of your message but the disapointment was bigger as I proceed Thanks....I'll keep on looking...hoping to find something before I finish the project
 

Zeliran

New member
לא.. התכוונתי ל..

ב winforms ואפליקציות console יכלתי לדבג.. רק בכל מה שקשור ל asp.net לא יכלתי...
 
למעלה