Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 369395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:54:56+00:00 2026-05-12T13:54:56+00:00

I have an ASP.NET app which needs to save files to a network share

  • 0

I have an ASP.NET app which needs to save files to a network share (Samba).

The share requires a username and password to connect.

I have mapped a persistent drive to the share and provided the login credentials whilst logged in to the server as DOMAIN\WEBUSER.

I have changed the virtual directory which hosts my app to use the DOMAIN\WEBUSER account instead of the IWAM account.

However the user still cannot see the mapped drive.

What am I missing out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:54:56+00:00Added an answer on May 12, 2026 at 1:54 pm

    It is best to use the UNC if you can as the mapped drives generally are linked to the interactive user and the virtual directory is probably connecting with a service or netwrok login type.

    Another possible fix is described in this KB articleError occurs when you configure IIS to use a Samba network share as its root. Excerpted below.

    Important These steps may increase
    your security risk. These steps may
    also make the computer or the network
    more vulnerable to attack by malicious
    users or by malicious software such as
    viruses. We recommend the process that
    this article describes to enable
    programs to operate as they are
    designed to or to implement specific
    program capabilities. Before you make
    these changes, we recommend that you
    evaluate the risks that are associated
    with implementing this process in your
    particular environment. If you decide
    to implement this process, take any
    appropriate additional steps to help
    protect the system. We recommend that
    you use this process only if you
    really require this process.

    Warning This method involves a
    security risk because the user who
    created the mapping must remain logged
    on to the local console. Therefore,
    the only security is by locking the
    computer. To work around this problem,
    do the following:

    1. Map a drive letter to \servername\iisroot using “root” and
      “password.”
    2. In the Samba virtual directory, change the home directory from Share
      on Another Computer to Local
      Directory, and then specify the drive
      letter that you mapped in step 1.
    3. Restart the Web site, and then test it by browsing.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a main asp.net app, which is written in asp.net 1.1. Runnning underneath
I have an asp.net app and I am trying to save a text file
I have an ASP.NET app running in IIS that is hosting files all great
I have an asp.net mvc app running on a local iis website that is
Assume I have an ASP.NET MVC app that's not doing anything too fancy (no
I have a ASP.net 2.0 app and I have made some changes the the
I have a multi-user ASP.NET app running against SQL Server and want to have
I have an asp.net update web app. Users go the the page, hit the
We have CC.NET setup on our ASP.NET app. When we build the project, the
I am working on a ASP.NET app and i have a need to post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.