Base solution for your next web application
Open Closed

Stream reading error #1447


User avatar
0
guillaumej created

I have exactly this same error : Exception Details: System.InvalidOperationException: Timeouts are not supported on this stream. #1426

My case is an application Service having a stream Parameter System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) Abp.Runtime.Validation.Interception.MethodInvocationValidator.ValidateObjectRecursively(Object validatingObject) Abp.Runtime.Validation.Interception.MethodInvocationValidator.ValidateMethodParameter(ParameterInfo parameterInfo, Object parameterValue) Abp.Runtime.Validation.Interception.MethodInvocationValidator.Validate() Abp.Runtime.Validation.Interception.ValidationInterceptor.Intercept(IInvocation invocation) Castle.DynamicProxy.AbstractInvocation.Proceed() Castle.Proxies.ProduitServiceProxy.ImportProducts(Stream imports) Lako.Tests.ServicesLako.ProduitsTest.ImportProducts() ProduitsTest.cs: line: 38

as you can see, it's during an unit test on an Application service.

Thanks !


1 Answer(s)
  • User Avatar
    0
    guillaumej created

    I solved my problem using [DisableValidation] on my method.