Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Cannot Copy Assembly 'Foo' to file '\\server\dir\Foo.dll'. Access is     denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JB - 25 Mar 2008 13:42 GMT
I am trying to compile a dll to a remote server but keep getting the
above error message.

The problem is not with the actual assembly I am building (because
that doesnt yet exist), it is with all the referenced dll's.
They are all currently in the directory \\server\dir which I am
building the new project to. Hence I guess it is trying to overwrite
them, with exactly the same files.

Permissions on the directory are ok, both the local user and ASP.NET
user have got full access to all files/directories
.
Ideally the files in questions (which are purely reference dll's) can
just remain where they are, they shouldnt need overwriting at all in
the first place.

Any ideas?
bruce barker - 25 Mar 2008 18:58 GMT
you don't say what tool and commands you are using to compile, so its hard to
guess the problem.

-- bruce (sqlwork.com)

> I am trying to compile a dll to a remote server but keep getting the
> above error message.
[quoted text clipped - 13 lines]
>
> Any ideas?
JB - 26 Mar 2008 09:41 GMT
On 25 Mar, 17:58, bruce barker <brucebar...@discussions.microsoft.com>
wrote:
> you don't say what tool and commands you are using to compile, so its hard to
> guess the problem.
[quoted text clipped - 18 lines]
>
> > Any ideas?

Visual Studio 2003.
Im just using the Build command from the menu
fugeeboy@gmail.com - 02 Apr 2008 22:11 GMT
> On 25 Mar, 17:58, bruce barker <brucebar...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 24 lines]
> Visual Studio 2003.
> Im just using the Build command from the menu

Unchecking Read Only on the DLL should fix the problem

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.