473,325 Members | 2,805 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,325 software developers and data experts.

ASPNET account for windows 2000 server

I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #1
10 2063
ASPNET account is an account local to the IIS server where your APS.NET
application runs.
"david" <da***@discussions.microsoft.comwrote in message
news:57**********************************@microsof t.com...
>I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #2
The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #3
All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:
The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #4
About the local Users and Groups in my server:
I go to My Computer, and Manage and click on Local Users and Groups. I have
the following message:
The computer is a domain controller. This snap-in cannot be used on a domain
controller. Domain accounts are managed with the Active Directory Users and
Computers snap-in.

Dabin

"Steve" wrote:
The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #5
If your server is also domain controller, then there would be no local user
account. If you have to run your ASP.NET application on this server, you
need to some special configuration. Search MS Knowledge Base, there are a
few articles on running IIS/ASP.NET apps on domain controller. such as:

http://support.microsoft.com/kb/315158

and

http://msdn2.microsoft.com/en-us/library/aa579070.aspx

"david" <da***@discussions.microsoft.comwrote in message
news:00**********************************@microsof t.com...
All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:
>The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access
database
(SQL Server 2000) by
aspnet_regiis -i in the directory
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can
not
find this account in Active Directory.

The authentication uses Active Directory.

David
Aug 20 '07 #6
re:
!All user accounts in my server in Active Directory User and Computers.

The local accounts aren't added to Active Directory.
You can add it manually, or take the advice to impersonate.

I'd impersonate any existing AD account, and give it
the necessary directory permissions, if I were you.

Here's a guideline for doing this for the .Net Framework 1.1 :

http://msdn2.microsoft.com/en-us/lib...1e(vs.71).aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"david" <da***@discussions.microsoft.comwrote in message news:00**********************************@microsof t.com...
All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:
>The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David

Aug 20 '07 #7
Thank you, Norman and Steve.

I will read them and then reply to you.

David

"Norman Yuan" wrote:
If your server is also domain controller, then there would be no local user
account. If you have to run your ASP.NET application on this server, you
need to some special configuration. Search MS Knowledge Base, there are a
few articles on running IIS/ASP.NET apps on domain controller. such as:

http://support.microsoft.com/kb/315158

and

http://msdn2.microsoft.com/en-us/library/aa579070.aspx

"david" <da***@discussions.microsoft.comwrote in message
news:00**********************************@microsof t.com...
All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:
The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access
database
(SQL Server 2000) by
aspnet_regiis -i in the directory
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can
not
find this account in Active Directory.

The authentication uses Active Directory.

David

Aug 20 '07 #8
re:
!If your server is also domain controller
!If you have to run your ASP.NET application on this server
!running IIS/ASP.NET apps on domain controller

Definitely not recommended.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Norman Yuan" <No*******@NoEmail.fakewrote in message news:%2******************@TK2MSFTNGP03.phx.gbl...
If your server is also domain controller, then there would be no local user account. If you have to run your ASP.NET
application on this server, you need to some special configuration. Search MS Knowledge Base, there are a few articles
on running IIS/ASP.NET apps on domain controller. such as:

http://support.microsoft.com/kb/315158

and

http://msdn2.microsoft.com/en-us/library/aa579070.aspx

"david" <da***@discussions.microsoft.comwrote in message news:00**********************************@microsof t.com...
>All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:
>>The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David

Aug 20 '07 #9
For many small offices, they may not have the luxury to have another
computer to run web apps. A server may have to do everythihng: domain
controller, file/print server, and even exchange, IIS and SQL Server... all
on single server. That is why the OP mentions "Small business server".
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OE**************@TK2MSFTNGP06.phx.gbl...
re:
!If your server is also domain controller
!If you have to run your ASP.NET application on this server
!running IIS/ASP.NET apps on domain controller

Definitely not recommended.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Norman Yuan" <No*******@NoEmail.fakewrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
>If your server is also domain controller, then there would be no local
user account. If you have to run your ASP.NET application on this server,
you need to some special configuration. Search MS Knowledge Base, there
are a few articles on running IIS/ASP.NET apps on domain controller. such
as:

http://support.microsoft.com/kb/315158

and

http://msdn2.microsoft.com/en-us/library/aa579070.aspx

"david" <da***@discussions.microsoft.comwrote in message
news:00**********************************@microso ft.com...
>>All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:

The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
david wrote:
I am trying to setup ASPNET account for .NET application to access
database
(SQL Server 2000) by
aspnet_regiis -i in the directory
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can
not
find this account in Active Directory.

