Solved

"No Error Information Available" in ASP.Net

Posted on 2006-07-13
7
307 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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