Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 25th, 2004, 03:30 PM
Authorized User
 
Join Date: Jun 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default C#.net console application,leadtools problem on XP

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.
 
Old October 28th, 2004, 03:24 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old October 28th, 2004, 01:49 PM
Authorized User
 
Join Date: Jun 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
 
Old October 28th, 2004, 11:26 PM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old October 29th, 2004, 11:20 AM
Authorized User
 
Join Date: Jun 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old October 31st, 2004, 11:53 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old October 31st, 2004, 10:05 PM
Authorized User
 
Join Date: Jun 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Console application but no Console gamotter C# 2 August 22nd, 2007 11:41 PM
httpresponse in console application in VB.NET 1.1 bhavna VS.NET 2002/2003 1 March 21st, 2007 06:30 AM
Printing from console application pilgrim7993 BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 December 16th, 2006 05:39 AM
Console Application digby_dog VB.NET 2002/2003 Basics 2 April 29th, 2005 10:52 AM
Console application and web application nsrujan ASP.NET 1.0 and 1.1 Basics 1 April 16th, 2005 10:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.