Solved

Config Elmah

Posted on 2013-12-24
2
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

626 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