in

Dotnetpanel Forums

Community support forums for DotNetPanel products

Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

Last post 03-20-2010 7:28 AM by ChrisK. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-18-2010 5:29 PM

    • ChrisK
    • Not Ranked
    • Joined on 03-18-2010
    • Posts 5

    Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    DNNP 2.8.12:

    Creating web fails for client accounts and for serveradmin with the error:

    System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    Exception Details: System.ArgumentException: '', hexadecimal value 0x01, is an invalid character

  • 03-19-2010 2:38 AM In reply to

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    ChrisK:

    DNNP 2.8.12:

    Creating web fails for client accounts and for serveradmin with the error:

    System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    Exception Details: System.ArgumentException: '', hexadecimal value 0x01, is an invalid character

    This is a generic error message. However, could you please check DNP Server event log on the server if there is any errors related to the issue? Certainly there should be something...

    Best regards,
    Pavel Tsurbeleu, COO
    DotNetPanel Software - professionally developed software for hosting businesses
  • 03-19-2010 9:48 AM In reply to

    • ChrisK
    • Not Ranked
    • Joined on 03-18-2010
    • Posts 5

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    System Event Log message below.

    What's really strange is that I have created a user account, created space, web site and it's all working.

    When I wanted to do the same for another hosting plan it crashed and doesn't work for  the other account anymore. 

    Thread account name: *****\DNPServer

     

    Exception information:

    Exception type: ArgumentException

    Exception message: '', hexadecimal value 0x01, is an invalid character.

     

    Request information:

    Request URL: http://mydomain.com:9003/WebServer.asmx

    Request path: /WebServer.asmx

    User host address: ####

    User:

    Is authenticated: False

     

     Thread information:

    Thread ID: 5

    Thread account name: ****\DNPServer

    Is impersonating: False

    Stack trace: 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)

     

     

  • 03-19-2010 9:58 AM In reply to

    • ChrisK
    • Not Ranked
    • Joined on 03-18-2010
    • Posts 5

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    And the DNNP application log entry:

    Log Name:      DotNetPanel
    Source:        DotNetPanel
    Date:          3/18/2010 1:45:45 PM
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:     

    Description:
    [3/18/2010 1:45:45 PM] ERROR: 'Internet Information Services 7.0' CreateSite
    System.Exception: Could not create system user ---> System.Runtime.InteropServices.COMException (0x8007089A): The specified username is invalid. (Exception from HRESULT: 0x8007089A)
       at System.DirectoryServices.DirectoryEntry.CommitChanges()
       at DotNetPanel.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
       --- End of inner exception stack trace ---
       at DotNetPanel.Providers.Web.IIs70.(WebSite )
       at DotNetPanel.Providers.Web.IIs70.CreateSite(WebSite site)
       at DotNetPanel.Server.WebServer.CreateSite(WebSite site)

  • 03-19-2010 10:47 AM In reply to

    • ChrisK
    • Not Ranked
    • Joined on 03-18-2010
    • Posts 5

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    Problem solved.

    The error was caused by using prefix/suffix tags in Policy settings.
    I removed the prefix and suffix and it works now but this would mean it's a bug in DNNP.

  • 03-20-2010 2:56 AM In reply to

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    ChrisK:
    Problem solved.
    Great!
    ChrisK:
    The error was caused by using prefix/suffix tags in Policy settings.
    I removed the prefix and suffix and it works now but this would mean it's a bug in DNNP.
    BTW, do you remeber what were the prefix/suffix settings?
    Best regards,
    Pavel Tsurbeleu, COO
    DotNetPanel Software - professionally developed software for hosting businesses
  • 03-20-2010 7:28 AM In reply to

    • ChrisK
    • Not Ranked
    • Joined on 03-18-2010
    • Posts 5

    Re: Can't create web/DNNP2.8.12 - hexadecimal value 0x01, is an invalid character.

    I used the  [USER_NAME] tag in prefix because I wanted the accounts grouped by user. 

Page 1 of 1 (7 items)
Powered by Community Server (Commercial Edition), by Telligent Systems