Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RE: build error - locked file

Reply
Thread Tools

RE: build error - locked file

 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-08-2006
Hello Dave,

Have you tried checking the indexing service issue Rad has mentioned?
Also, I found that the problem assembly has a strong-name key token. Is
this problem assembly(strong-named) put in the private bin dir of your
ASP.NET web application or in GAC? If it is in private bin dir, I suggest
you install it into GAC since ASP.NET does not support strong-named
assembly in private bin dir and this could cause potential file locking or
other expected issue.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-11-2006
Hi Dave,

So far I haven't found any built-in setting in VS IDE that can
automatically add assembly into GAC. I think you need to use the post-build
event to add the build assembly into GAC. BTW, is those problem assembly
originally put in BIN dir?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      12-12-2006
Thanks for your reply Dave,

Yes, you are right. This limitation is specific to ASP.NET 1.0/1.1, in
ASP.NET 2.0, there is no longer such limitation, since no matter the
assembly is strong-named or not(in bin dir), it will be loaded per
app-domain and shadow copied. I've get confirmation from some other dev
team engineers.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: build error - locked file Juan T. Llibre ASP .Net 0 12-06-2006 09:47 PM
Re: build error - locked file Rad [Visual C# MVP] ASP .Net 0 12-06-2006 06:44 PM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY? Mark Kamoski ASP .Net 1 07-04-2003 12:02 PM



Advertisments