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

web setup project + security changes

271 100+
Hi Experts,

I have developed a web application using asp.net with c# 2.0. I have created an installer with VS 2005 and its working fine. My code has an option to update the database connection settings from a web page. My problem here is when i use an installer the files are installed to a virtual directory under default root directory of the IIS where the virtual directory has no rights for the ASPNET account to edit the file. So it throws an error stating that the permission to the web.config file is denied.

I need a solution to add this user to the virtual directory with full rights at the time of installation. I am looking forward for your solutions.

Thanks & Regards,
Karthi
Mar 3 '09 #1
1 1378
PRR
750 Expert 512MB
You could either user impersonation in your code...you can let the user enter admin mane and password ... Or you could develop a windows application to update the web config ...
Mar 3 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Angela | last post by:
http://support.microsoft.com/default.aspx?scid=KB;EN- US;Q324906& >-----Original Message----- >I'm trying to create a Web SetUp Project for a web >application my team recently developed.
6
by: afh3 | last post by:
Create a setup.exe deployment package and try to execute it on a server with 2TB of disk space. The installer will report that the drive is negative in size, and will therefore refuse to install. ...
2
by: Ofer Lavi | last post by:
Hi, I am trying to build an activeX that, if missing, will be downloaded and setup automatically on the client's browser (internet explorer). Using VB6, it was easy, using the <Object> tag,...
6
by: Simon Jefferies | last post by:
Hello, I've created a setup project and when I run the .msi I get the following message. "The installer has encountered an unexpected error installing this package. This may indicate a...
0
by: segal.aviad | last post by:
Hi, I'm trying to create a customized setup project for my application. I want to write a setup project which will install several merge modules (- this I know how to do). Before running the...
3
by: WT | last post by:
Hello, Using english version of vs 2005 to develop, my setup dialogs are all displayed in english, is there some way to have it displayed according the current culture using resources as we do for...
1
by: WT | last post by:
Hello, I can't find were to set this value, by default it take the project name which is not easy. Thanks for help. CS
0
by: Ben | last post by:
I'm in the process of learning how to set up personalization for a page with web parts, and I've hit a problem I can't resolve. I built an example that works, and in that project, I can open the...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
1
by: Claire | last post by:
Ive written a small string resource building utility that I send out to our translators. I have a setup project for each language we support, which picks out a group of 12 english resx files plus...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.