PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

#include giving errors in .asp page

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

  • #include giving errors in .asp page

    I added in the content portion of my .asp page, and received the following error when trying to access said page:

    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1010: Newline in constant

    Source Error:

    Line 1: <%
    Line 2: ' ----------------------------------------------------------------------------
    Line 3: ' Zoom Search Engine 4.2 (25/7/2005)
    Line 4: ' Standard version for ASP


    Help!

  • #2
    This appears to be an ASP.NET error message. Note that an .aspx file is not the same as an .asp file.

    Your server seems to be trying to compile the ASP script as an ASPX file, which is an incorrect server configuration. It is most likely expecting a C# file while the "search.asp" file is VBScript.

    If you are sure that the server is not handling this as an ASPX file, then make sure that it is using the correct scripting language (VBScript as opposed to JScript or C#). See this FAQ:
    http://www.wrensoft.com/zoom/support...s.html#jscript

    If you are trying to include Zoom from an ASPX (ASP.NET) web page then refer to this page for information:
    http://www.wrensoft.com/zoom/support/aspdotnet.html
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X