Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 a href troube

Author  Topic 

Maachie
Yak Posting Veteran

69 Posts

Posted - 2009-05-06 : 14:38:45
I have created a resume using visual studio 2005.
I have provided a link to download resume in word format. I have a resume.doc in my web directory and my <a href> is like this:

<p><a href="bin/juniorResume.doc">Download Resume in word format</a></p>

The process cannot access the file 'C:\Documents and Settings\Saru\My Documents\Visual Studio 2005\WebSites\Brochu's Web Site\bin\juniorResume.doc' because it is being used by another process.

OR

when i remove from bin an put the file directly in the web folder
i get this error

Server Error in '/Brochu's Web Site' Application.
--------------------------------------------------------------------------------

HTTP Error 403 - Forbidden.

--------------------------------------------------------------------------------
Version Information: ASP.NET Development Server 8.0.0.0

Can some one help me?

Thanks,
Maachie

whitefang
Enterprise-Level Plonker Who's Not Wrong

272 Posts

Posted - 2009-05-07 : 09:48:00
You cannot put regular files in the "bin" directory of a ASP.NET website because bin is a special .NET folder to hold your website's DLLs.
Go to Top of Page
   

- Advertisement -