Thursday, 28 March 2013

HTTP Error 403.19 – Forbidden The configured user for this application pool does not have sufficient privileges to run CGI applications.

If you get the error

“HTTP Error 403.19 – Forbidden
The configured user for this application pool does not have sufficient privileges to run CGI applications.”


Try this (for IIS 7 and above)

1. Open IIS Manager

2. In the IIS Manager, click sites >> double click on the website on which you are getting the error.

3. Under website settings click on CGI.

4. Change Impersonate User from True to False.

5. Click Apply on the right.

Now try to access the site.

Wednesday, 19 September 2012

How to check Malware injection in Code

To check Malware injection in your script/Code you can use a Web based Google Tool called “Webmasters Tools”

You can find it here Google Webmasters Tool

You just need to login with any of your Google Logins.
Click on  to add the Website to Google Webmasters Tools
After Adding the Website,You’ll get the below given screen.


Now,Download the HTML file and paste it into your root directory of your domain.
Next,Access the click to verify.
Later,Click on Verify.Now You are done adding your website to Google Webmasters.
Now,To check the injection just click on the Option “Health>>Malware” on left panel options.


Here you will find the files that are been injected.

When you click on the link/file where the Code has been injected.You get the below given screen


 Here you even get the injected script which later you can remove from the file.

How to improve internet speed on your Windows XP Desktop

Following steps will help you to improve the internet speed of Windows XP

Step 1:

Click Start => Run => type “gpedit.msc” without quotes and then press enter. A group policy editor will be opened.

Step 2:

Then go to: Local Computer Policy => Computer Configuration => Administrative Templates => Network => QOS Packet Scheduler => Limit Reservable Bandwidth (Double click on it)

Step 3:

When you double click on Limit Reservable Bandwidth it will say it is not configured. But the truth is under the ‘Explain’ Tab i.e.”By default, the Packet Scheduler limits the system to 20% of the bandwidth of a connection but you can use this setting to override the default.” So the trick is to ENABLE reservable bandwidth, then set it to ZERO. This will allow the system to reserve nothing, rather than the default 20%.

How to Change RDP Port

The setting for the Terminal Services port lives in the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp

Open up Regedit, find this key, and look for the the PortNumber value.

 Double click on the PortNumber setting and enter in the port number you wish to use. Unless you think in hex (pat yourself on the back if you do), you might want to click on decimal before entering your new port number.

 Or, you can use my creatively named VelocIT Terminal Services Port Changer application, which is available with source.  This is a simple five minute application that does one thing and one thing only. It allows you to change the port number that Terminal Services listens on.


Remember, all the usual caveats apply about tinkering with the registry. You do so at your own risk.

Connecting via Remote Desktop to the non-standard Port

Now that you have the server all set up, you need to connect to it.  This is pretty easy.  Suppose you change the port for the virtual machine to listen in on port 3900.  You simply append 3900 to the server name (or IP) when connecting via Remote Desktop.

Could not load type ‘System.ServiceModel.Activation.HttpModule’

Error:

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′.
Resolution

To resolve this issue, run the following from command line:

aspnet_regiis.exe /iru

The aspnet_regiis.exe file can be found in either

    %windir%\Microsoft.NET\Framework\v4.0.30319
    %windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)

Tuesday, 18 September 2012

Windows Login Error: An unauthorized change was made to Windows

After Log in to Windows Getting error  “An unauthorized change was made to Windows

Resolution:

1) Click the option that launches an Internet Browser

2) Type: %windir%\system32 into the address field

3) Find the file cmd.exe

4) Right-click on cmd.exe and select Run as Administrator

5) Type:  cscript %windir%\System32\slmgr.vbs /ilc %windir%\System32\licensing\ppdlic\Security-Licensing-SLC-ppdlic.xrm-ms

6) Hit the Enter key

7) Reboot

Later,Go to your system options and Update your Windows License Key and also run if any Windows Updates are available.

Monday, 17 September 2012

How to Configure SmarterMail 9 site in IIS7

1. Connect via Remote Desktop


2. Start > Run > services.msc


3. Right-Click SmarterMail Web Server and Select Properties 

 4. Select Disabled from the Startup type drop-down, Click Stop and Click OK 


5.Close the Services window

6.Open IIS, Start > Run > inetmgr

 7. Select your Server Name and Double-Click ISAPI and CGI Restrictions 


8. For Each ASP.NET v4.0 entry Right-Click and Select Allow 

 9. Expand your Server Name, Right-Click on Sites and Select Add Web Site 

 10.Enter a site name e.g. SmarterMail

 11.Enter Physical Path to SmarterMail installation e.g. C:\Program Files (x86)\SmarterTools\SmarterMail\MRS

 12.Enter Port 9998 and Click OK 

 13. Select Application Pools 

 14. Right-Click SmarterMail application pool and Click Advanced Settings 

 15.Select v4.0 from the .NET Framework Version drop-down

 16. Set the Managed Pipeline to Integrated 


17. SmarterMail should now be accessible at http://127.0.0.1:9998 as well as http://1.2.3.4:9998 where 1.2.3.4 is your IP address

18. For attachments to work properly ensure the Network Service and IIS IUSR users have Modify permissions for the /MailProcessing and /App_Data folders usually located in C:\Program Files\SmarterTools\SmarterMail\MRS