bug in vs2005 for asp .net 2.0 ?

C

Carlos

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.
 
C

Carlos

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..
 
C

Carlos

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top