Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

lumiere

Como configurar o generate serialization assembly

Recommended Posts

Como configurar o generate serialization assembly...

Preciso acessar um web service via Stored Procedure, mas dá erro:

 

Msg 6522, Level 16, State 1, Procedure spChamarWsConsultaCPF, Line 0
A .NET Framework error occurred during execution of user-defined routine or aggregate "MinhaProcedure": 
System.InvalidOperationException: Cannot load dynamically generated serialization assembly. In some hosting environments assembly load functionality is restricted, consider using pre-generated serializer. Please see inner exception for more information. ---> System.IO.FileLoadException: LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host.
System.IO.FileLoadException: 
   at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection)
   at System.Reflection.Assembly.Load(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence securityEvidence)
   at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
   at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.Compi
leAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
   at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources
Então fui tentar configurar o generate serialization assembly porém não aparece essa opção em Propriedades da minha Solution...

Alguém sabe como?

 

Tks

Compartilhar este post


Link para o post
Compartilhar em outros sites

lumiere,

 

de uma olhada neste artigos para ver se te ajudam:

http://support.microsoft.com/kb/948233/pt

http://www.linhadecodigo.com.br/ArtigoImpressao.aspx?id=1330

 

Estes dois me ajudaram a resolver este problema.

 

http://msdn.microsoft.com/pt-br/library/bb293147.aspx

Este é só uma referencia.

 

Abçs

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.