This is a migrated thread and some comments may be shown as answers.

Cannot Build and deploy to device

11 Answers 150 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kwanchanok
Top achievements
Rank 1
kwanchanok asked on 11 Jun 2014, 02:32 AM
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.

11 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 12 Jun 2014, 11:24 AM
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!

 
0
kwanchanok
Top achievements
Rank 1
answered on 20 Jun 2014, 06:55 AM
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.
0
kwanchanok
Top achievements
Rank 1
answered on 20 Jun 2014, 07:00 AM
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
0
kwanchanok
Top achievements
Rank 1
answered on 23 Jun 2014, 10:29 AM
I found this error everyday :(  . how i can fix it or work around?
0
Kaloyan
Telerik team
answered on 24 Jun 2014, 01:55 PM
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!

 
0
Andy Summers
Top achievements
Rank 1
answered on 16 Jul 2014, 04:55 AM
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?
0
Kaloyan
Telerik team
answered on 16 Jul 2014, 09:28 AM
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!

 
0
Mark White
Top achievements
Rank 1
answered on 15 Apr 2015, 01:21 PM

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.

0
Kaloyan
Telerik team
answered on 20 Apr 2015, 10:20 AM
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.

 
0
TU
Top achievements
Rank 1
answered on 15 May 2015, 01:27 AM

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.

0
Kaloyan
Telerik team
answered on 19 May 2015, 01:38 PM
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.

 
Tags
AppBuilder extension for Visual Studio
Asked by
kwanchanok
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
kwanchanok
Top achievements
Rank 1
Andy Summers
Top achievements
Rank 1
Mark White
Top achievements
Rank 1
TU
Top achievements
Rank 1
Share this question
or