473,749 Members | 2,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User Account for asp app

Hello everybody,

I have a asp.net application and a setup application for that.
How can i configure the setup project to install my asp.net application
and to set it up to run under a certain user account?
Is this possible or this is an administrator job that can not be done
automaticaly?

Thank you.
Nov 17 '05 #1
2 1981
Am o aplicatie asp.net si inca o aplicatie de setup pentru aplicatia
asp.net.
Aplicatia de setup se ruleaza pe fiecare server unde se doreste instalarea
aplicatiei asp. Din consola de administrare a IIS se poate cu click dreapta
pe o aplicatie sa setez aplicatia sa ruleze sub un anumit cont.
Intrebarea mea este cum fac aplicatia de setup sa-mi seteze si userul
in contextul careia sa ruleze aplicatia tocmai instalata.
Ideea cu un fisier bat este buna pentru ca pot sa-l includ in setup, insa
nu stiu o comanda care sa schimbe userul sub care ruleaza o aplicatie in
IIS.

Schedule nu se aplica pentru ca rulez doar odata setup-ul.

Multumesc.
"ovidiu pismac[GeCAD]" <op*****@gecad. rom> wrote in message
news:e0******** ******@tk2msftn gp13.phx.gbl...
Daca aplicatia are un serviciu care este vizibil in Services in Windows 2000 sau XP atunci puteti configura acel serviciu sa ruleze sub un anume cont.
S-au puteti face un fisier bat care sa ruleze la startarea calculatorului
acea aplicatie.
Se poate face un schedule cu acest bat in task scheduler

--
Ovidiu Pismac , MCSA
GeCAD Software

***

Continutul acestui mesaj trebuie considerat "ca atare", fara a fi scos din
contextul in care a fost trimis. Acest mesaj nu implica nici o obligatie sau responsabilitat e din partea expeditorului sau al angajatorului acestuia.
Va rugam sa continuati discutia pe acest forum si nu prin mesaj direct catre expeditor.
Adresa de email cu care a fost expediat acest mesaj a fost modificata
intentionat pentru a preveni includerea automata pe listele de spam (a se
inlocui .rom cu .ro)

***

"Cosmin" <co*********@in foworld.ro> wrote in message
news:uW******** ******@TK2MSFTN GP10.phx.gbl...
Hello everybody,

I have a asp.net application and a setup application for that.
How can i configure the setup project to install my asp.net application
and to set it up to run under a certain user account?
Is this possible or this is an administrator job that can not be done
automaticaly?

Thank you.


Nov 17 '05 #2
Poate ca si asta ajuta. Nu descrie cum s-ar face acest lucu programatic dar
spune cam ce trebuie facut pentru a seta o anume aplicatie WEB sa ruleze sub
alt user account decat SYSTEM ACCOUNT.
http://support.microsoft.com/default...b;en-us;319067
E posibil sa te intereseze si ceea ce scrie la urmatoarea adresa:
http://support.microsoft.com/default...b;en-us;306158
"Cosmin" <co*********@in foworld.ro> wrote in message
news:em******** ********@TK2MSF TNGP10.phx.gbl. ..
Am o aplicatie asp.net si inca o aplicatie de setup pentru aplicatia
asp.net.
Aplicatia de setup se ruleaza pe fiecare server unde se doreste instalarea
aplicatiei asp. Din consola de administrare a IIS se poate cu click dreapta pe o aplicatie sa setez aplicatia sa ruleze sub un anumit cont.
Intrebarea mea este cum fac aplicatia de setup sa-mi seteze si userul
in contextul careia sa ruleze aplicatia tocmai instalata.
Ideea cu un fisier bat este buna pentru ca pot sa-l includ in setup, insa
nu stiu o comanda care sa schimbe userul sub care ruleaza o aplicatie in
IIS.

Schedule nu se aplica pentru ca rulez doar odata setup-ul.

Multumesc.
"ovidiu pismac[GeCAD]" <op*****@gecad. rom> wrote in message
news:e0******** ******@tk2msftn gp13.phx.gbl...
Daca aplicatia are un serviciu care este vizibil in Services in Windows

2000
sau XP atunci puteti configura acel serviciu sa ruleze sub un anume cont. S-au puteti face un fisier bat care sa ruleze la startarea calculatorului acea aplicatie.
Se poate face un schedule cu acest bat in task scheduler

