Solved

"No Error Information Available" in ASP.Net

Posted on 2006-07-13
7
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

696 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