Discussion:
Problem using ASP.Net Web Site Administration Tool with UPM Provider
(too old to reply)
Chris
2006-09-06 14:21:16 UTC
Permalink
I have implemented the UpmMembershipProvider in a site and can
successfully register users and login using the ASP.Net 2.0 Membership
controls. However, when I try to use the "Security" tab of the ASP.Net
Web Site Administration Tools I am presented with the following error:


"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: Object reference not set to an instance of an
object. (C:\Documents and Settings\Administrator\My Documents\Visual
Studio 2005\Projects\TestSolution\TestProject\web.config line 453)."


Line 453 of the web.config file points to the following:

<membership defaultProvider="UpmProvider"
userIsOnlineTimeWindow="15">
<providers>
<add name="UpmProvider"

type="Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider"
logonNameProperty="GeneralInfo.email_address"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
passwordLockoutPeriod="0"
requiresApproval="false"
writeExceptionsToEventLog="true"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
requiresQuestionAndAnswer="false"
enablePasswordReset="true"
enablePasswordRetrieval="true"
requiresUniqueEmail="true"
passwordFormat="Clear" />
</providers>
</membership>



Is the ASP.Net Web Site Administration Tool supported for use with the
UPMMembershipProvider?
If so, are there any additional permissions settings that need to be
configured?
David Hargis [MSFT]
2006-09-07 18:00:47 UTC
Permalink
Hi Chris. Thanks for reporting this issue. I'd recommend that you contact
the Microsoft support group (see
http://www.microsoft.com/services/microsoftservices/srv_support.mspx).

Try configuring the UpmMembershipProvider through ths IIS Manager (ASP.NET
tab of the site properties dialog, Authentication section) if you want to
avoid manual editing of web.config.

Thanks,
David

--------------------
From: "Chris" <***@gmail.com>
Newsgroups: microsoft.public.commerceserver.userprofilemgt
Subject: Problem using ASP.Net Web Site Administration Tool with UPM
Provider
Date: 6 Sep 2006 07:21:16 -0700
Organization: http://groups.google.com
Lines: 47
Message-ID: <***@h48g2000cwc.googlegroups.com>
NNTP-Posting-Host: 81.171.156.97
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1157552481 24679 127.0.0.1 (6 Sep 2006 14:21:21
GMT)
X-Complaints-To: groups-***@google.com
NNTP-Posting-Date: Wed, 6 Sep 2006 14:21:21 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
Complaints-To: groups-***@google.com
Injection-Info: h48g2000cwc.googlegroups.com; posting-host=81.171.156.97;
posting-account=pxnZrw0AAADuhhYBW8bAHNX5lllo2fQ7
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS01.phx.gbl!news-out.c
wix.com!newsfeed.cwix.com!newscon02.news.prodigy.net!prodigy.net!nx02.iad01.
newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.gig
anews.com!nntp.giganews.com!postnews.google.com!h48g2000cwc.googlegroups.com
!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.commerceserver.userprofilemgt:3644
X-Tomcat-NG: microsoft.public.commerceserver.userprofilemgt

I have implemented the UpmMembershipProvider in a site and can
successfully register users and login using the ASP.Net 2.0 Membership
controls. However, when I try to use the "Security" tab of the ASP.Net
Web Site Administration Tools I am presented with the following error:


"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: Object reference not set to an instance of an
object. (C:\Documents and Settings\Administrator\My Documents\Visual
Studio 2005\Projects\TestSolution\TestProject\web.config line 453)."


Line 453 of the web.config file points to the following:

<membership defaultProvider="UpmProvider"
userIsOnlineTimeWindow="15">
<providers>
<add name="UpmProvider"

type="Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider"
logonNameProperty="GeneralInfo.email_address"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
passwordLockoutPeriod="0"
requiresApproval="false"
writeExceptionsToEventLog="true"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
requiresQuestionAndAnswer="false"
enablePasswordReset="true"
enablePasswordRetrieval="true"
requiresUniqueEmail="true"
passwordFormat="Clear" />
</providers>
</membership>



Is the ASP.Net Web Site Administration Tool supported for use with the
UPMMembershipProvider?
If so, are there any additional permissions settings that need to be
configured?
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Loading...