Loading...

Error when I deploy to the server

General discussions about GdPicture.NET.

Error when I deploy to the server

Postby bryanm » Fri May 07, 2010 8:46 pm

Hi,
I have a web application that works fine, however when I deploy it to my server, it throws the following error, even though the file is there.
I get the following error
Could not load file or assembly 'GdPicture.NET.barcode.1d.writer' or one of its dependencies. An attempt was made to load a program with an incorrect format.
bryanm
 
Posts: 11
Joined: Sun Nov 08, 2009 2:14 pm

Re: Error when I deploy to the server

Postby Loïc » Sat May 08, 2010 10:11 am

Hi,

Did you copy the GdPicture.NET.barcode.1d.writer.dll into the same folder as GdPicture.NET.dll ?

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Error when I deploy to the server

Postby bryanm » Sat May 08, 2010 11:47 am

Hi Loic,
yes I did, even though I'm not even using it in this particualr project
bryanm
 
Posts: 11
Joined: Sun Nov 08, 2009 2:14 pm

Re: Error when I deploy to the server

Postby Loïc » Sat May 08, 2010 1:01 pm

Hi,

Please give me the exact version of both of these dlls (with windows right-click -> properties).

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Error when I deploy to the server

Postby bryanm » Sat May 08, 2010 1:13 pm

barcode is 1.0.0.2
and gdpicture is 6.7.0.0

The server is an essential business server 2008 64-bit if that impacts on it, but I did try and compile for x86 and for any
bryanm
 
Posts: 11
Joined: Sun Nov 08, 2009 2:14 pm

Re: Error when I deploy to the server

Postby Loïc » Sat May 08, 2010 1:25 pm

Ok dude !

Well, you can check this:

- Your project is target to x86 processor
- You project, GdPicture.NET.dll & GdPicture.NET.barcode.1d.writer.dll are targeted to the same framework version
- Your project doesn't links GdPicture.NET.barcode.1d.writer.dll
- You are redistributing the same GdPicture.NET.dll version as your application links in your development computer
- You correctly installed the .NET framework version as your project is targeted for


If there is no confidential issue, you can send me your app at esupport (at) gdpicture (dot) com for quick investigation.

You are just running in a conflict version.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Error when I deploy to the server

Postby RonKStahl » Tue Oct 19, 2010 2:41 am

Did you find a solution for this problem? I am having the exact same problem with the same version of DLL's. It only happens on 64bit servers/workstaions.

thanks
Ron
RonKStahl
 
Posts: 2
Joined: Tue Oct 19, 2010 2:34 am

Re: Error when I deploy to the server

Postby Loïc » Tue Oct 19, 2010 8:10 am

Ron, the solution is on my previous post... There is nothing more to do.

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Error when I deploy to the server

Postby RonKStahl » Tue Oct 19, 2010 4:34 pm

I whish it was that simple. But this does not happen on all 64bit machines. Last night I tested this on our 64bit server and the application runs fine using the same installation file. So, do you have any idea as to why on some machines this does not work?

Thanks
Ron
RonKStahl
 
Posts: 2
Joined: Tue Oct 19, 2010 2:34 am

Re: Error when I deploy to the server

Postby Loïc » Tue Oct 19, 2010 4:58 pm

Hi Ron,

No idea. Probably something is missing in your installation project.
GdPicture.NET can be simply deployed in "xcopy" way. So the problem is away but without more information I can't give more help.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest