Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 30th, 2008, 03:44 AM
Registered User
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default accessing database(enterprisedb)

A system error has occurred. Please contact your System Administrator.

Click here to return to the previous screen.

System Message details:

Error Message: Object reference not set to an instance of an object.
Page URL: http://localhost/wgmc/forms/login.aspx
Stack Trace:
at EnterpriseDB.EDBClient.EDBCommand.ExecuteReader(Co mmandBehavior cb)
at WGMC.Framework.Data.OltpDatabases.DatabaseConnectS tring(String DatabaseID) in C:\Inetpub\wwwroot\wgmc\classes\WGMC.Framework.Dat a.vb:line 46
at WGMC.Framework.Data.OltpEngine.get_ConnectString(S tring DatabaseID) in C:\Inetpub\wwwroot\wgmc\classes\WGMC.Framework.Dat a.vb:line 99
at WGMC.Framework.Data.OltpEngine.GetDataCommand(Stri ng Sql, String DatabaseID) in C:\Inetpub\wwwroot\wgmc\classes\WGMC.Framework.Dat a.vb:line 164
at WGMC.Framework.Business.Operator.Login(String OperatorUserName, String OperatorUserPassword, Boolean& ExistsButNotActive) in C:\Inetpub\wwwroot\wgmc\classes\WGMC.Framework.Bus iness.Operator.vb:line 141
at WGMC.Controls.ucLogin.btnSubmit_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\wgmc\controls\ucLogin.ascx.vb:l ine 57
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
at System.Web.UI.Page.ProcessRequestMain()


Old May 30th, 2008, 08:18 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

That's a very nice exception message and stack trace. What do you expect us to do with it? Care to provide us with some code so we have a clue what you are having trouble with?

Old June 10th, 2008, 02:29 PM
Friend of Wrox
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india

use New to create the object and then use it

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing data from Database using Javascript shibasish_nandi Javascript How-To 1 July 30th, 2008 01:45 PM
Accessing Object of Database Sheraz Khan ASP.NET 2.0 Professional 0 August 27th, 2007 10:30 PM
Accessing the Server Database dcarroll Classic ASP Basics 2 October 13th, 2005 08:29 AM
Accessing the server Database dcarroll ASP.NET 2.0 Basics 1 October 10th, 2005 04:15 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.