PC Review


Reply
Thread Tools Rate Thread

ASP Scripts permissions error after install 2003 Server

 
 
JR
Guest
Posts: n/a
 
      30th Nov 2005
Here's the scenerio:


HAD: Entire Windows 2000 domain multiple servers
Internal Web Server - Windows 2000
NAS Server - Windows 2000


Internal Web Application (On Web server) utilizing .ASP scripts to
access shared directories through mapped drives on NAS Server. (And
yes, I know UNC paths should have been used, but I didn't actually
write this, just trying to follow someone else)


UPGRADED: All servers (including Web Server) except NAS Server to
Windows 2003 Server.
NAS Server remained on W2K Server.


PROBLEM: For some reason when ASP scripts are ran on the web server
(2003) they cannot access data on the NAS server (2000).


What special permissions have to be setup on either the 2003 and/or
2000 server to allow access to shared directories via an ASP script.


I'm at the end of my rope on this one, I have researched IIS 5.0 Worker

Process Isolation Mode, which we were in, and I have tried to switch
out of and still no luck. I have checked and re-checked all the NTFS
permissions on the NAS server shared directory and everything that I
beleive is supposed to be there is allowed modify access.


OTHER NOTE: It looks like most of the scripts are utilizing one of our
"IUSR_" accounts in the directory security within IIS 6.0 and I have
double-checked the password is correct and that this user is a member
of the IIS_WPG group who incidentally also has NTFS permissions to this

share.


Any Thoughts or ideas would be greatly appreciated.


Thanks in advance!

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      30th Nov 2005
Not familiar with the accronym NAS, so I am going to guess here.

Is the NAS server a domain controller? If so, you need a trust relationship
set up between the Windows 2003 domains and that domain.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***********************************************
Think Outside the Box!
***********************************************
"JR" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Here's the scenerio:
>
>
> HAD: Entire Windows 2000 domain multiple servers
> Internal Web Server - Windows 2000
> NAS Server - Windows 2000
>
>
> Internal Web Application (On Web server) utilizing .ASP scripts to
> access shared directories through mapped drives on NAS Server. (And
> yes, I know UNC paths should have been used, but I didn't actually
> write this, just trying to follow someone else)
>
>
> UPGRADED: All servers (including Web Server) except NAS Server to
> Windows 2003 Server.
> NAS Server remained on W2K Server.
>
>
> PROBLEM: For some reason when ASP scripts are ran on the web server
> (2003) they cannot access data on the NAS server (2000).
>
>
> What special permissions have to be setup on either the 2003 and/or
> 2000 server to allow access to shared directories via an ASP script.
>
>
> I'm at the end of my rope on this one, I have researched IIS 5.0 Worker
>
> Process Isolation Mode, which we were in, and I have tried to switch
> out of and still no luck. I have checked and re-checked all the NTFS
> permissions on the NAS server shared directory and everything that I
> beleive is supposed to be there is allowed modify access.
>
>
> OTHER NOTE: It looks like most of the scripts are utilizing one of our
> "IUSR_" accounts in the directory security within IIS 6.0 and I have
> double-checked the password is correct and that this user is a member
> of the IIS_WPG group who incidentally also has NTFS permissions to this
>
> share.
>
>
> Any Thoughts or ideas would be greatly appreciated.
>
>
> Thanks in advance!
>



 
Reply With Quote
 
JR
Guest
Posts: n/a
 
      30th Nov 2005
NAS (Network Attached Storage).
Basically this is a storage server in the same domain as the web
server, but is not a domain controller. (Just a Member Server)
I am a little reluctant that a trust relationship is needed since both
server are already members of the same domain.

Any other thoughts?

Jeremi Rowland
MCP CCNA CCDA

 
Reply With Quote
 
JR
Guest
Posts: n/a
 
      1st Dec 2005
More info:

Here is an example script:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<%
Set fso=Server.CreateObject("Scripting.FileSystemObject")
if fso.fileExists("C:\rt.txt") then
CFile = "C:\rt.txt file found"
else
CFile = "C:\rt.txt file not found"
end if

if fso.fileExists("E:\rt.txt") then
EFile = "E:\rt.txt file found"
else
EFile = "E:\rt.txt file not found"
end if

if fso.fileExists("D:\rt.txt") then
DFile = "D:\rt.txt file found"
else
DFile = "D:\rt.txt file not found"
end if
Set fso = nothing
%>
This is to verify whether the file can be found on the particluar
drive<br><%=CFile%><br><%=DFile%><br><%=EFile%>
</body>
</html>


C & E are local drives where this rt.txt file is located and the
scripti finds them fine.
D is a mapped network drive on a windows 2000 server and even though
the file is there, the script displays the "File Not Found" message
indicating to me that it must not have permission or something.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: dotNET 1.1 SP1 install error on 2003 Server 64-bit DatacenterSP2 Jason Gurtz Microsoft Dot NET 1 26th Jan 2008 07:03 PM
P2B-D with SCSI controller, ASPI error on 2003 server install ESM Asus Motherboards 1 22nd Jan 2005 07:20 PM
Move shares from 2000 server to server 2003 while retaining permissions Matt Microsoft Windows 2000 Advanced Server 3 30th Apr 2004 02:18 PM
Server error message when trying to install Outlook 2003 with Business Manager SJB Microsoft Outlook Discussion 3 26th Apr 2004 10:36 PM
3rd party Install scripts (Setup Programs) error out. jkgarner Windows XP General 0 16th Sep 2003 01:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 PM.