473,409 Members | 1,970 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,409 software developers and data experts.

Website Administrator writes two instances of each user into the database

I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2
development. After installing Visual Studio and SQL Express RTM my
application has blown up. Logging in to the application became
realllllllllllly slow. Content in LoginView Role Groups was not displaying
even after a user in a role had logged in.

It was taking about 15 seconds or so for the login control to display when
the login link was selected on the homepage. I would hear two page clicks
after selecting the Login link. hearing two clicks made me wonder if the
page was posting back twice. Furthermore, entering text into textbox
controls on a page now throws a stack overflow at line: 0 in a windows
dialog. This is the oddest page behavior I have ever experienced. Hello 2.0.

So this all made me suspicious and I went into the database and observed
there were two instances of each user in the aspnet_Users table, a table
that is created by aspnet_regsql when setting up Membership, Roles and
Profiles.

After observing the redundant records I then used the Website Administration
tool to delete all users and confirmed no user could login to the
application. It was interesting to note the login control would then load
without waiting when trying to login from the homepage. The performance
problem seemed to have been resolved. I hoped I had resolved the entire
problem but stack overflows persisted when entering text into textboxes
displayed by an instance of the Wizard control.

What is interesting to observe is the stack overflow does not happen until
the second step in the Wizard control and the value is always at line zero
for all subsequent steps in the Wizard control each of which will throw the
error into a dialog when selecting the Wizard's next button. I really have
no experience with overflow circumstances in a web page so I went back into
the database to look around.
Lo and beholdski the aspnet_Users table still contained records populated
with user data. The same redundant instances (two of each user) were still
present in the database even though I had used the Website Administrator to
delete users. So I used Enterprise Manager and deleted all aspnet_* tables
and ran aspnet_regsql on the database thinking a fresh install of Membership
would resolve this problem and get rid of the redundant records and all
users which was okay because the users were proxy test dummies.

After applying aspnet_regsql I confirmed the aspnet_ tables were installed
into the database restoring a fresh instance of Membersghip. The
aspnet_Users table was empty and I started feeling I would not see anymore
stack overflows. So I then used the Website Administration tool and created
two users. Tried to login and the same thing all over again.

Each user is being created in the database twice and the stackI applied
aspnet_regsql to SQL2K which was working fine throughout Beta 2. After
installing 2.0 RTM I'm having all kinds of problems. Logging in became
realllllllllllly slow. Content in Role Group sections was not displaying
even though a user with a role had logged in after waiting for 15 seconds or
so for the login control to display when the login link was selected. I
would hear two page clicks when selecting the Login link. Furthermore,
entering text into textbox controls now throws a Stack overflow at line: 0
error.

This made me suspicious and I observed there were two instances of each user
in the aspnet_Users table.

I used the Website Administration tool to delete the users and confirmed no
user could login and the display of the login control appeared snappy as one
would expect yet stack overflows persisted. I then observed the aspnet_Users
table still contained the users including redundant instances (two of each
user). So I used Enterprise Manager and deleted all aspnet_* tables and ran
aspnet_regsql on the database thinking a fresh install of Membership would
resolve this problem.

After applying aspnet_regsql I confirmed the aspnet_* tables were installed
into the database and the aspnet_Users table was empty. I then used the
Website Administration tool and created two users. Tried to login and the
same thing all over again.

Each user is being created in the database twice and the stack continues to
overflow.

What the fugowi could be going on here?
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

Nov 22 '05 #1
0 1654

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

Similar topics

4
by: Roland Riess | last post by:
Hi all, at the moment i am developing an app which is sort of an interface to copy data from one database to another and it shall run as a service. As there are several databases the app must be...
2
by: clintonG | last post by:
Website Administrator is adding two users into the aspnet_Users table each time it is used to add a new user. It is also time stamping 6 hours later that the actual system time when the user is...
0
by: clintonG | last post by:
This is wierd. After seeing this anomaly in a Beta 2 app I carried over into RTM 2.0 I've confirmed the anomaly in two different basic page applications I created for testing using two fresh...
2
by: TTT | last post by:
Hi, I have developed a website from the model "Starter kits Classified". Well, the application works good, no problem in my development environment. It uses a SqlServer 2005 express database...
1
by: Ned Balzer | last post by:
Hi all, I have a problem that has me stumped. I developed an asp.net 2.0 application and it works fine. It is located in a subweb of a website, so for instance the main site is called...
1
by: selvamcbe | last post by:
sir I have a problem with installtion of phpbb 2 Forum in my website... I am having a website named http://www.clickonlinejobs.com Also i plan to include forum with it.So i have added my forum in...
1
by: R.A.M. | last post by:
Hello, I have started programming ASP.NET application using SQL Server 2005 Express Edition. The problem is that when C# code tries to access aspnetdb database, for example:...
3
by: =?Utf-8?B?SGVyYg==?= | last post by:
Can I use the Website Administration tool to manage users and roles for multiple ASP.NET applications using a single, common ASPNETDB? If so, what changes do I have to make to the web.config...
4
by: bnashenas1984 | last post by:
Hi everyone I'm sure there are many open source Ecommerce scripts out there but because of some reasons i'm building my own. I'm having a problem with reserving products. Here's what I need :...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.