DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: syntex error

  1. #1
    Join Date
    Oct 2006
    Posts
    5

    syntex error

    here's what I wrote
    LoadTemplate server.mappath(""/workfiles/templates/"") & ""new.html""), ""main""

    here's the error I get.

    Error Type:
    Microsoft VBScript compilation (0x800A0401)
    Expected end of statement
    /workfolder/asp/Default.asp, line 20, column 59
    LoadTemplate server.mappath(""/workfiles/templates/"") & ""new.html""), ""main""
    ----------------------------------------------------------^
    Last time I got an error like this I needed double quotes. this time I do not know.
    Is there anypace that lists error types for vbscript.

  2. #2
    Join Date
    Nov 2006
    Posts
    24
    VBScript? Don't know it. However, even I can see that your parantheses aren't balanced.

Similar Threads

  1. 'On Error Goto' versus 'Try, Catch, Fail'
    By clarence_rollins in forum .NET
    Replies: 21
    Last Post: 09-11-2002, 11:32 AM
  2. Returning errors from SQL Server Stored Procs
    By Khalizan in forum VB Classic
    Replies: 1
    Last Post: 11-28-2001, 02:32 AM
  3. DTS/linked server error #6
    By John M. in forum Database
    Replies: 0
    Last Post: 05-17-2001, 03:01 PM
  4. WinForm Compile Error
    By Robert in forum .NET
    Replies: 1
    Last Post: 10-24-2000, 11:38 AM
  5. Replies: 0
    Last Post: 04-07-2000, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center