The authentication uses Active Directory.

David

Aug 20 '07 #10
re:
!For many small offices, they may not have the luxury to have another computer to run web apps.

I know that. It's still not *recommended*.
The problem is that a security breach would compromise the whole domain.

The way to go about it is to create a custom account to run ASP.NET,
and give that account only the security rights it needs to run ASP.NET
so that a security breach edoesn't compromise the domain, but only the
system areas where the ASP.NET account has permissions to.

That's why I suggested, earlier, that :

!I'd impersonate any existing AD account, and give it
!the necessary directory permissions, if I were you.

!Here's a guideline for doing this for the .Net Framework 1.1 :

!http://msdn2.microsoft.com/en-us/lib...1e(vs.71).aspx

An ad-hoc account, created especially for that purpose, would work just as well.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Norman Yuan" <No*******@NoEmail.fakewrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
For many small offices, they may not have the luxury to have another computer to run web apps. A server may have to do
everythihng: domain controller, file/print server, and even exchange, IIS and SQL Server... all on single server. That
is why the OP mentions "Small business server".
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:OE**************@TK2MSFTNGP06.phx.gbl...
>re:
!If your server is also domain controller
!If you have to run your ASP.NET application on this server
!running IIS/ASP.NET apps on domain controller

Definitely not recommended.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Norman Yuan" <No*******@NoEmail.fakewrote in message news:%2******************@TK2MSFTNGP03.phx.gbl...
>>If your server is also domain controller, then there would be no local user account. If you have to run your ASP.NET
application on this server, you need to some special configuration. Search MS Knowledge Base, there are a few
articles on running IIS/ASP.NET apps on domain controller. such as:

http://support.microsoft.com/kb/315158

and

http://msdn2.microsoft.com/en-us/library/aa579070.aspx

"david" <da***@discussions.microsoft.comwrote in message
news:00**********************************@micros oft.com...
All user accounts in my server in Active Directory User and Computers.

My system is small business 2000 server.

David

"Steve" wrote:

The ASPNET account is added to the local user database, not Active
Directory. You'll need to manually add it yourself if you want it to
have AD credentials, although you might be better off using
impersonation, since you have Windows Authentication enabled. Better
security, in my opinion.
>
>
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
>
>
david wrote:
I am trying to setup ASPNET account for .NET application to access database
(SQL Server 2000) by
aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322

After running it, I got a successful installed information. But I can not
find this account in Active Directory.

The authentication uses Active Directory.

David

Aug 20 '07 #11

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

Similar topics

4
by: Rui Oliveira | last post by:
How can I reinstall ASP in windows 2000 Server? Is possible reinstall it, without reinstall IIS? Thanks & Regards, Rui Oliveira
2
by: Dave | last post by:
I have developed a VB.net application that transfers a SOAP wrapped message to another server securely(using SSL and sever/client certificates). When I run this app from a Windows 2000...
1
by: Rich Miller | last post by:
Previously posted on the VB newsgroup with no replies, so any ideas appreciated. I have written a service application in VB (VS.Net 2003). On start, the service creates an object that...
2
by: Graham Carr | last post by:
Hi, My client has the need to upgrade to Windows 2000 Server from NT4 but are concerned about whether there existing custom code (ASP,VB6,MTS, etc) will work correctly once migrated. Does...
19
by: Mark C. | last post by:
The company I work for has been running Access 2000 on a Windows NT server with Opportunistic Locking turned off on the server without issue for almost a year. We have just switched to a Windows...
7
by: Wayne Taylor | last post by:
Hello All I have built an ASP.NET web application using VS2003 and v1.1 of the framework. On my development system, Windows XP SP1a, all works well. When I transfer the application to Windows...
6
by: SusieQ | last post by:
Is it possible to have asp.net on a windows 2000 server and still retain compatibility with clients who don't want to use it? I installed Aspnet on my Windows 2000 server and it killed all my...
0
by: Rich Miller | last post by:
Any ideas appreciated. I have written a service application in VB (VS.Net 2003). On start, the service creates an object that instantiates a System.IO.FileSystemWatcher like so (the _watcher is...
0
by: emu | last post by:
Hi All, I have an unmanaged C++ application that references a mixed mode image DLL (mixed managed and unmanaged). Under .NET 1.1 we could trust the dll (the mixed mode dll) by running the...
4
by: Hrsoft | last post by:
Dear Friends My developer environmment has a Windows 2000 SP4 Server, and I can´t to update to 2003 or 2008, for reasons of... money. But, I need to install in this 2000 Server SP4 the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.