Cannot Build and deploy to device

12 posts, 0 answers
  1. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 10 Jun 2014 Link to this post

    when i build and deploy to iphone show error 

    Build failed: One or more errors occurred..
    System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file  because it is being used by another process.
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 12 Jun 2014 Link to this post

    Hello kwanchanok,

    At the time of your post, some of the AppBuilder services were not available. This resulted in non-functional Build, Build and deploy and Publish commands on the client side. The issue was resolved immediately.

    Please, let me know if the build is still failing on your side and I will assist you further.

    We apologize for any inconveniences this has caused. Thank you for the understanding.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 20 Jun 2014 Link to this post

    Now error again 
     
    Build failed: One or more errors occurred..
    System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file '\\419161-FS2\I\Private_Build_Folder\Oztix.SPBES.LiteMobileApp_1729952500\5deb3a00e09b\Oztix.SPBES.LiteMobileApp' because it is being used by another process.

    Server stack trace: 
       at OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

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

    Exception rethrown at [1]: 
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [2]: 
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()
       --- End of inner exception stack trace ---
       at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at System.Threading.Tasks.Task`1.get_Result()
       at Telerik.BlackDragon.Client.Build.CloudSync.ExecuteCore(IHttpServiceContext httpServiceContext, LogHelper logger)
       at Telerik.BlackDragon.Client.Build.CloudTaskBase.Execute()
    ---> (Inner Exception #0) System.IO.IOException: The process cannot access the file '\\419161-FS2\I\Private_Build_Folder\Oztix.SPBES.LiteMobileApp_1729952500\5deb3a00e09b\Oztix.SPBES.LiteMobileApp' because it is being used by another process.

    Server stack trace: 
       at OperationExecutorExtensions.<RequestAsyncCore>d__11`1.MoveNext()

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

    Exception rethrown at [1]: 
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       at Telerik.BlackDragon.Client.Build.Services.BuildService.#f8d.#qb()

    Exception rethrown at [2]: 
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
       at Telerik.BlackDragon.Client.Build.Services.BuildService.#i8d.#qb()<---

    Done building project "Oztix.SPBES.LiteMobileApp.iceproj" -- FAILED.

    Build FAILED.
  4. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 20 Jun 2014 Link to this post

    sometimes have this error . i not sure i think becuase
     1. build and deploy
    2. after i builnd and deploy , i edit some files and save still connect device
    3. build and deploy again and show error that the top
  5. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 23 Jun 2014 Link to this post

    I found this error everyday :(  . how i can fix it or work around?
  6. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Jun 2014 Link to this post

    Hello kwanchanok,

    This is highly unfortunate to hear. As we were not able to reproduce such behavior of our build service on our side, could you send us Fiddler logs from the failing build? To do so, please follow the next steps:
    1. Download Fiddler from here and install it.
    2. Run Fiddler and go to Tools -> Fiddler Options.
    3. On the HTTPS page, verify that Capture HTTPS Connects is enabled.
    4. Verify that Decrypt HTTPS traffic is enabled with the ...from all processes option and minimize Fiddler to tray.
    5. Run your AppBuilder client and attempt to reproduce the failing build.
    6. When the error occur, in Fiddler, go to File -> Save -> All Sessions and save the archive to disk (a SAZ file).
    7. Send us the saz file. (Either attach it or paste the information here.)

    I am looking forward to your reply.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  7. Andy Summers
    Andy Summers avatar
    1 posts
    Member since:
    Oct 2009

    Posted 15 Jul 2014 Link to this post

    Hello,

    Today I faced the same problem.

    System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file '\\419161-FS2\I\Private_Build_Folder\Carebook_-325606928\7b7f74e0ec16\Carebook' because it is being used by another process.

    I can't build for iOS neither for AppBuilder nor AppPackage.
    Also I can't Build and Deploy with device connected to PC.

    Do you know what the problem could be?
  8. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 16 Jul 2014 Link to this post

    Hello Andy,

    As already said here:
    "Unfortunately, there were some issues on one of our live servers. The good news is we managed to fix them and everything should be working now.

    The incident has been put on our Status page as well.

    We apologize for any inconvenience this has caused and thank you for the understanding."

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  9. Mark White
    Mark White avatar
    2 posts
    Member since:
    Nov 2009

    Posted 15 Apr 2015 Link to this post

    Is something going on today?  I see no issues posted on the status page.  However, I'm getting the following:

     

    Building package: [C:\ProjectWork\Circle413\Hybrid\Circle413App\Circle413App\obj\Debug\Circle413App.zip]
    C:\Users\cornishdan\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\bdtbyzjd.z00\Targets\Build.targets(161,3): error : Build failed: One or more errors occurred..
    System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file '\\ab-storage\userdata\Private_Build_Folder\Circle413App_579011114\c303412409e4\Circle413App' because it is being used by another process.

  10. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 20 Apr 2015 Link to this post

    Hi Mark,

    As discussed in your support ticket, we deleted the locked folder on the server. This should have fixed the matter you are experiencing.

    Please, let me know if you will require further assistance.

    Regards,
    Kaloyan
    Telerik
     

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

     
  11. TU
    TU avatar
    2 posts
    Member since:
    Mar 2007

    Posted 14 May 2015 Link to this post

    Is there an issue today? I seem to be having the same issues as prior postings. 

     

    ...\11.0\Extensions\vjhkimst.ojs\Targets\Build.targets(149,3): error : Build failed: The process cannot access the file '...\MobileApp_AppBuilder.zip' because it is being used by another process..
    System.IO.IOException: The process cannot access the file '...\MobileApp_AppBuilder\obj\Debug\MobileApp_AppBuilder.zip' because it is being used by another process.

  12. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 19 May 2015 Link to this post

    Hi TU,

    Thank you for contacting us.

    There aren't reports about issues in the cloud services for the time of your writing. Further, from the error message, I see that the server files of your project have been locked. This normally happens if you, for example execute second cloud build without waiting the first one to finish in Visual Studio. This workflow locks your project on the server and leads to the above mentioned error. If this is indeed the case, the matter should be fixed as soon as the initial build process finishes.

    However, if you are still experiencing the issue, I will require a Fiddler trace about it. Please, share such in a separate support ticket as it could contain sensitive information about your Telerik Platform account. Here are the steps you will need to perform:
    1. Download Fiddler from here and install it.
    2. Run Fiddler and go to Tools -> Fiddler Options.
    3. On the HTTPS page, verify that Capture HTTPS Connects is enabled.
    4. Verify that Decrypt HTTPS traffic is enabled with the ...from all processes option and minimize Fiddler to tray.
    5. Try to build your application. When it fails, continue to step 6.
    6. Open Fiddler again, go to File -> Save -> All Sessions, save the archive to disk (a SAZ file).
    7. Finally, send us the saz files attached to your support ticket.


    I hope this helps.

    Regards,
    Kaloyan
    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