GetString is undefined

Last post 12-06-2006, 11:11 AM by WatchDog. 30 replies.
Page 2 of 2 (31 items)   < Previous 1 2
Sort Posts: Previous Next
  •  11-08-2006, 2:51 PM 24169 in reply to 24168

    Re: GetString is undefined

    No i have it already setup from the first time I installed this. I ran the stored procedures needed to create the tables and other sp's.
     
    I will try to copy and paste the sampleportal project into my project and see if it works.
  •  11-09-2006, 8:37 AM 24198 in reply to 24168

    Re: GetString is undefined

    Good morning Adam. I was able to get it to work but it's not exactly what the client is looking for.
     
    The version I downloaded is the stand alone version, how would I get it to work as embedded?
     
    The version I zipped up to you and sent to you had the embed version included with it. What changes
    do I need to make to get the embed to work like the standalone?
     
    Thanks
  •  11-09-2006, 9:13 AM 24208 in reply to 24198

    Re: GetString is undefined

  •  11-09-2006, 9:21 AM 24210 in reply to 24208

    Re: GetString is undefined

    Adam, I did do this already. My first post stated I did exactly what that document said.
     
    The problem is im getting a 'GetString is undefined' when I run it like that.
     
    The CuteSoft dll...where does it need to be placed? In my project's bin folder do I create another bin folder
    inside my 'Chat' directory?
     
     
    Also note the images I sent you yesterday via email. It shows that I am embedding it the exact way that is outlined in the document.
  •  11-09-2006, 11:17 AM 24215 in reply to 24210

    Re: GetString is undefined

    WatchDog,
     
    Save the following code as embedchat.aspx and copy it to sample portal folder.
     
    <%@ Page language="c#"%>
    <%@ Register TagPrefix="uc1" TagName="Footer" Src="Footer.ascx" %>
    <%@ Register TagPrefix="uc1" TagName="TopBanner" Src="Banner.ascx" %>
    <%@ Register TagPrefix="CuteChat" TagName="EmbedChannel" Src="CuteSoft_Client/CuteChat/EmbedChannel.ascx" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <html>
     <head>
      <title>Home Page- Cute Chat- ASP.NET Chat</title>
      <LINK href="Sample.css" type="text/css" rel="stylesheet">
     </head>
     <body>
      <form id="Form1" method="post" runat="server">
       <uc1:topbanner id="TopBanner1" runat="server"></uc1:topbanner>
       <table cellSpacing="0" cellPadding="0" class="Container" align="center" border="0">
        <tr>  
         <td width=10 nowrap></td>
         <td width="180" valign="top" nowrap>      
         <script>
         //TODO:set up the parameters for the EmbedMessenger.js
         Embed_Location='Lobby'
         Embed_LocationId='1'
         </script>
          <CuteChat:EmbedChannel id="EmbedMessenger1" runat="server"></CuteChat:EmbedChannel>
         </td>        
         <td width=15 nowrap></td>
        </tr>
       </table>
       <uc1:Footer id="Footer1" runat="server"></uc1:Footer>
      </form>
     </body>
    </html>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-01-2006, 3:43 PM 24794 in reply to 24215

    Re: GetString is undefined

    Adam,
       I apologize for the delay but I had to work on a few other projects. but now that I am on this one again i tried the code you laid out for me above here and it worked within my SamplePortal app.
     
       However, now that we know the SamplePortal will run as well as the embedchat.aspx file, how can we incorporate the embedchat.aspx file into my project? I cannot have this as two websites, they want to be able to go to http://localhost/ClientName/Chat/embedchat.aspx and enter the chat room. How can we do this?
     
       I read the document you created on the subject but it didnt explain to me step by step how to setup the embedchat and where things need to be placed to work.
     
       I appreciate your time on this and thank you.
     
    Steve
  •  12-05-2006, 7:38 AM 24858 in reply to 24794

    Re: GetString is undefined

    Bump
  •  12-05-2006, 3:39 PM 24888 in reply to 24794

    Re: GetString is undefined

    WatchDog:
    Adam,
       I apologize for the delay but I had to work on a few other projects. but now that I am on this one again i tried the code you laid out for me above here and it worked within my SamplePortal app.
     
       However, now that we know the SamplePortal will run as well as the embedchat.aspx file, how can we incorporate the embedchat.aspx file into my project? I cannot have this as two websites, they want to be able to go to http://localhost/ClientName/Chat/embedchat.aspx and enter the chat room. How can we do this?
     
       I read the document you created on the subject but it didnt explain to me step by step how to setup the embedchat and where things need to be placed to work.
     
       I appreciate your time on this and thank you.
     
    Steve
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-05-2006, 3:54 PM 24889 in reply to 24888

    Re: GetString is undefined

    Adam, thank you for the reply and link, however the document you referred me to tells me nothing. All it shows is the screen shot of what it would look like and the code to the embedchat.aspx page.
     
    What it should tell me is where to place all my dll's and project files to get it to work with a current project.
     
    what I need to know is where do I put the embedchat.aspx and all the dll's with it?
     
    I tried putting the SamplePortal project inside a Chat folder under my projects root but it didnt work.
     
    I tried making that Chat folder a virtual directory and that didnt work.
     
    We already know that the SamplePortal and the embedchat.aspx works on my machine, but how do I put that into my project?
     
    my client wants to be able to go to http://localhost/ClientName/Chat/embedchat.aspx
     
    how can we accompolish this? I cannot use the SamplePortal viritual directory.
     
    I apologize for the confusion on what I need but my client is getting touchy and I need a solution soon.
     
    Thank you for the time and enjoy your day.
     
     
  •  12-05-2006, 4:04 PM 24890 in reply to 24889

    Re: GetString is undefined

     
    Is clientName a virtual directory?
     
    Is Chat a virtual directory?
     
    If neither clientName or Chat is a  virtual directory, please follow the steps below:
     
    1. Copy the DLL the bin of site root
     
    2. Copy the CuteSoft_client to your site root.
     
    3. Test the embedchat.aspx in the root of your site
     
    4. If it works, copy it to any location of your site
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-06-2006, 11:11 AM 24914 in reply to 24890

    Re: GetString is undefined

    great thanks! both my ClientName and Chat are virtual directories.
     
    What I ended up doing is taking my whole 'Chat' directory and deleting it.
    I copied the CuteSoft_client folder into my site root
    Copied the dll to my sites bin directory
     
    and copied the embedchat.aspx file to my site.
    so now it is http://localhost/ClientName/embedchat.aspx
     
    When I first ran it I got a 'Cannot find part of the path 'IPN/Chat/CDQ'
     
    I also remember it complaining about the SamplePortal.dll not being found because inside the
    embedchat.aspx page it is referencing the SamplePortal namespace.
    UPDATE: Actually it was the banner.ascx file that referenced the SamplePortal.dll - I took it out.

    So just for giggles I copied THAT dll into my sites root. The error went away.

    then I remembered that in the web.config file I have it set to ~/Chat
    so I took it off and replaced it with just ~/  so it would look in root.
     
    Now it says the same thing but it is looking for CDQ in my root. (IPN/CDQ)
     
    I changed it to ~/CuteSoft_Client/CuteChat  to see if it works.
    and wouldnt you know it..it comes up with a 'GetString' is undefined.
     
    Now were back to our original problem.

    Just to reiterate the steps:
      ClientName is a virtual directory
     
      my root bin directory contains - cutechat.lic, CuteSoft.Chat.dll, CuteMessenger.lic, SamplePortal.dll, plus my sites dll's
      I copied the embedchat.aspx page to my root folder - so now its http://localhost/ClientName/embedchat.aspx
      Copied the CuteSoft_client folder and all its contents to my root folder - so now its http://localhost/ClientName/CuteSoft_client
      changed the key in my web.config file to say this:
    <add key="CuteChat.DataDirectory" value="~/CuteSoft_Client/CuteChat" />
     
     
    End Result: GetString is undefined.
    funny how I just went in a complete circle and back to my original error hehe..any suggestions?
     
     
    Update: I took out the SamplePortal.dll file and started getting errrors from the Banner.ascx file
    It was looking for SamplePortal.Global.GetRolesOfUser(useruniquename)
     
    So what I did was open up the SamplePortal project and take everything in the global.asax.cs file and put it in my global.asax file..put everything that said SamplePortal to IPN (ClientName) and ran it..
    still got a GetString is undefined.
     
    just thought I would add that. im still working on it.
     
    Update 2: I tried adding the CuteSoft_Client into my project and came up with a whole slew of more errors, so I took it back out.
     
    I recopied the Framework 1.x Web\CuteSoft_Client  to my site root to revert back to original and still get the GetString is undefined.
     
    Just for sake of giving information the GetString that is saying is undefined is in the CuteSoft_Client\CuteChat\EmbedChannel.ascx file line 65
     
    I also noticed it is within a <script> tag so I removed those and it seem to go past it and until another error. Not sure if this makes a difference, but just trying everything.
     
     
     
     
Page 2 of 2 (31 items)   < Previous 1 2
View as RSS news feed in XML