error building from extension

2 posts, 0 answers
  1. Developers
    Developers avatar
    3 posts
    Member since:
    Mar 2013

    Posted 04 Sep 2015 Link to this post

    Hi,

    I am triying to build from the VS extension.

    I need to remove one file from App_Resources/Android. Thats seems to be impossible from the windows client so I have tried the extension but not works.

    everytime I try to build I receive this error:

     

    C:\Users\User\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\1c440ng1.bn4\Targets\Build.targets(162,3): error : Build failed: Se han producido uno o varios errores..
    System.AggregateException: Se han producido uno o varios errores. ---> System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: No se puede escribir datos de en la conexión de transporte: La conexión se cerró.
       en System.Net.Http.Internal.AsyncResult.End[TAsyncResult](IAsyncResult result)
       en System.Net.Http.Handlers.ProgressStream.EndWrite(IAsyncResult asyncResult)
       en System.Net.Http.StreamToStreamCopy.BufferWrittenCallback(IAsyncResult ar)
       --- Fin del seguimiento de la pila de la excepción interna ---

    Server stack trace: 


    Exception rethrown at [0]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpClientHandlerBase.<GetRequestStreamCallback>d__1.MoveNext()

    Exception rethrown at [1]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.ProxyAuthenticatingHttpClientHandlerBase.<SendAsync>d__0.MoveNext()

    Exception rethrown at [2]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.TimeoutHandler.<SendAsync>d__1b.MoveNext()

    Exception rethrown at [3]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.<ProcessRequestAsync>d__11.MoveNext()

    Exception rethrown at [4]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

    Exception rethrown at [5]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

    Exception rethrown at [6]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadProjectAsync>d__2a.MoveNext()

    Exception rethrown at [7]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadAndConfigurePackageAsync>d__1f.MoveNext()

    Exception rethrown at [8]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<SyncProjectFilesAsync>d__3a.MoveNext()
       --- Fin del seguimiento de la pila de la excepción interna ---
       en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       en System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       en System.Threading.Tasks.Task`1.get_Result()
       en Telerik.BlackDragon.Client.Build.CloudSync.ExecuteCore(IHttpServiceContext httpServiceContext, LogHelper logger)
       en Telerik.BlackDragon.Client.Build.CloudTaskBase.ExecuteCore()
    ---> (Nº de excepción interna 0) System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: No se puede escribir datos de en la conexión de transporte: La conexión se cerró.
       en System.Net.Http.Internal.AsyncResult.End[TAsyncResult](IAsyncResult result)
       en System.Net.Http.Handlers.ProgressStream.EndWrite(IAsyncResult asyncResult)
       en System.Net.Http.StreamToStreamCopy.BufferWrittenCallback(IAsyncResult ar)
       --- Fin del seguimiento de la pila de la excepción interna ---

    Server stack trace: 


    Exception rethrown at [0]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpClientHandlerBase.<GetRequestStreamCallback>d__1.MoveNext()

    Exception rethrown at [1]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.ProxyAuthenticatingHttpClientHandlerBase.<SendAsync>d__0.MoveNext()

    Exception rethrown at [2]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.TimeoutHandler.<SendAsync>d__1b.MoveNext()

    Exception rethrown at [3]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.ServerClient.HttpServiceContext.<ProcessRequestAsync>d__11.MoveNext()

    Exception rethrown at [4]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

    Exception rethrown at [5]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en OperationExecutorExtensions.<ExecuteAsync>d__0`1.MoveNext()

    Exception rethrown at [6]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadProjectAsync>d__2a.MoveNext()

    Exception rethrown at [7]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<UploadAndConfigurePackageAsync>d__1f.MoveNext()

    Exception rethrown at [8]: 
       en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       en Telerik.BlackDragon.Client.Build.Services.BuildService.<SyncProjectFilesAsync>d__3a.MoveNext()<---

    Compilación del proyecto "FEB.iceproj" terminada -- ERROR.

    ERROR al compilar.

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 09 Sep 2015 Link to this post

    Hi,

    I believe the cause for the issue comes from an unsupported file type included in your project. Can you please make sure that the project doesn't include any .bat files. Further, please have a look at the requirements for file and folder names and make sure that your project files comply with them.

    With our upcoming releases we will improve the error messaging in the AppBuilder extension for Visual Studio so you can receive more specific information when an internal server error occurs during the build.

    If you can't find any unsupported files in your project and you belie the cause for the issue lies elsewhere, we will need you to open a support ticket with the following attachments:
    • A capture of the HTTP requests AppBuilder performed on your side. You can gather those using Fiddler:
      • Download Fiddler from here and install it.
      • Run Fiddler and go to Tools -> Fiddler Options.
      • On the HTTPS page, verify that Capture HTTPS Connects is enabled.
      • Verify that Decrypt HTTPS traffic is enabled with the ...from all processes option and minimize Fiddler to tray.
      • Run your AppBuilder client and perform the operations that failed
      • In Fiddler, go to File -> Save -> All Sessions, save the archive to disk. This will produce a SAZ file.
      • Zip the .saz file and attach it in a ticket
    • Your original project or a sample reproducing the issue

    This will enable us to closely examine the responses from the server as well as your project structure. We will then be able to suggest a solution.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top