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

Granting write access for file system to aspnet on Windows 2003 Se

hi,

I have a ASP.NET / C# web based intranet application, i need to create excel
files on the server in the folder. I always get a access denied error from
the web application on the server. The server is a windows 2003 server with
ASP.NET 1.1, I tried the setting mentioned in the link
"http://www.asp.net/faq/AspNetAndIIS6.aspx", but it still doesn't seem to
work, any ideas or links would be of great help

Regards,
Prasad
Jul 27 '05 #1
2 1906
Hi!

I had the same problem.

It seems that the solution to that problem is to give write permissions
on that folder not to the aspnet user but to the IIS_WPG. It is
something related with using the 2003 Server and the IIS6 (if you use
an older version of ISS you have to give to the aspnet user the
permissions).

Hope it helps :)

Jul 27 '05 #2
Hi Ruben,
I tried using this user and it did not work,

Also i found the following.
Credentials under which the ASP.NET application executing is :
NT AUTHORITY\NETWORK SERVICE
Name of the logged on user name is : <MY NT USER>

Thanx for the help

Regards,
Prasad

"Ruben Silva PT" wrote:
Hi!

I had the same problem.

It seems that the solution to that problem is to give write permissions
on that folder not to the aspnet user but to the IIS_WPG. It is
something related with using the 2003 Server and the IIS6 (if you use
an older version of ISS you have to give to the aspnet user the
permissions).

Hope it helps :)

Jul 27 '05 #3

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

Similar topics

6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
4
by: RM | last post by:
Had VS .Net 2002 installed on W2k Server SP3 and supported a number of web sites. Installed VS .Net 2003 on Friday and now all web sites using .Net & MS ACCESS get this strange error upon open. ...
3
by: Farooq Khan | last post by:
why does Response.Write in a method of code-beind class when called from inpage code (i.e in <%---%>), after creating object of that class, fails when called while it works perfectly ok while...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
6
by: Tom C. | last post by:
Hi I'm trying to create a web form that will print a MS Word doc from the web form. I'm using VB.net. This is the code example Dim WordApp As New Word.Applicati Private Sub...
0
by: Charles A. Lackman | last post by:
Hello, I have a web site that is supose to create an Excel file out of a dataset. In my code where: "Dim Excel as new Excel.Application" is placed I receive the following exception: ...
8
by: lightcap | last post by:
Server Windows 2003. Created one web site, everything works fine. Copied the content to another folder and created another web site pointing to the copied contecnt for test purposes. Configuration...
2
by: Prasad Patil | last post by:
hi, I have a ASP.NET / C# web based intranet application, i need to create excel files on the server in the folder. I always get a access denied error from the web application on the server. The...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.