de-DEen-US
Blog_List
The blog about Microsoft products by Matthias Schlomann
 Matthias Schlomann
 18  3641  12/9/2015
Categories
Blog

Truncate Your DNN Logs In Your MS SQL Database

By Matthias Schlomann on 8/29/2018
If your database is full, your DNN page will stop working. This means that it is no longer possible to execute an SQL script via your DNN instance.

Remedy in this case only a direct connection with the Microsoft SQL Management Studio to your database. However, this is only possible if they either have direct remote access to the web server or the ports to your SQL server have been enabled in the firewall.

In the event that you have a connection to Microsoft SQL Management Studio with your database, do the following:

 

 

  1. Open Microsoft SQL Server Management Studio
  2. Connect to your Database
  3. Click New Query button
  4. Paste the following Script into the New Query page replacing [database name] with the name of your database 

     

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

  5. Click Execute

 

SQL Server
DNN
DNN Platform
DNN Plattform
DNN Portal
Logs
MS SQL
Blog_Archive
Blog_Tags
Privacy Statement | Terms Of Use | © 1994-2024 by AARSYS - Matthias Schlomann