Coder Social home page Coder Social logo

pgsqlerrorlog's Introduction

ELMAH README

Please read this document carefully before using this release of ELMAH as it contains important information.

For peer help and support, vists the ELMAH Discussion Group. Report bugs and issues to the issue tracker on the project site. Avoid using the issue tracker to seek help with problems you are experiencing in installing or running ELMAH. That is what the discussion group is for.

The best way to get started with ELMAH is to take it for a spin by launching the supplied demo Web site. Simply go the root of your ELMAH distribution and execute the demo.cmd script. The demo Web site requires Microsoft .NET Framework 2.0.

Version 1.0 BETA 3 Notes

Upgrading from ELMAH 1.0 BETA 2(a)

Microsoft SQL Server Error Log

If you are using the Microsoft SQL Server (2000 or later) for your error log then you should re-create the stored procedures found in the supplied SQL script (see SQLServer.sql). The script does not contain DDL DROP or ALTER statements so you will have to drop the stored procedures manually before applying the CREATE PROCEDURE parts of the script. Other than that, there have been no changes to the schema since BETA 2a so existing data in your logs can be left as it is.

Oracle Error Log

The Oracle error log is new in BETA 3, but if you have been compiling ELMAH from sources between BETA 2 and 3 and using Oracle for your error log then you should re-create the ELMAH$Error table, its indicies and related packages using the supplied SQL script (see Oracle.sql in your distribution). The script does not contain any DROP statements so you will have to drop the table and package manually before applying the script. If you wish to preserve the logged error data, you should consider archiving it in a backup. Please read the comments in this script file carefully for hints on users and synonyms. NB The original package has now been split in two to aid in securing the database in enterprise scenarios.

VistaDB Error Log

The VistaDB error log is new in BETA 3, but if you have been compiling ELMAH from sources between BETA 2 and 3 and using VistaDB for your error log then you should delete the .vdb3 file and allow it to be re-created.

Microsoft Access Error Log

The Access error log is new in BETA 3, but if you have been compiling ELMAH from sources between BETA 2 and 3 and using Access for your error log then you should delete the .mdb file and allow it to be re-created.

Version 1.0 BETA 2(a) Notes

Upgrading from GDN-ELMAH or ELMAH 1.0 BETA 1

The configuration sections and entries have changed slightly if you are using GDN-ELMAH, which is the original that was released on GotDotNet. Consult the samples/web.config file to see examples of how the configuration looks like now.

If you are using the Microsoft SQL Server for your error log then you should re-create the ELMAH_Error table, its indicies and related stored procedures using the supplied SQL script (see Database.sql in your distribution). The script does not contain DDL DROP statements so you will have to drop the table and stored procedures manually before applying the script. If you wish to preserve the logged error data, you should consider archiving it in a backup.


$Revision: 511 $

pgsqlerrorlog's People

Contributors

atifaziz avatar iboware avatar laimis avatar

Watchers

 avatar  avatar  avatar

Forkers

iboware mochitoto

pgsqlerrorlog's Issues

Error Details page does not work with Npgsql 3.x (Postgre)

This issue has been moved here from elmah/Elmah#427 and originally reported by @iboware.

Postgre connection doesn't work with Npgsql 3.x. It connects and error list is visible, but the problem occurs only when you wanted to see the detail of an error.
Error: 42883: operator does not exist: character = uuid
Possible fix: npgsql/npgsql#1304

image

Additional information about the bug, it seems that bug exists since 2015:
npgsql/npgsql#753 (comment)

By changing the type of errorid column to uuid, I got it working with the existing code. Here is the DDL for elmah_error table:

CREATE TABLE public.elmah_error (
	errorid uuid NOT NULL,
	application varchar(60) NOT NULL,
	host varchar(50) NOT NULL,
	"type" varchar(100) NOT NULL,
	"source" varchar(60) NOT NULL,
	message varchar(500) NOT NULL,
	"User" varchar(50) NOT NULL,
	statuscode int4 NOT NULL,
	timeutc timestamp NOT NULL,
	"sequence" int4 NOT NULL DEFAULT nextval('elmah_error_sequence'::regclass),
	allxml text NOT NULL,
	PRIMARY KEY (errorid)
)
WITH (
	OIDS=FALSE
) ;
CREATE INDEX ix_elmah_error_app_time_seq ON elmah_error USING btree (application, timeutc DESC, sequence DESC) ;

Data loading error

Hi,
Elmah errors page is empty with Data loading error message even when elmah_error table has rows on the database.
Using docker image arm64v8/postgres.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.