Erro na geração no servidor..

May 11, 2015 at 7:56 PM
Edited May 11, 2015 at 7:57 PM
Olá,

Estou criando um projeto para gerar o boleto mas na minha maquina funciona e no servidor gera esse erro: Alguem pode me orientar?

Bradesco com a Carteira 06

Server Error in '/bb' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
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.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

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.

Stack Trace:


[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.RuntimeModule.GetTypes() +14
System.Reflection.Assembly.GetTypes() +67
BoletoNet.BancoCarteiraFactory..cctor() +65

[TypeInitializationException: The type initializer for 'BoletoNet.BancoCarteiraFactory' threw an exception.]
BoletoNet.BancoCarteiraFactory.Fabrica(String carteira, Int32 codBanco) +0
BoletoNet.BoletoBancario.set_Boleto(Boleto value) +90
bb.eklesia.com.br.vb.Page_Load(Object sender, EventArgs e) +1003
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +81
System.Web.UI.Control.LoadRecursive() +87
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1996


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249