Hi all,
I am trying to configure a sample website under asp .net 2.0, and play
with the security provider. I already have the aspnetdb db, but when I go to
the
security tab for the asp configuration tool, a connection can not be
established with the provider. I noticed I did not have the NT
AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with
db_owner role. However, it is still not able to connect.to that provider. Am
I missing something?
Thanks in advance,
Carlos. 6 1426
Did you use the aspnet_Regsql utility? Do you have a setting in the
connectionstrings in web.config?
"Carlos" wrote: Hi all,
I am trying to configure a sample website under asp .net 2.0, and play with the security provider. I already have the aspnetdb db, but when I go to the security tab for the asp configuration tool, a connection can not be established with the provider. I noticed I did not have the NT AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with db_owner role. However, it is still not able to connect.to that provider. Am I missing something?
Thanks in advance,
Carlos.
If you're not running Windows Server 2003, the user is
Machinename\ASPNET, not NT AUTHORITY\NETWORK SERVICE.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Carlos" <ch*****@earthlink.net> wrote in message
news:Od*************@TK2MSFTNGP10.phx.gbl... Hi all,
I am trying to configure a sample website under asp .net 2.0, and play with the security provider. I already have the aspnetdb db, but when I go to the security tab for the asp configuration tool, a connection can not be established with the provider. I noticed I did not have the NT AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with db_owner role. However, it is still not able to connect.to that provider. Am I missing something?
Thanks in advance,
Carlos.
Yes, I already used the aspnet_Regsql utility, and was able to
create the database, however, I did not see any connection string
created in my web.config file. Do I need to create it manually ?
I am running under windows server 2003 EE.
Is there any log created while the ASP Configuration tool is trying to
connect to the database? I would like to see what connection string
is trying to use. Thanks again,
Carlos..
"Edward" <Ed****@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.com... Did you use the aspnet_Regsql utility? Do you have a setting in the connectionstrings in web.config? "Carlos" wrote:
Hi all,
I am trying to configure a sample website under asp .net 2.0, and play with the security provider. I already have the aspnetdb db, but when I go to the security tab for the asp configuration tool, a connection can not be established with the provider. I noticed I did not have the NT AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with db_owner role. However, it is still not able to connect.to that provider. Am I missing something?
Thanks in advance,
Carlos.
Thank you Juan, I am running under WS 2003 EE.. Any other suggestions ?
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... If you're not running Windows Server 2003, the user is Machinename\ASPNET, not NT AUTHORITY\NETWORK SERVICE. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ ASPNETFAQ.COM : http://www.aspnetfaq.com/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Carlos" <ch*****@earthlink.net> wrote in message news:Od*************@TK2MSFTNGP10.phx.gbl... Hi all,
I am trying to configure a sample website under asp .net 2.0, and play with the security provider. I already have the aspnetdb db, but when I go to the security tab for the asp configuration tool, a connection can not be established with the provider. I noticed I did not have the NT AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with db_owner role. However, it is still not able to connect.to that provider. Am I missing something?
Thanks in advance,
Carlos.
"Carlos" <ch*****@earthlink.net> wrote in message
news:Od*************@TK2MSFTNGP10.phx.gbl... Hi all,
I am trying to configure a sample website under asp .net 2.0, and play with the security provider. I already have the aspnetdb db, but when I go to the security tab for the asp configuration tool, a connection can not be established with the provider. I noticed I did not have the NT AUTHORITY\NETWORK SERVICE user for the db, so I went and added it with db_owner role. However, it is still not able to connect.to that provider. Am I missing something?
Carlos, check thsi page: http://msdn.microsoft.com/library/de...aght000013.asp
On Sat, 19 Nov 2005 12:41:16 -0500, "Carlos" <ch*****@earthlink.net>
wrote: I would like to see what connection string is trying to use. Thanks again,
All of the providers using a database service connect using a
"LocalSqlServer" connection string defined in machine.config. By
default they all look for a SQL Server Express database in App_Data.
You can edit machine.config, or override the settings in web.config on
a per-app bases, e.g:
<configuration>
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer"
connectionString="Data Source=MyServer;
Initial Catalog=appservicesdb;
Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
</configuration>
--
Scott http://www.OdeToCode.com/blogs/scott/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Paolo |
last post by:
I have just installed VS Net 2005, and SQL Server 2005. Previously I had
tried Visual Web Developer 2005, and I was able to follow the tutorials. I
transferred some of the example websites to VS...
|
by: te goody |
last post by:
Problem summary:
Web Site Admin Tool is not generating the application services database
(aspnetdb.mdf) in a SS 2005 only environment; i.e. The DB is not found under
the app_data directory.
The...
|
by: Darrel |
last post by:
I haven't made it very far into my first 2.0 project.
In the past, to connect to a DB, I'd store the connection string in
web.config and just grab it from my codebehind page:
connectionString...
|
by: Jeff |
last post by:
hey
asp.net 2.0
My web.config file have no info about AspNetSqlProvider despite I used
"ASP.NET Web Application Administration" to configure it. When I now opens
"ASP.NET Web Application...
|
by: Steven Cliff |
last post by:
I have started to use the new Enterprise Library (Jan 06) and have set up a
skeleton project using the DAAB. This all seems to work fine apart from when
I come to secure the app.config file via...
|
by: Michael Lang |
last post by:
I was basically wanting to know how to use the System.Configuration
namespace to be able to load an arbitrary number of unknown attributes on an
element in a custom section in the .config into a...
|
by: Coaster |
last post by:
I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating...
|
by: =?Utf-8?B?RGVubmlzIE1jQ2FydGh5?= |
last post by:
I am trying to add users to the default ASP.NET membership provider (SQL
Express) using the ASP.NET Configuration Tool.
When I launch the ASP.NET Configuration Tool from the Web Site menu in...
|
by: Jonathan Wood |
last post by:
The ASP.NET Configuration tool is great for quickly managing users in the
database on my development machine.
However, I don't see a way to use it to access the database on my Web
server. Is...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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,...
|
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...
|
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,...
|
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...
|
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...
| |