Line bombs

Discussion in 'C#' started by davelewicki, Jan 9, 2008.

  1. #1
    I have the following lines of code in an include file. It bombs on the red line with an error of '800c0005' which I believe is that a resource cannot be located. The global asa line that initializes ("LIBRARY_PATH") is also shown.

    Any insights?

    Thanks,

    Dave


    <%
    '*******************************************************************************
    '*
    '* Name: Left Nav Featured Column
    '* Author: Kevin Callahan
    '* Date Created: 07.25.2006
    '* Purpose: Renders the correct dynamic content for the Help page
    '*
    '* File: /includes/_left-nav-featured.asp
    '* Called By: /includes/left-nav-featured.inc.asp
    '*
    '* ============================================================================
    '*
    '* Modifications:
    '* (Date) (Author) - (Reason)
    '*
    '*******************************************************************************

    '*******************************************************************************
    ' Declare the Library Components
    '*******************************************************************************
    SET objElementString = GetObject("script:" & Application("LIBRARY_PATH") & "\SiteLab.String.wsc")

    SET objElementDatabase = GetObject("script:" & Application("LIBRARY_PATH") & "\SiteLab.Database.wsc")


    +++++++++++++++ global asa segment ++++++++++++++++++++++++++

    ' Path to ASP Libraries.
    Application("LIBRARY_PATH") = Server.MapPath("\libraries\")
     
    davelewicki, Jan 9, 2008 IP
  2. bnewirth

    bnewirth Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    not sure but it looks like you're going to wind up with two '\\' backslashes

    \libraries\\SiteLab.String.wsc
     
    bnewirth, Jan 10, 2008 IP