--
Ovidiu Pismac , MCSA
GeCAD Software

***

Continutul acestui mesaj trebuie considerat "ca atare", fara a fi scos din contextul in care a fost trimis. Acest mesaj nu implica nici o obligatie

sau
responsabilitat e din partea expeditorului sau al angajatorului acestuia.
Va rugam sa continuati discutia pe acest forum si nu prin mesaj direct

catre
expeditor.
Adresa de email cu care a fost expediat acest mesaj a fost modificata
intentionat pentru a preveni includerea automata pe listele de spam (a se inlocui .rom cu .ro)

***

"Cosmin" <co*********@in foworld.ro> wrote in message
news:uW******** ******@TK2MSFTN GP10.phx.gbl...
Hello everybody,

I have a asp.net application and a setup application for that.
How can i configure the setup project to install my asp.net application and to set it up to run under a certain user account?
Is this possible or this is an administrator job that can not be done
automaticaly?

Thank you.



Nov 17 '05 #3

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

Similar topics

10
4786
by: DC Gringo | last post by:
Using latest SP Win2k and .NET versions, I have a .NET application running on server1 with a SQL Server database running on server2. I have the Windows user account passwords sync'd for server1\aspnet (installed by .NET Framework and server2\aspnet (created by me--this machine has no .NET Framework on it). The aspnet user on the database server (server2) has access to the database. I still get: Login failed for user '(null)'. Reason:...
0
2742
by: jakobsgaard | last post by:
It is possible to Map a certificate to a Active Directory User Account from DotNet? Please provide an example. Best regards, Ejnar Jakobsgaard ------------------------------------------------- To map a certificate to a user account Open Active Directory Users and Computers.
1
4347
by: Roshan | last post by:
Hi, I wanted a reliable way of detecting if a given NTAccount object represents a user account or group account. I was using SecurityIdentifier.IsAccountSid() method but this doesn't work as I expected. It returns true for user accounts and also for groups created by administrator. Right now I am using the WMI class System.Management.ManagementClass to get a list of all local user accounts and am iterating over them to see if the given...
1
5168
by: Dica | last post by:
i'm getting an error when trying to perform a file move operation. this operation worked fine on my dev box after i granted read/write/delete perms to the asp.net user account on the folders i needed to manipulate. now that i've put the app into production, i'm getting file access errors, so i tried to add the asp.net user account, but it's not found and nothing under active directory. i've got asp.net 2.0 set up on a windows2003 standard...
6
12776
by: Not Me | last post by:
Hey, We have an sql server 2000 machine and IIS 6 machine running seperately but on the same domain. I can connect fine to the database without using impersonation, but when it's enabled I get the error: "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection." When I check System.Security.Principal.WindowsIdentity.GetCurrent().Name I get the valid domain user that I would expect, why isn't this...
1
3140
by: archana | last post by:
Hi all, I want to develop one web application. What i want is to allow user to create account but at that time before giving rights to that user admin should accept this person's account. So what i want is when user create any account, adming will decide whether to allow user to use site or not by sending mail containing account activation link to user into his mail. Only when user go to that link his account will get activated.
22
17938
by: klenwell | last post by:
I'm in the process of refactoring the php code base I've amassed over the last few years into an object-oriented framework. I'm about to start in on the authentication/login extension and I've been thinking about different approaches to the mysql table schema that stores basic user login information. At present, user authentication is keyed to a table with the following columns: TABLE: basic_user uid - int handle - varchar *
1
2963
by: Alex | last post by:
Hi everybody Is creating of the service, which must be ran under the "user account" something really tricky? I mean if in ServiceProcessInstaller properties I'm using account: Local System everything works fine. But if I select account: User, during the service installation process the dialog pops up where I have to key in user id and password, which is fine, but after that I'm getting the message: "An exception occurred during the...
1
20386
by: =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post by:
Hi all, This is something that I have been toying with for about a week now. What I want to achieve is Install a Service with Customised parameters (using InstallUtil.exe) for User Name. Example (C#); public class MyServiceInstaller : System.Configuration.Install.Installer { private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller;
9
4242
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete or blank and then go back to main page(item a below user registration html page) always, something like goggle or msn login page function... Thanks and Best Rgds, Andrew a) script called from user registration html...
0
8996
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9388
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.