O problema que é um erro bem genérico. Tenho certeza de que algo basico que não estou sabendo,já que sou novo no windows forms.
Faço setup instalo na minha maquina funciona em outras não funciona. todas as maquinas estao com framework.
Provaelmente tenha que incorporar algo ao setup ou algo ao sistema. Todas dll's que ele reclamou no início ja foram adicionadas no setup.
Segue erro:
Consulte o final desta mensagem para obter detalhes sobre como chamar a
depuração just-in-time (JIT) em vez desta caixa de diálogo.
************** Texto de Exceção **************
System.Reflection.ReflectionTypeLoadException: Não é possível carregar um ou mais dos tipos solicitados. Recupere a propriedade LoaderExceptions para obter mais informações.
em System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
em System.Reflection.RuntimeModule.GetTypes()
em System.Reflection.Assembly.GetTypes()
em System.Data.Metadata.Edm.ObjectItemConventionAssemblyLoader.LoadTypesFromAssembly()
em System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load()
em System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData)
em System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage, Object& loaderCookie, Dictionary`2& typesInLoading, List`1& errors)
em System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage)
em System.Data.Metadata.Edm.ObjectItemCollection.ImplicitLoadAssemblyForType(Type type, EdmItemCollection edmItemCollection)
em System.Data.Metadata.Edm.MetadataWorkspace.ImplicitLoadAssemblyForType(Type type, Assembly callingAssembly)
em System.Data.Objects.ObjectContext.GetTypeUsage(Type entityCLRType)
em System.Data.Objects.ObjectContext.GetEntitySetForNameAndType(String entitySetName, Type entityCLRType, String exceptionParameterName)
em System.Data.Objects.ObjectContext.CreateObjectSet[TEntity](String entitySetName)
em acprocessosrh.SAPAEntities.get_Processos() na Z:\AC DE PROCESSOS\fontes\acprocessosrh\acprocessosrh\ModelSAPAPoco.Context.cs:linha 53
em acprocessosrh.frmManProcesso.loadDataGrid() na Z:\AC DE PROCESSOS\fontes\acprocessosrh\acprocessosrh\frmManProcesso.cs:linha 163
em acprocessosrh.frmManProcesso.frmManProcesso_Load(Object sender, EventArgs e) na Z:\AC DE PROCESSOS\fontes\acprocessosrh\acprocessosrh\frmManProcesso.cs:linha 21
em System.Windows.Forms.Form.OnLoad(EventArgs e)
em System.Windows.Forms.Form.OnCreateControl()
em System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
em System.Windows.Forms.Control.CreateControl()
em System.Windows.Forms.Control.WmShowWindow(Message& m)
em System.Windows.Forms.Control.WndProc(Message& m)
em System.Windows.Forms.ScrollableControl.WndProc(Message& m)
em System.Windows.Forms.Form.WmShowWindow(Message& m)
em System.Windows.Forms.Form.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblies Carregados **************
mscorlib
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
acprocessosrh
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Arquivos%20de%20programas/CICAN/SetupSAPA/acprocessosrh.exe
----------------------------------------
System.Windows.Forms
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Autenticacao
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Arquivos%20de%20programas/CICAN/SetupSAPA/Autenticacao.DLL
----------------------------------------
System.DirectoryServices
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
System.Windows.Forms.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Core
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Data.Entity
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
----------------------------------------
System.Data
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Configuration
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Numerics
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.OracleClient
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data.OracleClient/v4.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
----------------------------------------
System.Web
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Xml.Linq
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.xml.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
System.Data.DataSetExtensions
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
mscorlib.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
************** Depuração JIT **************
Para habilitar a depuração just-in-time (JIT), o arquivo .config deste
aplicativo ou computador (machine.config) deve ter o valor
jitDebugging definido na seção system.windows.forms.
O aplicativo também deve ser compilado com a depuração
habilitada.
Por exemplo:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando a depuração JIT está habilitada, qualquer exceção sem tratamento
será enviada ao depurador JIT registrado no computador,
em vez de ser tratada nesta caixa de diálogo.
Everton Pacheco
Analista de Sistemas para Internet - UNIFACS
Pós Graduando em Banco de Dados com Ênfase em Alta Disponibilidade - UNIFACS
Fone: (71) 9961-3442
Em 15 de abril de 2011 00:02, MayogaX
<mayum...@gmail.com> escreveu:
modelcontext?
pesquisa pelo erro no google.
Muitos problemas eu resolvi assim... sempre dá erro, mas graças a Deus
os erros foram documentados, saca?
On 14 abr, 17:21, Everton Pacheco <
evertonpacheco...@gmail.com> wrote:
> OI pessoal,
> ô eu aqui incomodando novamente. Seguinte: contruir uma aplicação windows
> forms. Montei um setup e fiz o deploy em dua maquinas. Quando executo ele
> dar um erro dizendo que conseguiu carregar um monte modulo, inclusive meu
> modelcontext entities. Alguém ja passou por isso?
>
> --
> *Everton Pacheco
> Analista de Sistemas para Internet - UNIFACS*
> *Pós Graduando em Banco de Dados com Ênfase em Alta Disponibilidade -
> UNIFACS
> Fone: (71) 9961-3442*
> *E-mail: evertonpacheco...@gmail.com
>
> *