Solved

"No Error Information Available" in ASP.Net

Posted on 2006-07-13
7
306 Views
Last Modified: 2007-12-19
Hi

I have developed a small module in asp.net. I have moved to Win 2000 Server. After giving permissions on sybase folder, if i run that module, i am getting a error message 'No Error Information Available'

Please tell me how to solve it.

Regards

Sathya
0
Comment
Question by:sathyav
7 Comments
 
LVL 12

Expert Comment

by:deanvanrooyen
ID: 17102550
by module is this a web site?

have you got try catch blocks around the code? trye put a text box on the page and set the text to the error message in the catch block.

What are you trying to do? open the sybase database?
0
 
LVL 25

Expert Comment

by:nauman_ahmed
ID: 17103941
Check the Windows Event Log. It may contain the detailed error information. You can find Event Log in Administrative Tools.

-Nauman.
0
 

Author Comment

by:sathyav
ID: 17105982
Hi

1. The default website is attached with Intranet website. This project is created using virtual directory under the default website.

2. I do not know how to set the error in textbox. Actually i am logging in to the software using login screen. When connection is opening, i am getting this error.

3. I am trying connect asp.net with Adaptive server anywhere Ver 7.

4. I checked the event log, I did not find any errors.

The following Error message is coming
---------------------------------------------------------------------
No error information available: E_FAIL(0x80004005).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: No error information available: E_FAIL(0x80004005).

Source Error:

Line 52:         Dim MYConnstring As String = System.Configuration.ConfigurationSettings.AppSettings("stage")
Line 53:         Dim myConnection As New OleDb.OleDbConnection(MYConnstring)
Line 54:         myConnection.Open()
Line 55:         Dim mySelectQuery As String = "SELECT User_name, user_password FROM user_perm_mis " + _
Line 56:                                       " where user_id = '" + Trim(TextBox1.Text) + "' and user_password = '" + Trim(TextBox2.Text) + "'"
 

Source File: c:\inetpub\wwwroot\OrderStatus\default.aspx.vb    Line: 54

Stack Trace:

[OleDbException (0x80004005): No error information available: E_FAIL(0x80004005).]
   System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
   System.Data.OleDb.OleDbConnection.InitializeProvider() +57
   System.Data.OleDb.OleDbConnection.Open() +203
   OrderStatus._default.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\OrderStatus\default.aspx.vb:54
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Please give your suggestion.

Regards

Sathya
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:sathyav
ID: 17106165
Hi All

The Problem is Solved by Myself. I have installed ADO.Net Provider for Adaptive Server Any where and it is solved.

Thanks to you for giving a lot of support always.

Hi Moderators

The Problem is solved. Please arrange to make refund for my points.

Regards

Sathya
0
 
LVL 12

Expert Comment

by:deanvanrooyen
ID: 17110154
cool
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17489551
PAQ
ee ai construct, community support moderator
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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