04 Feb
Posted by Jayce as Programming, Windows - 550 views
“Task Manager has been disabled by your administrator”. I have never see this before when I write this. Why administrator need to disable Task Manager? Anyway… Here are some solutions to this re-enable Task Manager again.
Solution 1:
Type this “REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f” command at Windows ‘Run…‘
Solution 2:
Use Registry Editor (Regedit.exe) to edit the DisableTaskMgr value from 1 to 0 which located at [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ System]
Solution 3:
Type “gpedit.msc” command at Windows ‘Run…‘. Under “User Configuration / Administrative Templates / System / Ctrl+Alt+Delete Options / Remove Task Manager“, change Remove Task Manager to Not Configured or just disable it.
All these solutions should help you solve “Task Manager has been disabled by your administrator” issue. ![]()
02 Feb
Posted by Jayce as Programming, Windows - 1,788 views
“The command prompt has been disabled by your administrator.” Do you get this message when you try to use DOS command prompt to perform the task you want? With this message, you cannot do anything at command prompt. ![]()
Fear no more… There are some solutions to this issue.
Solution 1:
Type this “REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f” command at Windows ‘Run…‘
Solution 2:
Use Registry Editor (Regedit.exe) to edit the DisableCMD value from 1 to 0 which located at [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]
Solution 3:
Type “gpedit.msc” command at Windows ‘Run…‘. Under “User Configuration \ Administrative Templates \ System“, change Prevent access to the command prompt to Not Configured or just disable it.
All these solutions should help you solve “The command prompt has been disabled by your administrator” issue. ![]()
30 Jan
Posted by Jayce as Programming, Web - 794 views
System.Configuration.ConfigurationErrorsException: Could not load file or assembly ‘Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
Do you ever see this problem when you try to load ASP.NET web application? Well, based on the error code. It should have something related to ReportViewer. It seem like the ReportViewer component is not found.
I don’t have the problem during development at my development server. However, I faced this problem when I deploy to another machine. Why is this happening?
Here is the solution…
This should do the trick. ![]()
30 Jan
Posted by Jayce as Programming, Web - 354 views
Do you get Parser Error Message: Unrecognized attribute ‘xmlns’ when you try to deploy web application? Line 2: <configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0″></configuration> is red in colour.
Well, it happens all the time when I deploy ASP.NET 2.0 web application on a server with both ASP.NET 1.1 and 2.0 installed. What you need to do? By selecting the correct ASP.NET version at Internet Information Services (IIS) will solve the problem.
Hope this will help. ![]()
string i = 1;
CheckBox.Checked = Convert.ToBoolean( i );
Related topics:
Convert int to string - C# source code