Please Help... Re: bug in vs2005 for asp .net 2.0 ?



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_sanin@xxxxxxxxx> wrote in message
news:OCWW4HJ7FHA.2384@xxxxxxxxxxxxxxxxxxxxxxx
> 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" <nomail@xxxxxxxx> wrote in message
> news:e%23JKr6%236FHA.3592@xxxxxxxxxxxxxxxxxxxxxxx
>> 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/default.aspx?pull=/library/en-us/dnaspp/html/ASPNETProvMod_Intro.asp
>>
>>
>> "Carlos" <chsanin@xxxxxxxxxxxxx> wrote in message
>> news:e33%23$i%236FHA.2012@xxxxxxxxxxxxxxxxxxxxxxx
>>> 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_Load() in
>>> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\Providers\chooseProviderManagement.aspx:line
>>> 13 at System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp,
>>> Object o) at
>>> System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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.
>>>
>>
>>
>
>


.