I created a new application pool and allocated my website running under
version 2.0 to this pool. I did
verify that I could connect to aspnetdb using the aspnet_regsql tool. Now,
when I go to the asp .net
configuration tool, I no longer see the same error. However, when I try to
test the connection to the provider I do get an error that says that it is
not
able to connect to the database. i.e.:
Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site
Administration tool, use the aspnet_regsql command-line utility to create
and configure the database, and then return to this tool to set the
provider.
How do I know what kind of connection string the configuration tool is using
to connect to the provider ?
Thanks in advance,
Carlos.
"Carlos" <ch******@yahoo.com> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
Thank you. I just saw the link. It is 120 pages long! all of that to find
out
about a possible configuration flaw ? All of that configuration was
supposedly to have been built automatically..! Come on MS the savings in
code for the developer is representing huge investment in knowing
internal details. Are we really saving time ? or is the fix coming in the
next service pack..
"Morgan" <no****@spam.com> wrote in message
news:e%******************@TK2MSFTNGP12.phx.gbl... The link below may be more info than what you are looking for, but might
give you some ideas on troubleshooting the web.config file, which sounds
like isn't configured correctly.
http://msdn.microsoft.com/asp.net/de...vMod_Intro.asp
"Carlos" <ch*****@earthlink.net> wrote in message
news:e3******************@TK2MSFTNGP14.phx.gbl... Hi all,
I just encountered the fllowing error when trying to see
the provider tab in the asp .net configuration tool:
An error was encountered. Please return to the previous page and try
again.
The following message may help in diagnosing the problem: Object
reference not set to an instance of an object. at
ASP.providers_chooseprovidermanagement_aspx.Page_L oad() in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP. NETWebAdminFiles\Providers\chooseProviderManagemen t.aspx:line
13 at System.Web.Util.CalliHelper.ArglessFunctionCaller( IntPtr fp,
Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Then, if I wanted to see the security tab, I got:
There is a problem with your selected data store. This can be caused by
an invalid server name or credentials, or by insufficient permission. It
can also be caused by the role manager feature not being enabled. Click
the button below to be redirected to a page where you can choose a new
data store.
The following message may help in diagnosing the problem: Default
Membership Provider could not be found.
(C:\VStudio2005\Nialls\web.config line 15)
I already did run aspne_regsql succesfully. I have the database under a
sql server 2005 named instance, which
is currently running. I also have a default instace of sqlserver 2000.
Any help is appreciated.
Carlos.