473,378 Members | 1,354 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,378 software developers and data experts.

HELP: Cant create a file in webpage dir (OS: Server 2003)

I have a server that is running Windows Server 2003.

My web page is trying to create a file in the
C:\inetpub\wwwroot\MyWeb\Secured directory. When it tries to create/write
the file it gets this error:

Access to the path "C:\inetpub\wwwroot\MyWeb\Secured\AsciiInfo.pw a" is
denied.

I think it's a permissions issue in either IIS or Server 2k3. But, I'm not
sure. It works FINE on our other server which is running Windows 2000.

Please help!

Thanks.
Nov 18 '05 #1
3 1164
Have you looked at the security settings for the directory Secured? I
believe Win2003 uses the account NETWORK (or NETWORKING, I don't remember
off the top of my head, I don't think it is ASPNET as you have on Win2k/XP).
Make sure that account has write/create/modify (maybe full control) for that
directory.
--
Mike Mayer - Visual C# MVP
http://www.mag37.com/csharp/
mi**@mag37.com

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:uw**************@TK2MSFTNGP11.phx.gbl...
I have a server that is running Windows Server 2003.

My web page is trying to create a file in the
C:\inetpub\wwwroot\MyWeb\Secured directory. When it tries to create/write
the file it gets this error:

Access to the path "C:\inetpub\wwwroot\MyWeb\Secured\AsciiInfo.pw a" is
denied.

I think it's a permissions issue in either IIS or Server 2k3. But, I'm not sure. It works FINE on our other server which is running Windows 2000.

Please help!

Thanks.

Nov 18 '05 #2
The remote authenticated user must have write permissions on the directory
in question. The remote authenticated user identity depends on whether you
have authentication enabled and what your browser chooses to negotiate for
identity.

Sorry, as easy as it was for you to write a file without knowing why, a
hacker can do better. Security changes with Windows Server 2003 requires
you to change habits, so many things that "just worked fine" in Windows 2000
are not guaranteed to work by default on Windows Server 2003.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"VB Programmer" <gr*********@go-intech.com> wrote in message
news:uw**************@TK2MSFTNGP11.phx.gbl...
I have a server that is running Windows Server 2003.

My web page is trying to create a file in the
C:\inetpub\wwwroot\MyWeb\Secured directory. When it tries to create/write
the file it gets this error:

Access to the path "C:\inetpub\wwwroot\MyWeb\Secured\AsciiInfo.pw a" is
denied.

I think it's a permissions issue in either IIS or Server 2k3. But, I'm not
sure. It works FINE on our other server which is running Windows 2000.

Please help!

Thanks.

Nov 18 '05 #3
Gave full permissions to IIS_WPG account and it worked! Thanks.

"David Wang [Msft]" <so*****@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
The remote authenticated user must have write permissions on the directory
in question. The remote authenticated user identity depends on whether you have authentication enabled and what your browser chooses to negotiate for
identity.

Sorry, as easy as it was for you to write a file without knowing why, a
hacker can do better. Security changes with Windows Server 2003 requires
you to change habits, so many things that "just worked fine" in Windows 2000 are not guaranteed to work by default on Windows Server 2003.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights. //
"VB Programmer" <gr*********@go-intech.com> wrote in message
news:uw**************@TK2MSFTNGP11.phx.gbl...
I have a server that is running Windows Server 2003.

My web page is trying to create a file in the
C:\inetpub\wwwroot\MyWeb\Secured directory. When it tries to create/write
the file it gets this error:

Access to the path "C:\inetpub\wwwroot\MyWeb\Secured\AsciiInfo.pw a" is
denied.

I think it's a permissions issue in either IIS or Server 2k3. But, I'm not sure. It works FINE on our other server which is running Windows 2000.

Please help!

Thanks.

Nov 18 '05 #4

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

Similar topics

2
by: Ian DeRock | last post by:
I'm fairly new to XML. As I can see it, XML is a way to organize data like in a table in a RDB, or the RDB itself. I have used XML in application data, but did not design the actual XML. I...
2
by: John | last post by:
This message is popping up at startup and its saying "fatal execution engine error (0x7927e03e)" Ive tried deleting, reinstalling frameworks, restoring computer, but I can't use the os cd because i...
2
by: JemPower | last post by:
Hi all, I don't know if this is the right newsgroup or not, but an answer would be appreciated. I have a client who has is 'requesting' that we write a program for him that allows him to...
15
by: DavidS | last post by:
Have Visual Studio.NET installed on MS 2000 Professional OS laptop. No issue ever with web development and SQL connections. Purchased new laptop with XP Professional SP2!!!!!!!! & Visual...
13
by: JebBushell | last post by:
"Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
0
by: teslamad | last post by:
So im trying to get rid of the mailto function and use ASP instead, but im very new to it and cant get it working!!! ARG I use server 2003 and IIS for my websites. Heres how i think it should work...
1
by: kev | last post by:
Ok, I am really stuck and I need help badly. If I create any file or folder on the server and run the php file it works with no problem. As soon as I copy a website from another server onto...
0
by: SOI_0152 | last post by:
Hi all! Happy New Year 2008. Il hope it will bring you love and happyness I'm new on this forum. I wrote a stored procedure on mainframe using DB2 7.1.1 and IBM language c. Everything works...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.