Solved

File share access over Intranet

Posted on 2008-10-09
5
775 Views
Last Modified: 2012-05-05
We run an Intranet web site, Field.company.com on our 010 Windows 2003 Server that is accessible to any users on our network.
On this web site there is a page that lists out the contents of a file share from our 001 Windows 2003 Server.

We want the user to be able to click a link to a file on that file share server and be able to open it in their browser.
We have tried creating links to file:\\001\share\file.txt
We have tried creating a VirtDir in IIS under that Intranet web site, pointing to \\001\share\ authenticating both as a domain user account and even now as an admin account
Any way we do it, when we go to http://field.company.com/files/test.txt file, we get a 404 error message?

Any thoughts?
Our developers swear this used to work... but it "just stopped" now?

Thanks all!
0
Comment
Question by:jn148
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
JanSchotsmans earned 250 total points
ID: 22677894
Making links to \\001\share\file.txt should work.

With the virtual directory approach, if you use IIS6 or higher, you'll have to allow the content to be loaded in the IIS configuration.

0
 

Author Comment

by:jn148
ID: 22677978
Thanks for the quick response Jan - but can you elaborate a bit on the "allow the content to be loaded in the IIS configuration." ?
0
 
LVL 6

Expert Comment

by:JanSchotsmans
ID: 22682008
IIS 6 by default blocks just about everything from being served on it, other then plain HTML pages.




    * Open IIS Manager.
    * Right click the folder where the exe-files are located and click Properties.
    * Click the "HTTP Headers" tab
    * Click on the "MIME Types" button
    * Click New
    * In the extension box, type the extension you need to serve (exe etc)
    * In the MIME Type box, type application/octet-stream
    * Apply the new settings

Open in new window

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Independent domain networks for setup 6 116
need help with active directory 4 44
How to know how many IP addresses your ISP give you 4 26
WebSite Direction 1 39
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question