Problem description:
Install the classic example petshop 4.0 in Windows 7, "The source is not found, but some or all Event Logs cannot be searched. Inaccessible log: Security Prompt. The installation fails.
Solution:
1. Win key + R, open "run", enter "msconfig", and click "OK"
2. In the pop-up "System Configuration" form, find "tool" and click
3. Find "Change UAC Settings" in "Tool Name" and click "start"
Note: The preceding three steps can also be completed in one step: win key + R, enter"C: \ Windows \ system32 \ useraccountcontrolsettings.exe"
4. In the displayed "User Account Control Settings", pull the slider to "never notice" and click "OK"
5. Find the Installation File of petshop 4.0. If you cannot find the file, download it here:
Http://download.microsoft.com/download/8/0/1/801ff297-aea6-46b9-8e11-810df5df1032/Microsoft%20.NET%20Pet%20Shop%204.0.msi
6. Right-click "properties", find "compatibility", and select "run in compatibility mode ".Program", Click" OK"
7. You can press enter to install the SDK.