Welcome to the Axosoft Community, Sign in | Register | Help
in Search

Can't login to PureChatOperator.aspx

Last post 05-22-2008, 1:38 PM by Domy. 3 replies.
Sort Posts: Previous Next
  •  04-29-2008, 2:10 AM 15688

    Can't login to PureChatOperator.aspx Reply Quote

    Hello to everybody in this forum Smile

    I just installed a fresh copy of PureChatOperator with five operators trial license but I can't log in: the web sites reports me a message like "'Purechat' is undefined'

     I compiled it successfully into my VS2008 and applied on production web site with no special problems but the one above.

     There is no password for accessing: does anybody have a clue about this problem?

    Page is right here: http://www.info2001.it/public/Forms/pureChat/operator/PureChatOperator.aspx

     Thanks 

    <PureChat>

    <settings>

    <!-- how frequently the application polls the server -->

    <add key="ChatPollInterval" value="1" />

    <!-- how long to keep a user waiting in an unstarted chat -->

    <add key="ChatPollWaitDelay" value="45" />

    <!-- the smtp server to use for sending chat logs. leave this value blank to use the smtp settings in the <system.net /> configuration section. -->

    <add key="SmtpServer" value="smtp.info2001.it" />

    <add key="SmtpPort" value="25" />

    <!-- the smtp user and password for sending chat logs. Leave blank if they are not required. -->

    <add key="SmtpUser" value="**************" />

    <add key="SmtpPassword" value="**************" />

     

    <!-- the email address chat logs and other messages will be sent to -->

    <add key="NotifyEmail" value="info@info2001.it" />

    <!-- the email address mails will be sent from -->

    <add key="NotifyEmailFrom" value="info@info2001.it" />

    <!-- the password for the operator's page (make sure to change this!) -->

    <add key="OperatorPassword" value="" />

    <!-- url for an image to show when an operator is available for chat -->

    <add key="ChatAvailableImageUrl" value="pureChat/Images/Status/requestChat.png" />

    <!-- url for an image to show when an operator is not available for chat (leave blank to render nothing when no operator available) -->

    <add key="ChatUnavailableImageUrl" value="pureChat/Images/Status/requestChat_d.png" />

    <!-- relative url to an image to use for a header (certain styles may have to be updated if this is changed) -->

    <add key="HeaderImageUrl" value="~/public/Forms/pureChat/images/header.png" />

    <!-- whether to allow a user to email you directly (at the NotifyEmail address specified above)

    when an operator doesn't join a chat after the ChatPollWaitDelay interval specified above. -->

    <add key="AllowDelayedChatMail" value="true" />

    <!-- Set this to true to allow users to rate their chat sessions from 1 to 5 after the chat is completed. -->

    <add key="AllowUserRating" value="true" />

    <!-- absolute url to a location to take the user to when they click on the unavailable chat image (leave blank for nowhere)-->

    <add key="UnavailableUrl" value="" />

    <!-- Set this to true to require the user to enter their name and a question before they enter a chat. Set it to false to take them directly to a chat session. -->

    <add key="RequireUserInformation" value="true" />

    <!-- How long, in days, chats will be stored in memory -->

    <add key="ClearChatsAfter" value="7" />

    <!-- How frequently, in seconds, the chat request control will poll to see if an operator is available. If this is set to 0, it will not poll. -->

    <add key="ChatRequestPoll" value="1" />

    <!-- the time of day to send the chat summary email -->

    <add key="ChatSummaryTime" value="12:00 AM" />

    <!-- comma separated list of domains allowed to use the client javascript. leave blank to not validate domains-->

    <!-- example: <add key="AllowedDomains" value="www.example.com, store.example.com" -->

    <add key="AllowedDomains" value="" />

    </settings>

    <!-- All hotkeys must be enclosed in [] to be used. If the hotkey for a shortcut is "g", type "Gift", and it will be replaced by the text of the shortcut. -->

    <!-- If you wish to use the literal character '[' inside your text, you can escape it by typing '[['. -->

    <!-- you can use {user} as a placeholder for the user name (if they enter one), and {operator} as a placeholder for the operator's name. -->

    <!-- if your application is not running under full trust, you will need to restart your application for changes to the shortcuts or other settings to take effect. -->

    <shortcuts>

    <shortcut hotkey="g" text="Hello, this is {operator}. How can I help you?" />

    <shortcut hotkey="b" text="Thanks for coming!" />

    <shortcut hotkey="t" text="I'm going to place you back into the queue, and another operator will be able to assist you." />

    </shortcuts>

    </PureChat>

  •  04-29-2008, 2:19 AM 15689 in reply to 15688

    Re: Can't login to PureChatOperator.aspx Reply Quote

    Also, I'm not sure if following info can be useful, anyway if I try to connect to purechat' webservice by adding a web reference to the current solution I've got this message:

    Server Error in '/' Application.

    PureChat.ChatResponse cannot be serialized because it does not have a parameterless constructor.

    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.InvalidOperationException: PureChat.ChatResponse cannot be serialized because it does not have a parameterless constructor.

    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:

    [InvalidOperationException: PureChat.ChatResponse cannot be serialized because it does not have a parameterless constructor.]
       System.Xml.Serialization.TypeDesc.CheckSupported() +871737
       System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError) +170
       System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember xmlReflectionMember, String ns, XmlReflectionMember[] xmlReflectionMembers, Boolean rpc, Boolean openModel) +78
       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel) +278
    
    [InvalidOperationException: There was an error reflecting 'PureChat_ChatResult'.]
       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel) +877
       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess access) +111
       System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, Boolean serviceDefaultIsEncoded, Boolean rpc, SoapBindingUse use, SoapParameterStyle paramStyle, String elementName, String elementNamespace, Boolean nsIsDefault, XmlReflectionMember[] members, Boolean validate, Boolean openModel, String key, Boolean writeAccess) +203
       System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs) +3596
    
    [InvalidOperationException: Method PureChatWebService.PureChat_Chat can not be reflected.]
       System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs) +6904
       System.Web.Services.Description.SoapProtocolReflector.ReflectMethod() +133
       System.Web.Services.Description.ProtocolReflector.ReflectBinding(ReflectedBinding reflectedBinding) +2760
       System.Web.Services.Description.ProtocolReflector.Reflect() +739
       System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(ProtocolReflector[] reflectors) +621
       System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type type, String url) +117
       System.Web.Services.Protocols.DocumentationServerType..ctor(Type type, String uri) +157
       System.Web.Services.Protocols.DocumentationServerProtocol.Initialize() +336
       System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) +105
    
    [InvalidOperationException: Unable to handle request.]
       System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) +295
       System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +202
    
    [InvalidOperationException: Failed to handle request.]
       System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +363
       System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +211
       Microsoft.Web.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +136
       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175
       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161
    


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

  •  05-22-2008, 10:22 AM 15815 in reply to 15689

    Re: Can't login to PureChatOperator.aspx Reply Quote

    Hello! Sorry for the delay in responding. 

    Are you using SQL session state by any chance?

     Jonas
     


    Axosoft Development Team
    Blog
  •  05-22-2008, 1:38 PM 15822 in reply to 15815

    Re: Can't login to PureChatOperator.aspx Reply Quote

    Thanks for your reply, but it has been already dismissed.

     Next time.

View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software