Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Loadrunner VUGen 12 -Running from Network - Error : System.IO.FileLoadException:

$
0
0

webservice scripts are running fine if we take local copy of script and run in LR VUGen 12.

 

getting below error only when we run script placed in shared network drive. 

Kindly provide solution for this issue.

 

we will be running tests in Performance center only, so will this error occur in PC also?

 

DetailedError:

System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile)

   at Mercury.LR.LrWsNetClient.FSProxyAssemblyProvider.GetProxyAssembly(String msWSDLUri, String msServiceName, String msPortName, WSDLRepository moWSDLRepository, AssemblyType eAssemblyType)

  at Mercury.LR.LrWsNetClient.WSDLRepository.GetProxyAssembly(String msWSDLUri, String msServiceName, String msPortName, AssemblyType eAssemblyType)

   at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo.LoadProxy()

   at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo..ctor(ServiceInfo service, String name)

   at Mercury.LR.LrWsNetClient.ProxyCreator.Init(String msWSDL, String msService, String msPort, INativeRepositoryApi moNativeRepository)

   at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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