Solved

File share access over Intranet

Posted on 2008-10-09
5
791 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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