473,414 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

mscorlib error

Dear all,

I have created an Ole Db provider in ATL COM and I have use vb, vc++ 6.0
to create some ADO clients to test. It work well. Now, I want to create a
vb.net client which will use ado to connect to the database. However, the
strange problem occured. I try the same query in 10 times without
connection closed; however, when it execute the query forth times, error
occured and the error occur in mscorlib and the error number is 91. I have
searched in web but no information about the error number. Can any one help
me to solve this problem? Thank you for all of your help.

Alex
Nov 20 '05 #1
1 3152
Hi Alex,

What is the nature of the error number? Is it extracted from an HRESULT? Is
it what Windows API GetLastError() returns?

Have you also tried to run the provider under a debugger to see whether this
error is actually raised by the provider?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"alex002" <al**@f-technology.com> wrote in message
news:OT**************@TK2MSFTNGP10.phx.gbl...
Dear all,

I have created an Ole Db provider in ATL COM and I have use vb, vc++ 6.0
to create some ADO clients to test. It work well. Now, I want to create a vb.net client which will use ado to connect to the database. However, the
strange problem occured. I try the same query in 10 times without
connection closed; however, when it execute the query forth times, error
occured and the error occur in mscorlib and the error number is 91. I have searched in web but no information about the error number. Can any one help me to solve this problem? Thank you for all of your help.

Alex


Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom van Dijck | last post by:
Hi I'm currently in the process of writing my own mscorlib.dll, this in order to write my own Virtual Machine. Now all may seem a bit useless, but I'd like to use C# as scripting for our game...
6
by: mccoyn | last post by:
I have a header that is included from some files that use mscorlib and some that don't use it. One of the macros in this file uses the __pin keyword. When this header is compiled with a source file...
4
by: Alonso | last post by:
Hola amigos, Me he creado una biblioteca de clases y dentro una clase (Class1) que hereda de System.EnterpriseServices.ServicedComponent. En la clase he creado una función de tipo System.Guid y...
0
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency...
4
by: Earl | last post by:
Created a .dll to use in multiple projects. Very simple, one class to return a purpose for a particular version. But when I added it as a reference to one of my other projects, I get a build error...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
0
by: qiang | last post by:
Hi everyone, Could you please take a look at an exception for ASP.NET application? My ASP.NET application is using Infragistics WebChart control. I encounter an exception below when...
0
by: richlm | last post by:
I downloaded the Spy++ sample from http://msdn.microsoft.com/msdnmag/issues/06/04/ManagedSpy/ It works and builds fine on my desktop PC (which is a recent clean install of XP + Visual Studio...
0
by: catharticmomentusenet | last post by:
Hi, I'm receiving the error message: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2708) This seems to be associated with the line of code: #import...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.