Solved

"No Error Information Available" in ASP.Net

Posted on 2006-07-13
7
292 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:sathyav
Comment Utility
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
Comment Utility
cool
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
Comment Utility
PAQ
ee ai construct, community support moderator
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now