Friday, September 10, 2010
Google Custom Search

Go to...

Recent Forum Posts

Our Community

Membership Membership:
Latest New User Latest: bunk_C1
New Today New Today: 16
New Yesterday New Yesterday: 20
User Count Overall: 10768

People Online People Online:
Visitors Visitors: 3
Members Members: 0
Total Total: 3

Online Now Online Now:

ClearCanvas Community Forums

Error 39 Unable to copy file
Last Post 2009-06-03 12:25 PM by clinton. 4 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Kingangi
Posts:11

--
2009-06-03 07:00 AM  

Hi All,

After following the instructions on how to add a plugin, I get the following error which emerges from the ImageViewer_dist.proj file after adding a line in it.  This as we can see means  that the plugin cannot be copied to the right place for execution.

Error    39    Unable to copy file "D:\IBA\Projects\ClearCanvas\source\ImageViewer\..\\ImageViewer\Tools\ManageUsers\bin\Debug\ClearCanvas.ImageViewer.ManageUsers.dll" to "D:\IBA\Projects\ClearCanvas\source\Desktop\Executable\\bin\Debug\\plugins\ClearCanvas.ImageViewer.ManageUsers.dll". Could not find a part of the path 'D:\IBA\Projects\ClearCanvas\source\ImageViewer\..\\ImageViewer\Tools\ManageUsers\bin\Debug\ClearCanvas.ImageViewer.ManageUsers.dll'.    D:\IBA\Projects\ClearCanvas\source\ImageViewer\ImageViewer_dist.proj    326    5    ClearCanvas.Desktop.Executable

Any assistance will be highly appreciated

Thanks

 


 

clinton
Veteran Member
Veteran Member
Posts:77

--
2009-06-03 08:26 AM  
Hi Kingangi,

This message from the distribution scripts usually means that there was a problem compiling your file, and therefore it doesn't exist in the source path that is specified. You should check in the source path to see if the file exists, or try compiling the assembly independently to see if there are any compile errors.
Kingangi
Posts:11

--
2009-06-03 11:40 AM  

Hi Clinton,

Thanks for the response, from your mail you've said that I should check in the source path to see if the file exists, since this is new to me (my first time to deal with plugins) I need to understand the script. From an example of a line i found in the ImageViewer_dist.proj file (which we know works since problems began after I added my line), the script says something like:

sberkowi
Veteran Member
Veteran Member
Posts:59
Avatar

--
2009-06-03 12:20 PM  
Hi Kingangi,

If you are just building a plugin, you don't necessarily need to rebuild the viewer each time. I build my plugins as separate projects and use post-build events to copy them to the workstation/plugins directory. See this other post for more details.

http://www.clearcanvas.ca/dnn/Community/Forums/tabid/69/aff/3/aft/13280/afv/topic/Default.aspx

Since I'm only building the plugin, it is easier to see compilation errors from my own assembly.

Good luck,
Seth
clinton
Veteran Member
Veteran Member
Posts:77

--
2009-06-03 12:25 PM  
Hi Kingangi,

The message is complaining that

D:\IBA\Projects\ClearCanvas\source\ImageViewer\..\\ImageViewer\Tools\ManageUsers\bin\Debug\ClearCanvas.ImageViewer.ManageUsers.dll

doesn't exist. Does it exist? It's trying to copy the compiled assembly ClearCanvas.ImageViewer.ManageUser.dll into

D:\IBA\Projects\ClearCanvas\source\Desktop\Executable\\bin\Debug\\plugins\

That's what the message means.
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2010 ClearCanvas Inc.