VS 2019 ile kodu çalıştırıken sistem özellikleri sekmesi açılıyor

Taylan111

Centipat
Katılım
21 Mart 2020
Mesajlar
60
Çözümler
1
Visual Studio 2019 kullanıyorum. Kodu Çalıştırdığımda aldığım hata mesajı;
Denetim Masası'ndan "Turn Windows features on or off" kısmına girdiğimde karşıma hiçbir klasör çıkmadı. Ekte onu da paylaştım
Sorunu nasıl çözebilirim?
 

Dosya Ekleri

  • Screenshot_8.png
    Screenshot_8.png
    12,5 KB · Görüntüleme: 30
  • Screenshot_9.png
    Screenshot_9.png
    7,3 KB · Görüntüleme: 36
Sanırım kodunda bir hata var ve program çalışmaya devam edemediği için unhandled exception mesajı döndürüyor. Kodların doğruluğundan emin olmak lazım. Details'e bastığında bir şey çıkıyor mu?
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SpeechRecg_KodTurkiye.Form1.rEngine_SpeechRecognized(Object sender, SpeechRecognizedEventArgs e) in c:\Users\Wee\Desktop\Kod Türkiye\SpeechRecognition\SpeechRecg-KodTurkiye\SpeechRecg-KodTurkiye\Form1.cs:line 55
at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SpeechRecg-KodTurkiye
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/STC/Desktop/SpeechRecg-KodTurkiye/SpeechRecg-KodTurkiye/obj/Debug/SpeechRecg-KodTurkiye.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Bu Yazı Çıkıyor.
 
Form1 dosyasında, 55. satırda şu tarz bir kod varmış:
Kod:
System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)
Bu fonksiyon exception döndürüyor. Kodun içindeki dosyanın bulunamadığını söylüyor. Mesajdan anladığım bu. Hatanın tam olarak ne olduğunu bilmiyorum. Kodu görünce daha iyi bir yorum yapılabilir, bakmak lazım.
Bir de mesajda da söylediğine göre, JIT debugging özelliğini aktif edersen, böyle bir hata aldığında sana mesaj kutucuğu göstermek yerine, kodun içinde direkt hatayı aldığın satıra yönlendiriyor. Debug için çok daha kullanışlı bir yöntem.
 

Geri
Yukarı