in

Dotnetpanel Forums

Community support forums for DotNetPanel products

HUGE DNP Issue - Resources not removed when user account deleted

Last post 07-23-2008 11:53 AM by Feodor Fitsner. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • 07-17-2008 9:31 AM

    HUGE DNP Issue - Resources not removed when user account deleted

    So I had a wonderful discovery today, when a user account is deleted from the system (using either WHMCS or directly through DotNetPanel), DotNetPanel does not actually remove any resources such as files, IIS sites, FTP Accounts, Mail Domains, DNS, etc etc

    This is a really big deal, because essentially a user can be cancelled for non-payment and everything would still be up and running. Can we get someone to look at this ASAP because this should be a core function.

  • 07-17-2008 9:51 AM In reply to

    • kent
    • Top 25 Contributor
    • Joined on 04-02-2006
    • Timisoara
    • Posts 348

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Hi. When deleting a hosting space it may take a few minutes until DNP will delete everything related to that hosting space. When deleting a hosting space check out Serveradmin > Running Tasks to see when the delete task is completed. Also check audit log from DNP to see if there are any related errors.

    I have just checked this scenario and i can't reproduce this problem.

    Dan Petru, S & M Specialist
    DotNetPanel Software - Professionally developed software for hosting businesses
    http://www.dotnetpanel.com
  • 07-17-2008 10:05 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Dan,

    There are no errors in the logs related to this, but there are A LOT of DNP errors related to the other Server 2008 issues I listed. If you'd like I'd be glad to show you how I can reproduce this. Not on 1 server, but on 3 different servers....

  • 07-17-2008 11:11 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    I would like to see those errors too.

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 07-17-2008 11:33 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Here are a few of the more common ones, I have triple checked the configuration on the servers, everything is correct according to your docs:

    Log Name:      DotNetPanel
    Source:        DotNetPanel
    Date:          7/17/2008 10:15:38 AM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      RSNET6
    Description:
    [7/17/2008 10:15:38 AM] ERROR: 'Windows Server 2008' MoveFile
    System.Exception: Specified file is not found!
       at DotNetPanel.Providers.Utils.FileUtils.MoveFile(String sourcePath, String destinationPath)
       at DotNetPanel.Providers.OS.Windows2003.MoveFile(String sourcePath, String destinationPath)
       at DotNetPanel.Server.OperatingSystem.MoveFile(String sourcePath, String destinationPath)

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="DotNetPanel" />
        <EventID Qualifiers="0">0</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-07-17T14:15:38.000Z" />
        <EventRecordID>419</EventRecordID>
        <Channel>DotNetPanel</Channel>
        <Computer>RSNET6</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[7/17/2008 10:15:38 AM] ERROR: 'Windows Server 2008' MoveFile
    System.Exception: Specified file is not found!
       at DotNetPanel.Providers.Utils.FileUtils.MoveFile(String sourcePath, String destinationPath)
       at DotNetPanel.Providers.OS.Windows2003.MoveFile(String sourcePath, String destinationPath)
       at DotNetPanel.Server.OperatingSystem.MoveFile(String sourcePath, String destinationPath)
    </Data>
      </EventData>
    </Event>

     

     

    -----------------------------------------------------------------------------------------

     

    Log Name:      DotNetPanel
    Source:        DotNetPanel
    Date:          7/17/2008 9:34:08 AM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      RSNET6
    Description:
    [7/17/2008 9:34:08 AM] ERROR: 'Internet Information Services 7.0' GetSitesAccounts
    System.Runtime.InteropServices.COMException (0x80070032): Filename: \\?\D:\HostingSpaces\danghoan\danghoanganh.net\wwwroot\web.config
    Line number: 16
    Error: The configuration section 'membership' cannot be read because it is missing a section declaration


       at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
       at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
       at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath, Type type)
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.[T](String , ManagementScope )
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.GetSection[T](String siteId)
       at ..(String )
       at DotNetPanel.Providers.Web.IIs70.GetSitesAccounts(String[ siteIds)
       at DotNetPanel.Server.WebServer.GetSitesAccounts(String[ siteIds)

    Event Xml:
    <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='DotNetPanel'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2008-07-17T13:34:08.000Z'/><EventRecordID>418</EventRecordID><Channel>DotNetPanel</Channel><Computer>RSNET6</Computer><Security/></System><EventData><Data>[7/17/2008 9:34:08 AM] ERROR: 'Internet Information Services 7.0' GetSitesAccounts
    System.Runtime.InteropServices.COMException (0x80070032): Filename: \\?\D:\HostingSpaces\danghoan\danghoanganh.net\wwwroot\web.config
    Line number: 16
    Error: The configuration section 'membership' cannot be read because it is missing a section declaration


       at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
       at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
       at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath, Type type)
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.[T](String , ManagementScope )
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.GetSection[T](String siteId)
       at ..(String )
       at DotNetPanel.Providers.Web.IIs70.GetSitesAccounts(String[ siteIds)
       at DotNetPanel.Server.WebServer.GetSitesAccounts(String[ siteIds)
    </Data></EventData></Event>

     

    ----------------------------------------------------------------------------

     

    Log Name:      DotNetPanel
    Source:        DotNetPanel
    Date:          7/17/2008 9:31:04 AM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      RSNET6
    Description:
    [7/17/2008 9:31:04 AM] ERROR: 'Internet Information Services 7.0' GetSite
    System.Runtime.InteropServices.COMException (0x80070032): Filename: \\?\D:\HostingSpaces\danghoan\danghoanganh.net\wwwroot\web.config
    Line number: 16
    Error: The configuration section 'membership' cannot be read because it is missing a section declaration


       at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
       at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
       at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath, Type type)
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.[T](String , ManagementScope )
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.GetSection[T](String siteId)
       at ..(String )
       at DotNetPanel.Providers.Web.IIs70.(WebVirtualDirectory )
       at DotNetPanel.Providers.Web.IIs70.GetSite(String siteId)
       at DotNetPanel.Server.WebServer.GetSite(String siteId)

    Event Xml:
    <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='DotNetPanel'/><EventID Qualifiers='0'>0</EventID><Level>2</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2008-07-17T13:31:04.000Z'/><EventRecordID>410</EventRecordID><Channel>DotNetPanel</Channel><Computer>RSNET6</Computer><Security/></System><EventData><Data>[7/17/2008 9:31:04 AM] ERROR: 'Internet Information Services 7.0' GetSite
    System.Runtime.InteropServices.COMException (0x80070032): Filename: \\?\D:\HostingSpaces\danghoan\danghoanganh.net\wwwroot\web.config
    Line number: 16
    Error: The configuration section 'membership' cannot be read because it is missing a section declaration


       at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
       at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
       at Microsoft.Web.Administration.Configuration.GetSection(String sectionPath, Type type)
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.[T](String , ManagementScope )
       at DotNetPanel.Providers.Web.Iis.Common.ConfigurationModuleService.GetSection[T](String siteId)
       at ..(String )
       at DotNetPanel.Providers.Web.IIs70.(WebVirtualDirectory )
       at DotNetPanel.Providers.Web.IIs70.GetSite(String siteId)
       at DotNetPanel.Server.WebServer.GetSite(String siteId)
    </Data></EventData></Event>

     

    ----------------------------------------------------------------------------------------

     Log Name:      DotNetPanel
    Source:        DotNetPanel
    Date:          7/17/2008 1:59:41 AM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      RSNET5
    Description:
    [7/17/2008 1:59:41 AM] ERROR: Generic failure
    System.Management.ManagementException: Generic failure
       at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at System.Management.ManagementObject.InvokeMethod(String methodName, Object[ args)
       at DotNetPanel.Providers.DNS.MsDNS.AddTxtRecord(String zoneName, String host, String text)
       at DotNetPanel.Providers.DNS.MsDNS.AddZoneRecord(String zoneName, DnsRecord record)

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="DotNetPanel" />
        <EventID Qualifiers="0">0</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-07-17T05:59:41.000Z" />
        <EventRecordID>3737</EventRecordID>
        <Channel>DotNetPanel</Channel>
        <Computer>RSNET5</Computer>
        <Security />
      </System>
      <EventData>
        <Data>[7/17/2008 1:59:41 AM] ERROR: Generic failure
    System.Management.ManagementException: Generic failure
       at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at System.Management.ManagementObject.InvokeMethod(String methodName, Object[ args)
       at DotNetPanel.Providers.DNS.MsDNS.AddTxtRecord(String zoneName, String host, String text)
       at DotNetPanel.Providers.DNS.MsDNS.AddZoneRecord(String zoneName, DnsRecord record)
    </Data>
      </EventData>
    </Event>

  • 07-22-2008 8:54 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

  • 07-22-2008 11:38 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Those errors are not related to hosting space deletion.

    Could you please try creating a very basic space with few resources and then try deleting it?

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 07-22-2008 3:50 PM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    I just did this a couple of hours ago, I'll try again with 2.5.0.

  • 07-22-2008 3:55 PM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Just did it again....it said "The following will be removed" -- nothing was removed, no running tasks....

    The files are still there
    The IIS site is still there
    DNS records are still there
    Users are still there

  • 07-22-2008 4:15 PM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    No errors in Audit Log?

    Are you deleting entire user account or just a hosting space?

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 07-23-2008 8:17 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    00:00:00
    User: 365
    00:00:00
    Start analyze 11 service (2 items)
    00:00:00
    Invoke DeleteServiceItems method ('acrazytestdomain.com' - 'acrazytestdomain.com.cluster2.reliabledomainspace.com' items) - 1 attempt
    00:00:00
    End analyze 11 service (2 items)
    00:00:00
    Start analyze 3 service (2 items)
    00:00:00
    Invoke DeleteServiceItems method ('acrazytestdomain.com' - 'acrazytestdomain.com.cluster2.reliabledomainspace.com' items) - 1 attempt
    00:00:00
    End analyze 3 service (2 items)
    00:00:00
    Start analyze 23 service (1 items)
    00:00:00
    Invoke DeleteServiceItems method ('acrazytestdomain.com' - 'acrazytestdomain.com' items) - 1 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    Invoke DeleteServiceItems method ('acrazytestdomain.com' - 'acrazytestdomain.com' items) - 2 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    Invoke DeleteServiceItems method ('acrazytestdomain.com' - 'acrazytestdomain.com' items) - 3 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    System.Exception: The number of attemtps has been reached. The whole operation aborted.
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    End analyze 23 service (1 items)
    00:00:00
    Start analyze 22 service (1 items)
    00:00:00
    Invoke DeleteServiceItems method ('C:\HostingSpaces\reliablesitereview1' - 'C:\HostingSpaces\reliablesitereview1' items) - 1 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    Invoke DeleteServiceItems method ('C:\HostingSpaces\reliablesitereview1' - 'C:\HostingSpaces\reliablesitereview1' items) - 2 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    Invoke DeleteServiceItems method ('C:\HostingSpaces\reliablesitereview1' - 'C:\HostingSpaces\reliablesitereview1' items) - 3 attempt
    00:00:00
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not load file or assembly 'DNP.Providers.Base, Version=2.5.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
    at DotNetPanel.Providers.ServiceProvider.DeleteServiceItems(SoapServiceProviderItem[ items)
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    System.Exception: The number of attemtps has been reached. The whole operation aborted.
    at DotNetPanel.EnterpriseServer.PackageAsyncWorker.ProcessServiceItems(Boolean changeState, Boolean enabled, Int32 serviceId, List`1 items)
    00:00:00
    End analyze 22 service (1 items)
  • 07-23-2008 10:54 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    Resolved by uninstalling and re-installing all the DNP Servers.

  • 07-23-2008 11:53 AM In reply to

    Re: HUGE DNP Issue - Resources not removed when user account deleted

    That's correct, those error were related to wrong DNP Server version. Most probably DNP Enterprise Server was upgraded to the latest 2.5.0, but DNP Servers not.

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
Page 1 of 1 (13 items)
Powered by Community Server (Commercial Edition), by Telligent Systems