Cannot create/shadow copy 'SD.LLBLGen.Pro.DQE.SqlServer.NET20' when that file already exists

Posts   
 
    
helga
User
Posts: 17
Joined: 15-Jun-2007
# Posted on: 15-Jun-2007 11:17:37   

Can someone please assist me, as a matter of urgency to explain what i'm doing wrong that i'm getting this error. Thank you very much!

jmeckley
User
Posts: 403
Joined: 05-Jul-2006
# Posted on: 15-Jun-2007 14:30:55   

I have recieved this error when compiling web sites. rebuid the solution:<atl>+<b>, <r>. This is not <ctrl>+<alt>+<b> which bulids the current solution.

if you still have problems clean (<atl>+<b>, <c>) the solution and then rebuild.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 15-Jun-2007 15:39:14   

I'd recommend a complete rebuild..too. Also you can try to build the generated code alone in a solution other than that of the web site/app.

luciusism
User
Posts: 119
Joined: 02-Jun-2007
# Posted on: 26-Jun-2007 03:02:41   

Interesting, I did a google search on, "Cannot create/shadow copy" and this thread was the 3rd site listed.

Rebuild definitely helps, but man, this one LL project I'm working on constantly gets this error. Oh well, time to rebuild again. confused

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 26-Jun-2007 08:38:48   

Blame it on Rio simple_smile I mean blame it on MS.

Here is the reported bug link: Microsoft Feedback

Check the status -> Won't Fix Also check the possible workarounds.

helga
User
Posts: 17
Joined: 15-Jun-2007
# Posted on: 26-Jun-2007 09:09:45   

Hi All

I managed to "solve" this problem by taking the reference in the reference directory of the site and sub sites (DAL and DAL Generic + my own sites on top) and change the property Specific Version to true.

However, the true problem occurs when you have your own site with and bll layer and both these refers to the sd.llblgen. references - seems like some bug or so. It took me two whole days to get my environment right.

Note further that in the above it happens the moment you add the llbl datasource to your page(s).

Hope it helps Helga