The source was not found, but some or all event logs could not be searched

EventLog.SourceExists enumerates through the subkeys of HKLM\SYSTEM\CurrentControlSet\services\eventlog to see if it contains a subkey with the specified name. If the user account under which the code is running does not have read access to a subkey that it attempts to access (in your case, the Security subkey) before finding the target source, you will see … Read more

Visual Studio Code “Open With Code” does not appear after right-clicking a folder

Copied from Right click on Windows folder and open with Visual Studio Code Create file vsCodeOpenFolder.reg with this content (If you didn’t choose the default installation path then you need to adjust the paths in this file): Windows Registry Editor Version 5.00 ; Open files [HKEY_CLASSES_ROOT\*\shell\Open with VS Code] @=”Edit with VS Code” “Icon”=”C:\\Program Files … Read more

How do I run a Python program in the Command Prompt in Windows 7?

You need to add C:\Python27 to your system PATH variable, not a new variable named “python”. Find the system PATH environment variable, and append to it a ; (which is the delimiter) and the path to the directory containing python.exe (e.g. C:\Python27). See below for exact steps. The PATH environment variable lists all the locations … Read more

WCF ServiceHost access rights

The issue is that the URL is being blocked from being created by Windows. Steps to fix: Run command prompt as an administrator. Add the URL to the ACL netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser

Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)

Okay: This is what I did now and it’s solved: My httpd-vhosts.conf looks like this now: <VirtualHost dropbox.local:80> DocumentRoot “E:/Documenten/Dropbox/Dropbox/dummy-htdocs” ServerName dropbox.local ErrorLog “logs/dropbox.local-error.log” CustomLog “logs/dropbox.local-access.log” combined <Directory “E:/Documenten/Dropbox/Dropbox/dummy-htdocs”> # AllowOverride All # Deprecated # Order Allow,Deny # Deprecated # Allow from all # Deprecated # –New way of doing it Require all granted </Directory> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)