Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot delete usersCannot delete users
Previous
 
Next
New Post
3/31/2006 6:06 PM
 

I think it's a DNN mistake ... I used this SQL Script:

DECLARE @VUserID VARCHAR(512)

SELECT @VUserID = UserId FROM ASPNET_USERS WHERE UserName = 'promero'
DELETE FROM ASPNET_USERSINROLES WHERE UserId = @VUserID
DELETE FROM ASPNET_MEMBERSHIP WHERE UserId = @VUserID
DELETE FROM ASPNET_PROFILE WHERE UserId = @VUserID

DECLARE @IUserID INT

SELECT @IUserID = UserID FROM DNN4_USERS WHERE UserName = 'promero'
DELETE FROM DNN4_USERPORTALS WHERE UserId = @IUserID
DELETE FROM DNN4_USERROLES WHERE UserId = @IUserID
DELETE FROM DNN4_USERSONLINE WHERE UserId = @IUserID
DELETE FROM DNN4_PROFILE WHERE UserId = @IUserID

Pavel Romero

 
New Post
5/12/2006 11:44 AM
 

I had this problem too! Same sintoms, unable to delete users, no error messages.

In my case the reason is a bad-handled exception raised by an invalid string assigned to the subject of the notification message.

I found some invalid chars (TAB,NL,CR, ...) in the localized message EMAIL_USER_UNREGISTER_SUBJECT. To solve the problem go to the languages section and cleanup the text assigned to EMAIL_USER_UNREGISTER_SUBJECT deletinng all tabs, leading and trailing NL and CR. Hope can help.

regards. 

 
New Post
5/27/2006 9:36 AM
 

I had this problem too.

In my case the problem was caused from one mail mistaken in the ADMIN and HOST Account

The default email address support@localhost: .... is the cause !!!  I have changed it with good Email address and now it works correctly !!

Sorry for my bad English

regards.

 
New Post
6/9/2006 9:44 AM
 

Hi,

I face the same problem. When I'm running DNN 4.0.3 on my local PC (XP SP2, MSDE) then I can delete users. When I work on my hosting area (Windows 2k3, SQL 2000) I can not delete users. My users loose all info in their profiles, but the user is not being deleted. I'm not running AD or Windows Authentication, but I see in the log, I have these two entries just after the deleting process:

AssemblyVersion: 04.00.03
Method: System.DirectoryServices.DirectoryEntry.Bind
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: DNN Test
UserID: 1
UserName: host
ActiveTabID: 52
ActiveTabName: Authentication
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://***.***.***/Admin/Authentication/tabid/52/ctl/Login/Default.aspx
ExceptionGUID: a708de18-f354-4590-a688-ce4f846deeec
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: The specified domain either does not exist or could not be contacted.
Message: System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.PropertyValueCollection.PopulateList() at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) at System.DirectoryServices.PropertyCollection.get_Item(String propertyName) at DotNetNuke.Security.Authentication.ADSI.Utilities.GetRootForestPath(Path ADSIPath) in C:\Inetpub\wwwroot\source\Library\Components\ADSI\Utilities.vb:line 174
StackTrace:
Source:
Server Name: WEB22

and then:

AssemblyVersion: 04.00.03
Method: System.DirectoryServices.DirectoryEntry.Bind
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: DNN Test
UserID: 1
UserName: host
ActiveTabID: 52
ActiveTabName: Authentication
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://***.***.***/Admin/Authentication/tabid/52/ctl/Login/Default.aspx
ExceptionGUID: 6c02e0ae-8eee-4ce5-83c5-85dfd5458b48
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: The specified domain either does not exist or could not be contacted.
Message: System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Exists(String path) at DotNetNuke.Security.Authentication.ADSI.Configuration..ctor() in C:\Inetpub\wwwroot\source\Library\Components\ADSI\Configuration.vb:line 222
StackTrace:
Source:
Server Name: WEB22

 
New Post
6/23/2006 11:27 AM
 
In my case, i have the following message when i attempt to delete user:
 
InnerException: Unable to connect to SQL Server database.
Message: System.Web.HttpException: Unable to connect to SQL Server database. ---> System.Web.HttpException: Unable to connect to SQL Server database. ---> System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning
 
Or i'm running under a SQL Server 2000 database, then i don't understand why DNN membership provider search a SQL Server 2005 connection.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot delete usersCannot delete users


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out