Tuesday, September 6, 2016

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map

Recently i faced this issue.

After performing the below actions , this issue got resolved


Check #1: Make sure IIS installed correctly  else install the IIS Server extensions  etc.. as specified below

  • Click on next and install 
  • Restart the IIS
This will fix your issues.

Tuesday, August 2, 2016

This applet displays a file-tree of the server to enable the user to browse its contents. Your browser is not configured correctly to use java applets. Please install the Java Runtime Environment (JRE) and be sure to install the browser plugins

Usually you get this error when the Java Run time environment does not configured correctly. Recently i have also got this error when i am configuring the cold fusion.

Follow the below steps to fix the issue

Step#1: Make sure you install the jre in the machine
                 Click here  to download the jre

Step #2: Follow these below instructions to enable Java applets though your Web browser.

Internet Explorer
  • Click Tools and then Internet Options
  • Select the Security tab, and select the Custom Level button
  • Scroll down to Scripting of Java applets
  • Make sure the Enable radio button is checked
  • Click OK to save your preference

  • Open the Firefox browser or restart it, if it is already running
  • From the Firefox menu, select Tools, then click the Add-ons option
  • In the Add-ons Manager window, select Plugins
  • Click Java (TM) Platform plugin (Windows) or Java Applet Plug-in (Mac OS X) to select it
  • Check that the option selected is Ask to Activate or Always Activate or on older Firefox versions, click on the Enable button (if the button says Disable, Java is already enabled)


Wednesday, July 13, 2016

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

You will get this error when your not defined Features Delegations correctly  in the IIS . 

Solution :

You can Fix the issue by configuring the Feature delegation as specified below

-> Got to IIS
-> Go to Features View
->Click on the Feature Delegation
->Update the  Below values  with New Delegations

Old Delegation
New Delegation
Read only
Authentication- Windows
Read only
Not delegated
Advanced Logging

Not Delegated

Now restart the IIS 
You can find more information  from here

Tuesday, June 7, 2016

.NET coding standards and best practices

                             Few months back, I gathered best coding standards for .NET Developers, and a lot of people found it useful. So, I thought about putting together a list of Coding Standard guidelines/checklists in one single document.

                            As you may already know, it is easy to come up with a document - the key is in following these standards in across the organization, through methods like internal trainings, Peer Reviews, Check in policies, Automated code review tools etc. You can have a look at FxCop and/or StyleCop for automating the review process to some extent, and can customize the rules based on your requirements.

Wednesday, May 11, 2016

Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

                                         You will get this error when the Report viewer installed incorrectly or missing in the system

Solution :     
Download the Report Viewer installer from below link and this will fix the error

Report viewer 2008 installer link

Wednesday, April 13, 2016

How to Force Visual studio to run always in Administrator Mode

                                             Hmm..Every day when I run the visual studio , by default it does not run in Administrator mode. We need to select "run as administrator" every time.I feel it is a kind of routine task. Here is the two possible solutions to avoid this issue.

Solution #1:

Windows 7:

 1. Go to Start menu
 2. Right click the Visual Studio icon
 3. Go to Properties
 4. Under the Shortcut tab select Advanced

5) Check Run as administrator as specified below 

Follow the below instructions for Windows 8:

 1. Choose "Troubleshoot program"
 2. Verify "The program requires additional permissions"
 3. Click on  "Next", and then click  on "Test the program..."
 4. wait for the program to launch
 5. click on "Next"
 6. select "Yes, save these settings for this program"
 7.Click on  "Close"


    You can also download VSCommands by Squared Infinity which has a feature to change it to run as admin It has also has some additional features. Please check it once .

My Recommendation:

I prefer Solution#2 because:
• It also allows you to easily turn off this functionality.
• VSCommands comes with lots of other great features so I always have it installed anyways.
it's just easier to do than Solution#2.

Friday, March 18, 2016

Memory gates checking failed because the free memory (373817344 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

         I had this problem when i am trying to run the WCF services project in local . It mostly happens when the  Memory gates checking failed due to the free memory  is less than  of total memory

        As a outcome, the service will not be available for taking the  incoming requests. To fix this issue, either reduce the load on the machine or set the zero value for minFreeMemoryPercentageToActivateService in the web.config as specified below