Quantcast
Channel: Microsoft SQL Server Community Samples: Integration Services
Viewing all articles
Browse latest Browse all 582

Created Issue: System.TypeInitializationException [18401]

$
0
0
Hello, I get the following message when trying to run my package in Production.

The component has detected potential metadata corruption during validation.
Error at DFT - Leer parametros de NODOS desde Sharepoint [SPL - Acceder a lista de NODOS en Sharepoint [1]]: System.TypeInitializationException: The type initializer for 'System.ServiceModel.DiagnosticUtility' threw an exception. ---> System.MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)
at System.ServiceModel.DiagnosticUtility.InitDiagnosticTraceImpl(TraceSourceKind sourceType, String traceSourceName)
at System.ServiceModel.DiagnosticUtility.InitializeTracing()
at System.ServiceModel.DiagnosticUtility..cctor()
--- End of inner exception stack trace ---
at System.ServiceModel.DiagnosticUtility.get_ShouldUseActivity()
at System.ServiceModel.Channels.CommunicationObject.set_TraceOpenAndClose(Boolean value)
at System.ServiceModel.ChannelFactory`1..ctor(Type channelType)
at System.ServiceModel.ChannelFactory`1..ctor(Binding binding, EndpointAddress remoteAddress)
at System.ServiceModel.ClientBase`1..ctor(Binding binding, EndpointAddress remoteAddress)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.ResetConnection()
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.InitializeObject(Uri sharepointUri, NetworkCredential credential)
at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ValidateSharePointColumns()
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate()
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper90 wrapper)

Viewing all articles
Browse latest Browse all 582

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>