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

grant ASPNET modify access when deploying using Installer in VS

Hi all

I am using VS.NET 2003 installer to deploy my ASP.NET application. I want
to allow ASPNET write access to some files in subfolders of the
inetpub/wwwroot/myApp/mySubfolder using VS.NET 2003 deploy project. Is there
a
script or conditions that I have to set in the deployment project's
properties?

I have tried deploying it but could not find where I would grant ASPNET
modify access to the files in the subfolder. I don't want clients to set the
permissions manually.
Thanks
Harry

Nov 19 '05 #1
1 1442

Harry:

I think I can give you some general pointers.

You'll need to add a "custom action" to the installer:
http://msdn.microsoft.com/library/de...tomActions.asp

Inside the action you could run the cacls command line utility that is
part of Windows. Something like:

cacls c:\path /e /t /p domain\useraccount:W

Type cacls from the cmd prompt and it will dump all the parameter
possibilties.

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 31 Jan 2005 18:52:55 -0500, "harry"
<NO*****************@hotmail.com> wrote:
Hi all

I am using VS.NET 2003 installer to deploy my ASP.NET application. I want
to allow ASPNET write access to some files in subfolders of the
inetpub/wwwroot/myApp/mySubfolder using VS.NET 2003 deploy project. Is there
a
script or conditions that I have to set in the deployment project's
properties?

I have tried deploying it but could not find where I would grant ASPNET
modify access to the files in the subfolder. I don't want clients to set the
permissions manually.
Thanks
Harry


Nov 19 '05 #2

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

Similar topics

0
by: Derek | last post by:
I am writing an ASP.NET application that can add and remove items to the task scheduler. This works fine on Windows XP, but generates an Exception on Windows 2003:...
0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
1
by: Mister_d | last post by:
When deploying a solution using the Access 2003 runtime engine, do you have to use the packaging wizard that comes with the Access 2003 Developer Extentions, or can you use other packaging software...
2
by: Neelima Godugu | last post by:
Hi All, Is there a way to modify AppSettings key values during installation of a web app using a web setup project. Thanks in advance. Neelima
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
0
by: Tim Meagher | last post by:
The MSDN article "How To: Use Forms Authentication with SQL Server 2000" located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT03.asp provides a SQL...
3
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
0
by: =?Utf-8?B?SmVzc2FyZA==?= | last post by:
Hi All, I'm having trouble deploying a Windows Service installer (.NET 1.1) onto some machines. It gets half way through the installer and gives me a dialog box saying "Access Is Denied". When...
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
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...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.