Web interface

Concept

The web interface is the place to be for a developer or an administrator to check whether there are a lot of errors, run some statistics, check a health state of an application, check if the agents are still running, and so on.
The page is written with the idea in mind that a developer needs to be able to trace an exception and he should also be able to reproduce the exception with all the information provided in a minimal amount of time.

Installation

  • Download the OrbitOne.Elmah.Website.zip file from the downloads section
  • Extract OrbitOne.Elmah.Website.zip to your webservers c:\inetpub\wwwroot\elmah
  • Go to start
  • Run > type in "inetmgr" > OK
  • Create a new Website
elmah_webinterface_createWebsite.PNG
  • fill out the add website dialog as below
elmah_webinterface_addWebsiteDialog.PNG

Configuration

<add name="OrbitOne_ElmahConnectionString" 
	connectionString="Initial Catalog=OrbitOne_Elmah;Data Source=.\SQLExpress;Integrated Security=SSPI;" />
<profile enabled="true"
	defaultProvider="OrbitOneElmahProfileSqlProvider">
  <providers>
    <clear />
    <add name="OrbitOneElmahProfileSqlProvider" 
	type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
	connectionStringName="OrbitOne_ElmahConnectionString" 
   applicationName="OrbitOneElmah" />
  </providers>
  <properties>
    <add name="ShowBanner" 
   allowAnonymous="false" 
   type="System.Boolean" />
    <group name="SearchFilters">
		<add name="DefaultSearchFilter" allowAnonymous="true" type="OrbitOne.Elmah.Logic.ErrorSearchFilter" />
		<add name="SearchFilter1" allowAnonymous="false" type="OrbitOne.Elmah.Logic.ErrorSearchFilter" />
		<add name="SearchFilter2" allowAnonymous="false" type="OrbitOne.Elmah.Logic.ErrorSearchFilter" />

						 . . .

		<add name="SearchFilter10" allowAnonymous="false" type="OrbitOne.Elmah.Logic.ErrorSearchFilter" />
    </group>
  </properties>
</profile>
  • ConnectionString: Configure to fit your needs. Enter the server and the databasename you chose.
  • Add the Searchfilters: there are still some small bugs in there which we need to solve... but hey it’s a work in progress.

Last edited Nov 3, 2009 at 8:16 AM by wdeconinck, version 2

Comments

No comments yet.