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.
11 Answers, 1 is accepted
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!
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.
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
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:
- 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 attempt to reproduce the failing build.
- When the error occur, in Fiddler, go to File -> Save -> All Sessions and save the archive to disk (a SAZ file).
- 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!
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?
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!
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.
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.
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.
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.