473,386 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

bug in vs2005 for asp .net 2.0 ?

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.
Nov 20 '05 #1
3 1692
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.

Nov 20 '05 #2
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.


Nov 20 '05 #3
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.



Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor...
3
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or...
9
by: Jeff Gaines | last post by:
I have just installed VS 2005 (MSDN version) and I am having problems coping files to the Projects folder while VS2005 is running. The projects folder is on a network share and I have used...
5
by: GaryDean | last post by:
(my original post was inaccurate but this post accurately describes what I think is a very bad vs2005 bug) short description... Deleting a dataset and recreating it from the dataadapter causes...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
7
by: Frank Rizzo | last post by:
Is it me or is the speed of VS2005 actually slower than VS2003? The startup is pretty bad - even though I changed VS to display an empty environment. When I create a new form and want to change...
9
by: yevvi | last post by:
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003. We want to switch the build to use VS2005. I have read that in VS2005 runtime libraries come as...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
5
by: Gumby | last post by:
Hi there! A "special" project team in our department has decided to purchase XMLSpy. We standardize on VS2005 as our IDE and up to now everyone has used the XML parser in VS2005. Are there...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.