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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I want to remove Portal but I got SQL errorI want to remove Portal but I got SQL error
Previous
 
Next
New Post
10/10/2014 7:15 PM
 
Dear Sebastian, I have another problem also for same site. My SQL is growing very Fast and now it's Very Huge capacity. Look:

The 'savrina.ae' subscription, owned by user 'Ahmad Yaghoubi', is approaching or already exceeded the resource usage limits:

Disk space: 10 GB limit / 12340.5 MB (121%) used / 0 MB (0%) remaining
Microsoft SQL database quota: 512 MB limit / 6037.6 MB (1179%) used / 0 MB (0%) remaining

It is wonderful! I Use following Query but nothing happen :(

use [savrina_ae_]
truncate table sitelog
truncate table eventlog
truncate table schedulehistory

Also Files are less than 700MB but in Parallel Plesk 12.08 Like that Message come to me every day.....

Is it Plesk Mistake and bug? or DNN?
 
New Post
10/11/2014 3:00 AM
 
maybe you are suffering from thousands of fake user registrations
SELECT Count(1) N FROM {databaseOwner}[{objectQualifier}Users]
another option would be an exceeding transaction log, which should get truncated upon frequent backups.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/11/2014 6:08 AM
 
Yes, Exactly.... My GOD....
It's thousands of fake user registrations... but I could not seen in User Account List! my user account list is only 3 Users but in dbo.aspnet_Membership they are thousands ... my God///

How can Delete them? Because I Never let Register for this site and I put "None" in site settings....!!!! WOW... There is big problem in DNN Registration system I think. I don't know...
I have 8 Websites like this....
 
New Post
10/11/2014 9:08 AM
 
please check users table, are there records for the fake users in it as well?
Which DNN version are you running on these sites?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/11/2014 9:08 AM
 
I execute following query but it just deleted 30 users from 13785 fake users. I think these users was on old Sub-Portal as I could not delete it before as I told you before:

UPDATE savrina_ae_.dbo.UserPortals SET isDeleted = 1
WHERE UserID NOT IN (SELECT UserID FROM savrina_ae_.dbo.Users WHERE isSuperuser = 1 OR UserName Like 'Admin')

Now, I have 3 portals in on DNN: "0" and "4" and "5"

I could not Delete Portal "0" because that error:

Error: Site Management is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out --- End of inner exception stack trace --- at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at PetaPoco.Database.Execute(String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteNonQuery(String connectionString, CommandType type, Int32 timeout, String sql, Object[] args) at DotNetNuke.Data.SqlDataProvider.ExecuteNonQuery(String procedureName, Object[] commandParameters) at DotNetNuke.Data.DataProvider.DeletePortalInfo(Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.DeletePortalInternal(Int32 portalId) at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath) at DotNetNuke.Modules.Admin.Portals.Portals.OnGridDeleteCommand(Object source, GridCommandEventArgs e) --- End of inner exception stack trace ---

How can Delete this Portal and how can delete about 14,000 Users? I saw these list on dbo.Membership also on dbo.UserPortal and dbo.Users.... I don't know how can finish this Story...
I have 8 Other Websites with same problem only for Spam Registration. My GOD.... Please help....
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I want to remove Portal but I got SQL errorI want to remove Portal but I got SQL error


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