Announcement

Collapse
No announcement yet.

ASP prob

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ASP prob

    Why do Iget this message
    Script Error:
    1024:Expected statement in line 1

    when I try and call up many of my ASP pages has anyone else seen this
    thanks jim

    #2
    James,
    A few basic questions.
    - Do any of your asp pages work?
    - Are all of your asp pages in the hs/html directory?
    - Are you running IE if so what version?
    - What version of HS are you running?

    Can you post one of the simple pages that presents this error?
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Thanks for the reply Rupp
      some asp work I have a call log page and some others that work
      thay are all in html
      What is IE?
      I am running hs version 1.7
      Jim

      Comment


        #4
        IE = Internet Explorer. What version.

        Do you have a simple file that does not work that you can post.
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #5
          Version 6.0.2800.1106
          Attached Files

          Comment


            #6
            James,
            Try taking out the   Other than that this page should work perfectly.

            Another thing to try an narrow down the problem would be to substitute another html page for your webcam page like this:
            <pre class="ip-ubbcode-code-pre">
            &lt;%=hs.Plugin("Touchpad").BuildPageHeader("Webcam") %&gt;
            &lt;p&gt;
            &lt;iframe name="I1" width="400" height="340" src="http://www.yahoo.com"&gt;
            Your browser does not support inline frames or is currently configured not to display inline frames.
            &lt;/iframe&gt;
            &lt;/p&gt;
            &lt;%= hs.Plugin("Touchpad").BuildPageFooter %&gt;
            </pre>

            If this works then it points to a problem with the page your inserting into the iframe.
            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

            Comment


              #7
              Try taking out the Other than that this page should work perfectly. Dont know what you meant by this?

              I tried your secound sugestion and a page came up with a built in web browser??
              thanks jim

              Comment


                #8
                Whoops. I used an html code and it resolved to other. The piece I needed you to try taking out is the:

                &/nbsp;

                To keep the window from rendering this as a blank in html I had to put a / in the string. Ignore the /.
                💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                Comment


                  #9
                  Cool that has worked also.
                  What about the other asp pages the do not have &nbs/p; at the begining.
                  And why is it doing it on my comp and not on other peoples?
                  Jim

                  Comment


                    #10
                    James,
                    If your cut and paste into some html editors it will put a &/nbsp; character in the file.
                    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                    Comment


                      #11
                      I am still having trouble with asp pages.
                      I have looked for &/nbsp; and cannot find it to delete???
                      this page for exampe
                      thanks jim
                      Attached Files

                      Comment


                        #12
                        James,
                        This is not a valid asp file. After the closing HTML tag there is this line:
                        for each roomDevice in roomDeviceList

                        This is server code and needs to be wrapped in the asp directives &lt;%


                        Also the entire code section after the line:
                        for each roomDevice in roomDeviceList
                        has a lot of &amp; and various other html codes for asp directives. These are almost always caused by a cut and past in an html editor. These all need to be fixed.
                        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                        Comment


                          #13
                          So how do you copy a asp file without cutting and pasteing?
                          thanks jim

                          Comment


                            #14
                            James,
                            I've only seen what your file demonstrates when using Visual Interdev. If you do the cutting and pasting in notepad it should be just fine.
                            💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                            Comment

                            Working...
                            X