Subject: C#.net console application,leadtools problem on XP
Posted By: not24 Post Date: 10/25/2004 3:30:23 PM
I have C# .net console application compress image using leadtools library. I developed and tested on my machine - XP SP2, .NET Framework 1.1.4322, leadtools v13.0.1.69, and custom library that called leadtools to actually compress image.

It was work fine on my laptop but when I moved it to the server (which have XP - not SP2, .NET Framework, leadtools and custom library are same version), it didn't work. It just stop right where an application call my custom library. Same application works on Windows 2000 Server.

I'm not sure what's going on here. I'm just start coding C# for a short time. If anybody could give me suggestion, I'll appreciate it.
Reply By: pradeep_itguy Reply Date: 10/28/2004 3:24:49 AM
Check the compatibility of leadtools library with XP SP1 and XP SP2, check whether there is any issues with XP for leadtools library.

Send mail to the leadtools support regarding this issue.


It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply By: not24 Reply Date: 10/28/2004 1:49:54 PM
I did sent e-mail to the leadtools support. They said they weren't aware any problem with their .NET toolkit and XP in specific. Is there any chance that because my machine is XP SP2 compiled a problem and run on XP SP1 which older?
Reply By: pradeep_itguy Reply Date: 10/28/2004 11:26:23 PM
No It cannt be, check the version of the .NET and the Leadtools library in both the system.


It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply By: not24 Reply Date: 10/29/2004 11:20:04 AM
I did. It's same version. My machine actually installed .NET Framework 1.0 and then update to 1.1 and SP1. But the other machine installed 1.1 only. Then I uninstalled all .NET Framework on mine, restart, reinstall 1.1 only then recompiled program, tested on mine works and test run on other server. It still won't work.

I think something that I did or didn't do when I compiled. I tried to check from C# book that I have if I did something wrong, I didn't really find anything specific about what I should do before and during compiled. If you don't mind, could you suggest the way that people usually does please? It seems like a silly but I stuck with this problem for 2 weeks now. I really don't know what was wrong with it.

I really appreciate your helps.
Reply By: pradeep_itguy Reply Date: 10/31/2004 10:53:18 AM
Can you post the error message here and with project configuration you are using?


It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply By: not24 Reply Date: 10/31/2004 9:05:59 PM
It didn't show any error but I have argument to show message every step that program process something. And it just failed to load my compress image class.

My project properties is same as other programmer's project. My machine has LEAD tools installed but the server wasn't. It shouldn't make any difference, I guess since the server have other console application that also use LEAD tools still work fine.

I do appreciate you try to helps.

Here is my project properties:

1. Common Properties
1.1 General tab:
Assembly Name: (program name)
Output Type: Console Application
Default Namespace: (program name)
Startup object: (not set)
1.2 Designer Defaults:
Page layout: Grid
Target Schema: IE 5.0
Client Script Langue: JScript
1.3 References Path:
Leadtools folder
compress image lib (my custom compress image lib)
1.4 Build Events
Run the post-build event? On successful build

2. Configuration properties
2.1 Build:
Conditional compilation Constant: DEBUG;TRACE
Optimize code: false
Check for arithmetic overflow/underflow: false
Allow Unsafe Code Blocks: flase
Warning level: Warning level 4
Treat warnings as errors: false
Output path: bin\ReleaseGenerate debugging information
2.2 Debugging:
Enable ASP Debugging: false
Enable ASP.NET Debugging: false
Enable Unmanaged Debugging: false
Enable SQL Debugging: false
Debug mode: Project
Command line argements: (my arguments - server, database etc.)
Always user internet explorer: true
Enable remote debugging: false
2.3 Advance:
Incremental Build: false
Base Address: 285212672
File Alignment: 4096
Do not use MSCORLIB: false

All reference libraries set copy local to true.

Go to topic 21511

Return to index page 728
Return to index page 727
Return to index page 726
Return to index page 725
Return to index page 724
Return to index page 723
Return to index page 722
Return to index page 721
Return to index page 720
Return to index page 719