Solved

Config Elmah

Posted on 2013-12-24
2
278 Views
Last Modified: 2014-01-20
Hi,

 I am using local IIS Express with visual studio 2012 now when

 I am running the application is working fine , now i have configured

  the Elmah to log the errors , here when i run the application is working fine

 but when i check the elmah

http://localhost:4551/Elmah.axd

I am getting following error

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication'
 beyond application level.
 This error can be caused by a virtual directory not being
configured as an application in IIS.


could you please guide me on this.
0
Comment
Question by:praveen1981
  • 2
2 Comments
 

Accepted Solution

by:
praveen1981 earned 0 total points
ID: 39737861
Hi,

I found the solution ,

The problem is under the

 <location path="elmah.axd">


the following was added

<profile defaultProvider="DefaultProfileProvider">
        <providers>
          <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
        </providers>
      </profile>
     
which is not requried so , i commented it and tested

which is working fine.

           Thanks.
0
 

Author Closing Comment

by:praveen1981
ID: 39796141
working fine
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now