473,387 Members | 1,585 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,387 software developers and data experts.

1.1 com interface (I suspect) -clarified

Hi

Roy thanks for reading my post

Basically the gist is that it crashes with unhandled exception on everything
that
is not native .NET code meaning any COM interface

Bellow I repeat
++++++++++++++++++++++++++++++
I have strange things happening

I have two w2000 server

I use Studio 2003
..NET 1.1

The console program accesses credit card com pfpro and cdo thru mail package
One one server (development) everything works
on another both interfaces to com cause UNHANDLED exceptions
If I comment them out everything works

Help any ideas welcome
Thanks
Jun 22 '06 #1
2 984
Please note - it's better to reply in the original thread rather than
creating a new one to respond to a message

comcast wrote:
Hi

Roy thanks for reading my post

Basically the gist is that it crashes with unhandled exception on everything
that
is not native .NET code meaning any COM interface

Bellow I repeat
++++++++++++++++++++++++++++++
I have strange things happening

I have two w2000 server

I use Studio 2003
.NET 1.1

The console program accesses credit card com pfpro and cdo thru mail package
One one server (development) everything works
on another both interfaces to com cause UNHANDLED exceptions
If I comment them out everything works

Help any ideas welcome
Thanks


Is it the exact same version of the COM libraries installed on both
servers. Check the DLL version numbers of the DLLs which implement
them. If the DLLs are different versions, the interfaces may be subtly
different (I had a similar problem where I'd developed against the 6.3
libraries and the release machine had the 6.35 libraries).

If you're copying the COM libraries, are they being properly registered
on the second machine, and is everything they depend upon also present
on the second machine (Assuming your code runs and stays running for
some amount of time, you can use a tool such as process explorer to
discover exactly which DLLs are being loaded - then check that they all
exist on the second machine).

If neither of the above helps you, do you have any additional
information about *which* exception(s) are being thrown. Could you add
a Try/Catch block into your Main function to Catch these exceptions and
call ToString() on them to discover more information?

Damien

Jun 22 '06 #2
Damien

Thanks
First those are the same dlls
I used the same credit card package to install it
and .NET mail package uses CDO and both servers are w2k adv servers
and finally that is the problem that MAIN exception catch does NOT catch
it!!!!!

I tried all permutations:

removed CC processing and it crashed while sending email
I commented out email and it crashed on CC call

I ran out of ideas!!!!!!!!!!
"Damien" <Da*******************@hotmail.com> wrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
Please note - it's better to reply in the original thread rather than
creating a new one to respond to a message

comcast wrote:
Hi

Roy thanks for reading my post

Basically the gist is that it crashes with unhandled exception on everything that
is not native .NET code meaning any COM interface

Bellow I repeat
++++++++++++++++++++++++++++++
I have strange things happening

I have two w2000 server

I use Studio 2003
.NET 1.1

The console program accesses credit card com pfpro and cdo thru mail package One one server (development) everything works
on another both interfaces to com cause UNHANDLED exceptions
If I comment them out everything works

Help any ideas welcome
Thanks


Is it the exact same version of the COM libraries installed on both
servers. Check the DLL version numbers of the DLLs which implement
them. If the DLLs are different versions, the interfaces may be subtly
different (I had a similar problem where I'd developed against the 6.3
libraries and the release machine had the 6.35 libraries).

If you're copying the COM libraries, are they being properly registered
on the second machine, and is everything they depend upon also present
on the second machine (Assuming your code runs and stays running for
some amount of time, you can use a tool such as process explorer to
discover exactly which DLLs are being loaded - then check that they all
exist on the second machine).

If neither of the above helps you, do you have any additional
information about *which* exception(s) are being thrown. Could you add
a Try/Catch block into your Main function to Catch these exceptions and
call ToString() on them to discover more information?

Damien

Jun 22 '06 #3

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

Similar topics

9
by: Anon Email | last post by:
Hi people, I'm learning about header files in C++. The following is code from Bartosz Milewski: // Code const int maxStack = 16; class IStack
0
by: Joel Burton | last post by:
On Wed, Aug 06, 2003 at 12:55:52PM -0400, Joel Burton wrote: Reposting, with some clarification to my request. Thanks to the several responses I received originally. Yes, I know that a...
2
by: Jon Shemitz | last post by:
I'm puzzled by this, code clarified from working code IToolboxService GetToolboxService(IDesignerHost AnyDesigner) { return (IToolboxService) AnyDesigner.RootComponent.Site. GetService(...
11
by: sotto | last post by:
If i have this Interface: Public Interface MyInterface Function test() As Boolean Function test(ByVal MyVar As String) As Boolean End Interface And then i make a Public Class MyOwnClass
6
by: jason | last post by:
I found the below example online, while trying to under Interfaces. In layman's terms, can somebody explain what the purpose of this line is: void SportCharacteristics(); //LOCATED IN THE...
7
by: Anderskj | last post by:
Hi! I am developing a c# application. I have a interface (which can change therefore my problem) If i do like this: List<PropertyInfoproperties = new List<PropertyInfo>();...
5
by: Random | last post by:
How can I use reflection (or some other method) to find the type of an object that has been passed in to my method under an interface definition? I try to use GetType, but that won't work.
3
by: robert | last post by:
Hello, I trying to determine whether or not it is possible to create a web service whose methods are declared to return interfaces. I have been researching it and have found lots of hints and...
7
by: WTH | last post by:
I am now aware (I am primarily a C++ developer) that in C# if you reference the same interface from the same file in two different projects the types are actually incompatible. I found this out...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.