473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

head scratcher...

My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert
Nov 17 '05 #1
10 1140
Actually when your web app runs it will run under ASPNET account so that's
the account that you need to give rights to for your web app to see
anything. Under 2000 server the rights are more relaxed, 2003 is more
secure when it comes to running these apps. Also look at the settings for
IUSR_MACHINENAME and give that account proper rights.

--
in**@dowhileloop.com
http://dowhileloop.com website development
http://publicjoe.dowhileloop.com -- C# Tutorials

"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com...
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert

Nov 17 '05 #2
Actually when your web app runs it will run under ASPNET account so that's
the account that you need to give rights to for your web app to see
anything. Under 2000 server the rights are more relaxed, 2003 is more
secure when it comes to running these apps. Also look at the settings for
IUSR_MACHINENAME and give that account proper rights.

--
in**@dowhileloop.com
http://dowhileloop.com website development
http://publicjoe.dowhileloop.com -- C# Tutorials

"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com...
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert

Nov 17 '05 #3
I actually made those users admin's on the machine and it still didn't
work. I removed the Adhanced Internet Security, which supposedly
makes the web browser have the same security level as 2000, but that
too didn't help.
On Fri, 25 Mar 2005 22:13:54 -0500, "Landi" <in**@dowhileloop.com>
wrote:
Actually when your web app runs it will run under ASPNET account so that's
the account that you need to give rights to for your web app to see
anything. Under 2000 server the rights are more relaxed, 2003 is more
secure when it comes to running these apps. Also look at the settings for
IUSR_MACHINENAME and give that account proper rights.


Nov 17 '05 #4
I actually made those users admin's on the machine and it still didn't
work. I removed the Adhanced Internet Security, which supposedly
makes the web browser have the same security level as 2000, but that
too didn't help.
On Fri, 25 Mar 2005 22:13:54 -0500, "Landi" <in**@dowhileloop.com>
wrote:
Actually when your web app runs it will run under ASPNET account so that's
the account that you need to give rights to for your web app to see
anything. Under 2000 server the rights are more relaxed, 2003 is more
secure when it comes to running these apps. Also look at the settings for
IUSR_MACHINENAME and give that account proper rights.


Nov 17 '05 #5
You may want to check out this knowledge base article. IIS under Windows
2003 converts file paths to uppercase before it calls CreateFileW. Your
problem could be related to Unix's case sensitivity.
http://support.microsoft.com/default...b;en-us;324232
"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com...
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert

Nov 17 '05 #6
You may want to check out this knowledge base article. IIS under Windows
2003 converts file paths to uppercase before it calls CreateFileW. Your
problem could be related to Unix's case sensitivity.
http://support.microsoft.com/default...b;en-us;324232
"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com...
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert

Nov 17 '05 #7
I'll check it out.

Thanks,

Robert
On Sat, 26 Mar 2005 06:19:40 -0500, "Victor M. Font Jr."
<vi*****@optonline.net> wrote:
You may want to check out this knowledge base article. IIS under Windows
2003 converts file paths to uppercase before it calls CreateFileW. Your
problem could be related to Unix's case sensitivity.
http://support.microsoft.com/default...b;en-us;324232
"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com.. .
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert


Nov 17 '05 #8
I'll check it out.

Thanks,

Robert
On Sat, 26 Mar 2005 06:19:40 -0500, "Victor M. Font Jr."
<vi*****@optonline.net> wrote:
You may want to check out this knowledge base article. IIS under Windows
2003 converts file paths to uppercase before it calls CreateFileW. Your
problem could be related to Unix's case sensitivity.
http://support.microsoft.com/default...b;en-us;324232
"Robert Megee" <rm*****@comcast.net> wrote in message
news:hl********************************@4ax.com.. .
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert


Nov 17 '05 #9
For those that may be following this thread, I found this in
microsoft's knowledgebase:
http://support.microsoft.com/default...b;en-us;827421

It explains how to solve this problem. I'll try it tomorrow and post
my results.

Robert
On Fri, 25 Mar 2005 18:00:22 -0600, Robert Megee <rm*****@comcast.net>
wrote:
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert


Nov 17 '05 #10
The work-around worked. It took a little experimentation to fill in
some of the blanks but it allowed me to open files contained in a
mounted directory.

Robert
On Sun, 27 Mar 2005 16:02:48 -0600, Robert Megee <rm*****@comcast.net>
wrote:
For those that may be following this thread, I found this in
microsoft's knowledgebase:
http://support.microsoft.com/default...b;en-us;827421

It explains how to solve this problem. I'll try it tomorrow and post
my results.

Robert
On Fri, 25 Mar 2005 18:00:22 -0600, Robert Megee <rm*****@comcast.net>
wrote:
My development platform is a widows2000 pro. I built a web app that
takes a file name and opens a file from an nfs mounted directory. The
files reside on a unix based server.
This works fine.
When I try to run this on my windows2003 server, it can't see the nfs
mounted directory.
When I check the windows identy on the 2000 machine, it says
compname\aspnet. On the 2003 machine, it says something like
NT AUTHORITY\NETWORK.
In the win.config file I turned on inpersonation and set it to
MYDOMAIN\MYUSER. Where MYUSER is the account (that has admin
privileges) that did the nfs mount. But this didn't make any
difference.
I tried this with a normal windows shared directory and got the same
results.
So any clues as to how I can make this work?

Thanks,

Robert


Nov 17 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Agoston Bejo | last post by:
Hello, I have to write some asp pages that react to HEAD and GET requests. The scenario is this: This is going to be a WAP site. When someone goes to the main page, it is redirected to a payment...
1
by: William Starr Moake | last post by:
This may be difficult to understand unless you are familiar with the design mode feature built into Internet Explorer 5.5+. I used this feature to develop a browser-based WYSIWYG HTML editor for...
0
by: Andrew | last post by:
Does a linked list in C require that the head node allocate memory the size of the structures in the node? Or can you just set the head node structure equal to 0? I have tried creating lists both...
3
by: Francois Grieu | last post by:
Given that next is the first field in struct node, and head is a pointer to node, does assigning ((node*)&head)->next safely assign head ? Illustration (this code works on many platforms)...
10
by: Brian W | last post by:
Hi All, I have a web user control that, among other things, provides Print this page, and Email this page functionality I have this script that is to execute on the click of the asp:hyperlinks ...
7
by: | last post by:
What is the beat way to dynamically write/add to the HEAD tag of an ASPX page (the <head runat=server ... is too error prone and not very repeatable)? Thanks.
6
by: Ken Varn | last post by:
I want to add my own custom <STYLE> section in the <HEAD> section of my ASP.NET page within a custom control. Can someone tell me how I can have my custom control add tags to the <HEAD> section of...
3
by: thomasamillergoogle | last post by:
Is it possible that my user control can add code to the HEAD of the parent page that hosts the control?
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
2
by: hon123456 | last post by:
Dear all, I want to know the difference and effect of placing ASP Code in the begining of .asp File and placing code inside <Head</ HeadTag and Placing code inside <body></bodytag. Just as...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.