?
Solved

Problem connecting to a NT share from ASP via UNC

Posted on 1998-09-04
7
Medium Priority
?
268 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?
0
Comment
Question by:jlow
[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
7 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854768
can you post some code?
0
 

Author Comment

by:jlow
ID: 1854769
This is not dependent on code.  It's a IIS 4 / NT server related issue.
0
 
LVL 4

Expert Comment

by:mcix
ID: 1854770
SP3 is applied, correct?
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:jlow
ID: 1854771
Yes, we have SP3.
0
 

Expert Comment

by:crasher
ID: 1854772
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 .

0
 
LVL 7

Accepted Solution

by:
BlackMan earned 600 total points
ID: 1854773
IIS4 introduced a new user (IUSR_WAM as far as I remember) which must be given rights to your network simular to IUSR_<node>. The reason it works on Win95 is that Win95 doesn't care about security, but NT does.
0
 

Expert Comment

by:rakhras
ID: 1854774
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.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

800 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