Solved

File share access over Intranet

Posted on 2008-10-09
5
767 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now