Jayce Ooi’s Paradise

Photography, programming, technology, finance, anything =)
Subscribe to Jayce Ooi's Paradise feeds

“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. :D

“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. :P
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. :D

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…

  • Get the required files from your development server - C:\Program Files\Microsoft Visual Studio 8\ReportViewer (default path for Visual Studio 2005).
  • Copy Microsoft.ReportViewer.Common.dll, Microsoft.ReportViewer.WebForms.dll, Microsoft.ReportViewer.WebForms.xml, Microsoft.ReportViewer.WinForms.dll and Microsoft.ReportViewer.WinForms.xml.
  • Paste it at your web application bin folder.

This should do the trick. :D

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.

  • Right click on your web project and select properties.
  • Select ASP.NET tab.
  • Choose the correct ASP.NET version - 2.0 for this case.
  • That’s all. :D

Convert string to boolean - C# source code

Hope this will help. :)

string i = 1;
CheckBox.Checked = Convert.ToBoolean( i );

Related topics:
Convert int to string - C# source code

« Older Entries  Newer Entries »

Page 7 of 10« First...«56789»...Last »

Sponsored links

Archives

Chat Chat Chat...





Isabell Online Penang Florist

Isabell Online Penang florist

Top Commentators