We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Problem connecting to a NT share from ASP via UNC

jlow
jlow asked
on
Medium Priority
287 Views
Last Modified: 2013-12-25
I've got two ASP methods for browsing directories on NT shares.  They worked until we upgraded from IIS 3 to IIS 4. One method is the FileFunctions component, the other is a script I wrote using the FileSystemObject Object.  For some reason, these scripts running on the IIS 4 server can connect to a Win95 share but not an NT share via a UNC.  Permissions have not been changed and the web server has retained the same langroup name.  We're stumped.  Any suggestions?
Comment
Watch Question

Commented:
can you post some code?

Author

Commented:
This is not dependent on code.  It's a IIS 4 / NT server related issue.

Commented:
SP3 is applied, correct?

Author

Commented:
Yes, we have SP3.

Commented:
for some reasons, do You connect to your file using a username/password ?
in this case, try to configure the user as a local user (dependant of the machine) and not as a domain user.

Some IIS functions have changed from v3 to v4, i've experienced problems using FTP with DOMAIN users and IIS4, but it worked well with IIS3 .

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
This is a problem with IIS 4.0.
See the Microsoft Knowledge base (Q183060)
In that article, they say:

Network paths such as UNC's should work for Basic / Anonymous access, but they do not work when you use the updated JET driver under IIS 4.0. This is because the user security context is switched to SYSTEM when it reads the database. The system account cannot access networked resources. Move the database to the Web server and use a local path. For  Visual InterDev to work from a remote workstation in this situation, set
up the system DSN's as described in the Microsoft Knowledge Base article listed in the REFERENCES section. The article was written to show how to work around delegation problems on authenticated projects, but the fix is applicable to this problem also.


Ralph.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.