[ Neznalica_sa_ugla @ 16.03.2012. 12:56 ] @
Htio bi da koristim itextsharp , za stvaranje pdf dokumenata i to fino radi lokalni ,ali na serveru neće , Stavio sam u web.config što treba i prijav mi ovakvu grešku.::
Code:

Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca'
 or one of its dependencies. The module was expected to contain an assembly manifest.

Da li ko može pomoći savjetom ???
[ deerbeer @ 16.03.2012. 13:00 ] @
Verovatno referencira neki .net assembly tj. noviju verziju .net koja ne postoji na serveru .
Pogledaj sta imas od .net frameworka- na hostingu i uskladi je sa itextsharp-om sto ce reci ili recompile celog lib-a ili da uradis upgrade .net-a na serveru
[ Neznalica_sa_ugla @ 17.03.2012. 14:46 ] @
Nije baš pomoglo . Evo cijele greške..
Code:




Server Error in '/' Application.
Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. 
The module was expected to contain an assembly manifest.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information 
about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding 
the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'itextsharp, Version=5.1.1.0,
Culture=neutral, PublicKeyToken=8354ae6d2174ddca' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Stack Trace:

[BadImageFormatException: Could not load file or assembly 'itextsharp, Version=5.1.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' 
or one of its dependencies. The module was expected to contain an assembly manifest.]
   bzp.bzp_ponuda.Page_Load(Object sender, EventArgs e) +0
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

[ deerbeer @ 28.03.2012. 18:47 ] @
Problem je sa tom kontrolom to sto je ona na lokalnoj masini referencira neke dll-ove u GAC-u v
Moras da ih pronaci i iskopirati u bin folder na serveruv
[ Neznalica_sa_ugla @ 29.03.2012. 22:04 ] @
Pa ona mi je jednako u Bin , na lokalnom i na serveru .. Još nisam rješio problem
[ Neznalica_sa_ugla @ 10.04.2012. 22:08 ] @
Ima li ko ideju šta raditi koda ovo vid?????????
[ deerbeer @ 10.04.2012. 22:40 ] @
Probaj u references u projektu na taj FreeTextBox dll da postavis Copy-Local = True u property dijalogu.
Uradi Rebuild projekta kod sebe na masini pa vidi sta sve ima u bin folderu i uporedi ga sa serverskim bin-om.
Kopirati dodate fajlove koji se pojave u serverski bin folder ako fali.

Ako to ne pomogne onda je u pitanju verovatno developer-licence te kontrole i ne mozes je besplatno koristiti na serveru tj. online.
[ Neznalica_sa_ugla @ 12.04.2012. 16:45 ] @
Najjednostavnije promjenuti hosting .... i rešen problem, ..