Solved

"No Error Information Available" in ASP.Net

Posted on 2006-07-13
7
304 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Make an ajax call ithat alters url and updates a listview in asp.net 1 35
imap mails 1 23
Footer for each row on Gridview 2 21
Winform Module - What is the ASP.Net equiv 2 22
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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