473,569 Members | 2,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sporadic errors when calling DLLs

I have a vb.net app that calls an "old" DLL that does some math (map
coordinate transformations ), declared with an old fasioned declare statement
in my code.

Sometimes, but very rarely, the call fails with a COMException.
On the last dataset it failed 33 out of a total 4011085709 (4 billion)
calls.
My code catches the exception and tries one more time. Then it usually
works.

There is no information in the exception object that can tell me more about
what's wrong, as far as I can see.
When the exception occurs, and I run the code again with exactly the same
data input, it may go just fine, or maybe not. It's impossible to know.

Any help / hints would be appreciated!
Helge

Jul 21 '05 #1
0 1066

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

Similar topics

0
1368
by: Bob Murdoch | last post by:
I'm receiving a sporadic error: "The remote procedure call failed and did not execute", when calling the following page: <%@ language="JavaScript" %> <% var vPath = Server.MapPath('/btrc/shared/server/files') + '\\'; Response.AddHeader('Content-Disposition','attachment;filename=' + Request('FileName'));...
8
6012
by: Don Miller | last post by:
I've been extensively modifying a web application (ASP, COM+) to take advantage of the XMLHTTP object for asynchronous requests (e.g. Ajax) on my dev machine (Win2KPro). I test the application from another machine on the network (or using IE, Firefox, etc. on the same machine). Everything seems to work fine (no errors anywhere) and the web...
3
1717
by: fred bliss | last post by:
Hi All We have a new server running the latest framework, windows server 2003 & IIS 6.0, and we're getting the following error when we try to load the app in IE. Server Error in '/webreporting' Application. ----------------------------------------------------------- ---------------------
0
1505
by: Victor Alcazar | last post by:
Our ASP.NET (VB) is generating sporadic "Unable to validate data" and "Invalid length for a Base-64 char array" errors. The production environment is two Windows 2000 Advanced Servers in a web farm. The <machinekey> web.config element has its validationKey (128 char hex) and decryptionKey attributes set. They are identical on both web...
3
4262
by: POL8985 | last post by:
The application is developed in ASP.Net with a SQL Server database. Essentially, the application uses a single shared Connection object for all users logged into the system. The connection object is opened/closed for each transaction. The error - System.IndexOutOfRangeException: Cannot find table 0 - occurs on one page that accepts a...
3
1313
by: sameer | last post by:
Hi All, i have an asp.net application which has got sql server 2000 behind the scenes. Very simple application, all it does is extract the data from the databse and display it in the grid. But randomly when i access my website in productin ,i get this error mentioned below but when it hit on refresh the website comesup. My website is...
0
256
by: Helge | last post by:
I have a vb.net app that calls an "old" DLL that does some math (map coordinate transformations), declared with an old fasioned declare statement in my code. Sometimes, but very rarely, the call fails with a COMException. On the last dataset it failed 33 out of a total 4011085709 (4 billion) calls. My code catches the exception and tries...
0
1474
by: Gregory Gadow | last post by:
We have a number of development machines in our IT department, all running the same version of VS 2005 sp 1. Our company website and several compiled components were all written in VB.Net 2.0 using one of those machines, our "main dev." When I pull up the website in the VS IDE on that one machine, everything is fine. On any of the other...
3
1625
by: Daniel Rindt | last post by:
Hello List, i hope to find an answer here, my problem is that my Webserver sporadic offers php scripts for download. I search with google and find some issues belonging to php version 4.x and not to my version. Im using php-5.1.6-1.1 (mod_php) with httpd-2.0.54-10.4 and can not find informations belonging to my versions. so i hope someone...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7673
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.