bug in vs2005 for asp .net 2.0 ?

Discussion in 'ASP .Net' started by Carlos, Nov 18, 2005.

  1. Carlos

    Carlos Guest

    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.
     
    Carlos, Nov 18, 2005
    #1
    1. Advertising

  2. Carlos

    Morgan Guest

    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/d...ary/en-us/dnaspp/html/ASPNETProvMod_Intro.asp


    "Carlos" <> wrote in message
    news:e33%23$i%...
    > 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.
    >
     
    Morgan, Nov 18, 2005
    #2
    1. Advertising

  3. Carlos

    Carlos Guest

    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" <> wrote in message
    news:e%23JKr6%...
    > 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/d...ary/en-us/dnaspp/html/ASPNETProvMod_Intro.asp
    >
    >
    > "Carlos" <> wrote in message
    > news:e33%23$i%...
    >> 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.
    >>

    >
    >
     
    Carlos, Nov 18, 2005
    #3
  4. Carlos

    Carlos Guest

    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" <> wrote in message
    news:...
    > 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" <> wrote in message
    > news:e%23JKr6%...
    >> 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/d...ary/en-us/dnaspp/html/ASPNETProvMod_Intro.asp
    >>
    >>
    >> "Carlos" <> wrote in message
    >> news:e33%23$i%...
    >>> 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.
    >>>

    >>
    >>

    >
    >
     
    Carlos, Nov 19, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dbuchanan
    Replies:
    7
    Views:
    7,487
    jtsmith2
    May 23, 2006
  2. John

    Bug in VS2005 Beta 2?

    John, Sep 11, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    670
    phreaks
    Jul 21, 2006
  3. =?Utf-8?B?Qm9i?=
    Replies:
    2
    Views:
    413
    =?Utf-8?B?Qm9i?=
    Jan 30, 2006
  4. Terry Jolly
    Replies:
    5
    Views:
    3,544
    Terry Jolly
    May 12, 2006
  5. Ronald S. Cook
    Replies:
    2
    Views:
    664
    Mark Fitzpatrick
    Jul 23, 2008
Loading...

Share This Page