Solved

Config Elmah

Posted on 2013-12-24
2
300 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

734 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