Developer forum

Forum » Dynamicweb 10 » Cannot configure live integration

Cannot configure live integration

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

When configuring live integration I get the following exception

500

https://localhost:6001/Admin/Api/Shadow/bcc454d0c1994096a9a0f432a28ee2de

System.IO.IOException: The process cannot access the file 'D:\Repos\New\TestStuff\dw10\wwwroot\Files\System\ShadowEdit\bcc454d0c1994096a9a0f432a28ee2de.json' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.File.WriteAllText(String path, String contents)
   at Dynamicweb.CoreUI.Data.ShadowEditing.ShadowEditFileSystemRepository.SaveShadowEdit(ShadowEdit shadowEdit)
   at Dynamicweb.CoreUI.Data.ShadowEditing.ShadowEditService.SaveShadowEdit(ShadowEdit shadowEdit)
   at Dynamicweb.Management.Api.Controllers.Api.DataController.PersistShadowEdit(String id, Dictionary`2 values)
   at lambda_method319(Closure , Object , Object[] )

Steps to reproduce

  1. Click Integration
  2. Under Live, click the Plus icon
  3. In the drop-down, choose ERP Live integration

Actual results

                The error message from above appears

Expected results:

                I can configure LI correctly

The error doesn’t happen all the time; it seems to be a timing issue because sometimes it works and sometimes it doesn’t.


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi.

Cannot reproduce the issue on last DW10 admin, has been fixed, probably. Here is video regarding my check. Thanks.

BR, Oleg QA

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I get one step further, but now when I choose a type, enter a label and click Save and close I get this:

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

New task 10593 has been created agaisnt the issue.

BR, Oleg QA

 

You must be logged in to post in the forum