in

Dotnetpanel Forums

Community support forums for DotNetPanel products

DNP 2.5.0 and Windows 2008 and other concerns

Last post 07-24-2008 3:29 PM by Feodor Fitsner. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 07-22-2008 9:03 PM

    DNP 2.5.0 and Windows 2008 and other concerns

    First of all I have Installed DNP on a Stock windows server. I have several issues which I have posted at:

    http://forum.dotnetpanel.com/forums/p/4418/21812.aspx#21812

    http://forum.dotnetpanel.com/forums/p/4436/21894.aspx#21894

    Today I upgraded to DNP 2.5.0 and checked to see whether the symptoms mentioned in above threads are gone or not. They are not gone in DNP 2.5.0

    I am upset. As this stuff is not working as I wanted it to be and is not production ready, I decided to further simulate a worst case scenario where a server crashes and we loose everything and we have only backups and nothing else.

    At this point uninstalled DNP completely! reinstalled, configured all services DNS, Mail, Database(Sql Express) etc on the server outside of DNP. Then deleted the DNP Enterprise Server database,  attached my backed up DNPEnterpriseserver db in SQL studio, deleted DNP Enterprise user and added again with new password that is set in the current DNP Enterprise server Install. Also changed the crypto key in the web.config to the old key in my backup Enterprise server web.config.

    At this point everything looked so good, able to login to DNP portal, able to see my users, their databases their mail accounts etc. I was very happy Smile

    Here started struggle, first symptom is when I tried to create a database new database is just not created, I see no error also. So I deleted the MsSql 2005 service in hopes that I  can just add it again so that it might work again. To my astonishment I am not able to add MsSql 2005 service at all.

    "Error registering server service" this is the error I get and as below it is a partial paste.

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

    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at DotNetPanel.EnterpriseServer.TaskManager.WriteLogRecord(Int32 severity, String text, String stackTrace, String[ textParameters)
    at DotNetPanel.EnterpriseServer.TaskManager.WriteError(Exception ex)
    at DotNetPanel.EnterpriseServer.ServerController.IsInstalled(Int32 serverId, Int32 providerId)
    at DotNetPanel.EnterpriseServer.esServers.IsInstalled(Int32 serverId, Int32 providerId)
    --- End of inner exception stack trace ---
    ----------------------------------------------

    Wow then I just tried to Update other services to see if they are working! That is a no go also... Every where every service Errors in red all the way for all services.

    "Error while installing service on the remote server" please note I got this error when I tried to update a service.

    The error goes briefly like below

    ----------------------------------------------
    System.Web.Services.Protocols.SoapHeaderException: System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services3.Security.SecurityFault: The signature or decryption was invalid ---> System.Security.Cryptography.CryptographicException: WSE523: The CipherData contents are invalid.
    at Microsoft.Web.Services3.Security.Cryptography.SymmetricEncryptionFormatter.Decrypt(Byte[ data)
    at Microsoft.Web.Services3.Security.EncryptedData.Decrypt(XmlElement encryptedElement)
    --- End of inner exception stack trace ---

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

    At this point I got little worried and tried to create a hosting space, wooo error again as 'Error creating user account' but the thing is hosting space gets created even with this error but none of the resources does. Partial paste of the error as below.

    ----------------------------------------------
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'webserve' HOSTING_SPACE_WR ---> System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services3.Security.SecurityFault: The signature or decryption was invalid ---> System.Security.Cryptography.CryptographicException: WSE523: The CipherData contents are invalid.
    at Microsoft.Web.Services3.Security.Cryptography.SymmetricEncryptionFormatter.Decrypt(Byte[ data)
    at Microsoft.Web.Services3.Security.EncryptedData.Decrypt(XmlElement encryptedElement)
    --- End of inner exception stack trace ---

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

    Finally my Question is what have I done to experience so many errors! All I did was restore my old Enterprise db on a new DNP install, restored all resources websites, ftp accounts, mail accounts manually outside of DNP. I am able to login to Portal with my old Serveradmin pass, able to login with my old user and pass. Everything seems working. But something is literally bad that is throwing all errors as above.

    In my case I simulated a disaster on a test server that has 2 db's and 2 users. What if the failed server has 2000 users and numerous other resources. What if all these errors popup and customers are unable to manage their accounts through DNP control panel, unable to create spaces, databases, mail accounts, change passwords etc.

    My point is  Life is not pixel perfect and smooth, servers do go down, Harddisks do crash, backups do get corrupted. When all these can happen, why is that DNP is not friendly enough! giving so many errors. Why my life is so tough on this test server alone Sad What if this is real!

    If I put DNP in a production scenario and disaster like this strikes, what should I do. I think DNP documentation should have a dedicated section on Migration and Disaster recovery. As a matter of fact there may be a small setting I forgot to change that created this whole mess, also may be in this forum this might have been discussed before, but a central Migration and Disaster recovery guide in documentation takes me a long way and is needed. This is such an important topic that has to be discussed. Given this problem I can't deploy DNP in production. Reason is simple I can't use Load Balancers, Mirror servers etc because I am a small business man. The way my backup strategy works is the manual way such that when a disaster strikes I restore all data from my backup disk, reinstall or reconfigure DNP quickly using backups! For things that I can do perfectly myself why should I hire a higher level technician and pay him. To me DNP should handle all basic recovery scenarios just to be competitive as a small businessman.

    This is not a cry, right now I can uninstall everything and reinstall and configure everything to Mint condition in less than 1 hour but the thing is I loose my old data! which I hate.

    So what is the solution? please....
  • 07-22-2008 9:29 PM In reply to

    Re: DNP 2.5.0 and Windows 2008 and other concerns

    Just a quick note. "WSE523: The CipherData contents are invalid." error means wrong DNP Server access password. You should 1) reset the password on DNP Server using DNP Configuration Studio then 2) set this new password on server properties in DNP. To check that DNP Server connectivity is OK just click on "Windows Services" or "System Processes" links from server properties screen. This must fix all pasted errors from your post.

    Will comment on other issues later.

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

    Re: DNP 2.5.0 and Windows 2008 and other concerns

    Regarding this post:

    http://forum.dotnetpanel.com/forums/p/4436/21894.aspx#21894

    Could you please be more specific about that "hexadecimal" error?

    There are should be detailed messages in DNP Audit Log and DotNetPanel Windows event log. Also, steps to reproduce the error would be very helpful (what applications are you installing, what specific web settings do you have, etc.).

    I'm sorry if I'm repeating here, I'm just starting to lose track of all these "hexadecimal" exceptions Smile (there are several ones in work).

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

    Re: DNP 2.5.0 and Windows 2008 and other concerns

     

    Feodor Fitsner:

    Regarding this post:

    http://forum.dotnetpanel.com/forums/p/4436/21894.aspx#21894

    Could you please be more specific about that "hexadecimal" error?

    There are should be detailed messages in DNP Audit Log and DotNetPanel Windows event log. Also, steps to reproduce the error would be very helpful (what applications are you installing, what specific web settings do you have, etc.).

    I'm sorry if I'm repeating here, I'm just starting to lose track of all these "hexadecimal" exceptions Smile (there are several ones in work).

    Regarding this Hexadecimal error, right now I have a problem! I can't create a hosting space. This error is random I can say.

    I am using OS Windows 2008 Server Std, MSDNS, MSFTP, IIS7,HMailServer4.4, AWStats,Ms SQL Express 2005 with advanced services.

    My web settings are default except for php using isapi here.

    With this same setting I had random Hexadecimal errors, that is the same operation completes successfully and also gives Hexadecomal error randomly, Right now I tried 3 times to create a space with repetitive hexadecimal errors. First I have seen before it was random. I am completely stuck now as I can't go any further, without a space what can I do Huh?

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

    System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --




    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    pre {font-family:"Lucida Console";font-size: .9em}
    .marker {font-weight: bold; color: black;text-decoration: none;}
    .version {color: gray;}
    .error {margin-bottom: 10px;}
    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }





    Server Error in '/' Application.



    '', hexadecimal value 0x13, is an invalid character.





    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.





    Exception Details: System.ArgumentException: '', hexadecimal value 0x13, is an invalid character.



    Source Error:










    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.







    Stack Trace:











    [ArgumentException: '', hexadecimal value 0x13, is an invalid character.]

    System.Xml.XmlConvert.VerifyCharData(String data, ExceptionType exceptionType) +1899569

    System.Xml.DocumentXmlWriter.WriteString(String text) +26

    System.Xml.XmlWellFormedWriter.WriteString(String text) +84

    Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text) +9

    Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text) +9

    System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode) +700

    System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream) +1997

    System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e) +94

    System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() +1029

    System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context) +181

    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358

    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64











    Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434






    [ArgumentException]: '', hexadecimal value 0x13, is an invalid character.
    at System.Xml.XmlConvert.VerifyCharData(String data, ExceptionType exceptionType)
    at System.Xml.DocumentXmlWriter.WriteString(String text)
    at System.Xml.XmlWellFormedWriter.WriteString(String text)
    at Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text)
    at Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text)
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode)
    at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
    at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)
    at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
    at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->
    --.
    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.EnterpriseServer.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount)
    at DotNetPanel.Portal.UserCreateSpace.CreateHostingSpace()

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

    As to my pastes above inputting the right password in server settings solved it. As I said it was my ignorance I forgot this small thing thank you very much.

  • 07-23-2008 1:04 AM In reply to

    Re: DNP 2.5.0 and Windows 2008 and other concerns

    Ok I have some thing to say about this post here http://forum.dotnetpanel.com/forums/t/4451.aspx which is from Feodor.

    I have no problem with it that Paid tickets will get priority support at the same time I wish to say that there are exceptions to this thing.

    Like DNP should work with '0' errors with occasional bugs(bugs are common), right now when you take my problems with Windows 2008 I take them as bugs and they should be given utmost priority. They are not there because I have done something wrong. They are there because DNP have them.

    My point is I will not pay for DNP bugs to get them fixed fast. I will happily pay for support when I am not capable of configuring DNP right. There is lot of difference between these two things.

    Another thing is when DNP announces officially that DNP supports an OS say now Windows 2008, DNP should just work on this platform, if it doesn't then the problems are bugs and should be prioritized and fixed fast. I as customer will not pay DNP for bugs in their own software. I have already paid for the License.

    All the other things mentioned in the post are agreeable like reporting errors with specifics for better trouble shooting and saving time being more productive etc.

    For instance my Bug the Hexadecimal one has to be fixed for free it is a DNP bug and I am not the first one to report it. What can I do with DNP without the ability to create a hosting space. Regardless of DNP working well or not I do have to pay for my server every month. Who is going to pay for it Big Smile I have to right... so Why will I be happy to pay for the server if DNP is not fine.

    I wanted to reply to that post itself but it was locked allowing no user suggestions and input which is sad. I know this may be overwhelming to DNP that there are so many BUGS, but you have to support your software, it is nice that we are using your software and reporting you the bugs which is good for DNP.

  • 07-23-2008 4:49 AM In reply to

    Hexadecimal issue solved for now!

    I have got rid of my 'Hexadecimal' error that was reported in my post above.

    How I did it is when I deleted the user space from DNP Portal, the deletion process was incomplete.

    The application pools for deleted domain are not cleaned up.
    The mail domain and accounts for deleted domain are not cleaned up(hMailServer 4.4.1 - Build 273)

    I manually deleted these, then created space without any error. Why these are not cleaned when a domain/space are deleted? I don't know.

    The 'Hexadecimal' error is basically a malformed XML statement or something, I don't know why it is malformed, I am least worried about it as long as DNP works great. How ever below is a paste from my event viewer.

    -------------------------------------
    This event is not displayed correctly because the underlying XML is not well formed. Below is the raw text of the event.

    0200x8000000000000079DotNetPanelWIN-W45CEFXSQAY[7/23/2008 2:53:06 PM] ERROR: 'Internet Information Services 7.0' CreateSite System.Exception: ApplicationPoolAlreadyExists at ..(String , String , String , String , Boolean , ManagedPipelineMode ) at DotNetPanel.Providers.Web.IIs70.(WebSite , Boolean ) at DotNetPanel.Providers.Web.IIs70.CreateSite(WebSite site) at DotNetPanel.Server.WebServer.CreateSite(WebSite site)
    ---------------------------------------

    I got this from an error event in the Windows event viewer --> DotNetPanel. Thanks to Feodor for pointing that out
    '5. Full error message (if exists) with stack trace from DotNetPanel Windows event log (standard Windows Event Viewer snap-in)'
    in his Read it first: How to correctly report about an issue here

    As soon as I read that I jumped right in and solved my problem.

    May be others who are having this 'Hexadecimal' errors might have to have a keen look at their Windows event viewer --> DotNetPanel events to solve their problems.

    I will continue to test my environment until I become confident that I can put DNP on my Production server replacing other one I am using now, don't ask me what it is please Wink

    Filed under:
  • 07-23-2008 8:50 PM In reply to

    Restore error still exists

    OS: 2008 Server Std

    DNS, FTP no 3rd party software used

    Mail server hMailServer 4.4.1 - Build 273

    MS SQL Express 2005 with advanced services

    Backup works, restore doesnt.

    Error reported in Audit log is as follows.

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

    Can't unzip backup set
    Access to the path 'C:\DNPBackupsTemp\serveradmin_633524799380926852' is denied.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name)
    at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime)
    at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, String fileFilter)
    at DotNetPanel.EnterpriseServer.FileUtils.UnzipFiles(String zipFile, String destFolder)
    at DotNetPanel.EnterpriseServer.BackupController.RestoreInternal(String taskId, Int32 userId, Int32 packageId, Int32 serviceId, Int32 serverId, Int32 storePackageId, String storePackageBackupPath, String storeServerBackupPath)

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

    There are no events recorded in Event Viewer ---> DotNetPanel

    I have manually checked the permissions of

    - DNPBackupsTemp folder.

    - The 2 temp folders created and empty in the DNPBackupsTemp when I clicked the restore button. the 2 folders that were created are

    serveradmin_633524799380770852

    serveradmin_633524799380926852

    - the DNPak file

    They all have  DNPEnterpriseServer user in security tab and has full control.

    This is current status of my system.

    I hope you will help in solving this bug.

    Regards.

     

     

  • 07-24-2008 12:22 PM In reply to

    Re: Restore error still exists

    Are you backuping (and then restoring) customer's hosting space being logged under serveradmin account, right?

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel Software - professionally developed software for hosting businesses
  • 07-24-2008 2:20 PM In reply to

    Re: Restore error still exists

    Feodor Fitsner:

    Are you backuping (and then restoring) customer's hosting space being logged under serveradmin account, right?

     

    Absolutely correct I am doing it as ServerAdmin. I wish I am not doing it wrong Embarrassed

    As ServerAdmin, I even tried to Backup and restore from ServerAdmin-->Account Home also without any success.

  • 07-24-2008 2:27 PM In reply to

    Re: Restore error still exists

    Wait, are you making backup of customer's space or "System" one?

    Or this is a backup of entire account?

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel Software - professionally developed software for hosting businesses
  • 07-24-2008 2:48 PM In reply to

    Re: Restore error still exists

    Ok until now in this thread I reported the restore error that I am getting when I try to restore a user account as serveradmin.

    Below is the error I encountered when restoring the whole system as serveradmin.

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

    Can't unzip backup set
    Access to the path 'C:\DNPBackupsTemp\serveradmin_633525451236286852' is denied.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name)
    at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime)
    at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, String fileFilter)
    at DotNetPanel.EnterpriseServer.FileUtils.UnzipFiles(String zipFile, String destFolder)
    at DotNetPanel.EnterpriseServer.BackupController.RestoreInternal(String taskId, Int32 userId, Int32 packageId, Int32 serviceId, Int32 serverId, Int32 storePackageId, String storePackageBackupPath, String storeServerBackupPath)

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

    Backup process works only thin I noticed not working in backup process is the Start and Finished time not getting displayed in the Backup popup.

    Thank you.

  • 07-24-2008 2:55 PM In reply to

    Re: Restore error still exists

    OK, so just to confirm (and add to the bug description).

    Being logged under "serveradmin" account you created backup of "Customer1" entire account.

    Then, again being logged under "serveradmin" you tried to restore that "Customer1" account from backup and got an error.

    Right?

    ...we need steps to reproduce.

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

    Re: Restore error still exists

    Yes you are right. I will try to explain how to reproduce this stuff.

    Customer account backup and restore scenario

    Serveradmin-->Customer-->Account home

    Click backup works except no start and finished timestamps in ajax backup popup.

    Click restore I get the error as mentioned above.

    Just a note I am not backing up in HostingSpace folder I am backing up into  server folder or unc path as C:\DNPBackupsTemp\UserBackup-customer-24072008.dnpak

    Serveradmin account backup and restore scenario

    Serveradmin-->Account home

    Click backup works except no start and finished timestamps in ajax backup popup.

    Click restore I get the error as mentioned above.

    Just a note I am not backing up in HostingSpace folder I am backing up into  server folder or unc path as C:\DNPBackupsTemp\UserBackup-serveradmin-24072008.dnpak

     

    Server Specs:

    OS: 2008 Server Std 32bit

    DNS, FTP no 3rd party software used

    Mail server hMailServer 4.4.1 - Build 273

    MS SQL Express 2005 with advanced services

    Thank you.

  • 07-24-2008 3:29 PM In reply to

    Re: Restore error still exists

    Great, thanks for the steps.

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