« Previous Next »

Answered Thread: ASP script displays error when executed

Last post 04-17-2009 11:43 AM by tomkmvp. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 04-17-2009, 8:45 AM

    • carm90
    • Not Ranked
    • Joined on 03-27-2009, 3:18 PM
    • Posts 4

    ASP script displays error when executed

    I am trying ot resolve this issue regarding a custom ASP script our company provides to our customers to allow remote access to our WEBSITE. Unfortunately I do not have a lot of IIS experience and neither does my customer.They have installed the ASP script in a secure location and the URL on the Intranet page points to the script location on the IIS server. When the URL is launched the error listed below is displayed. I am not sure why the source error is displaying lines in the script. I have had the customer provide me the script and it runs fine on my IIS server. I am not sure what to have the customer try to resolve. Any information would be appreciated.

    Source Error:

    Line 38: Line 39:  productURL = "http://www.lexisnexis.com/us/lnacademic"Line 40:  domainMask = ""Line 41:

    Line 42: '%    - OR uncomment the following two lines if this ID %

     
  • 04-17-2009, 9:32 AM In reply to

    Re: ASP script displays error when executed

    Looks to me as if Line 42 is a badlo formatted comment?

    Maybe it should be like this?

    <%'    - OR uncomment the following two lines if this ID %>

  • 04-17-2009, 10:02 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Re: ASP script displays error when executed

    No, Line 42 is correct as it's already in a code block.

    This is not the typical way that IIS/ASP reports errors.  Something else is going on here.  Why are all the lines bunched together in your post?  Is this how the error is output or is it a formatting issue when you post it here?

  • 04-17-2009, 10:41 AM In reply to

    • carm90
    • Not Ranked
    • Joined on 03-27-2009, 3:18 PM
    • Posts 4

    Re: ASP script displays error when executed

    It is a formatting issue. My bad. Let me try to paste the information so it displays correctly. Each "Line" number is an separate line of the script and should be on a separate line.

    Source Error:Line 38: Line 39:  productURL = http://www.lexisnexis.com/us/lnacademicLine 40:  domainMask = ""Line 41: Line 42: '%    - OR uncomment the following two lines if this ID %

     

     

  • 04-17-2009, 10:58 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Answered Re: ASP script displays error when executed

    OK - FWIW there can't possibly be an error within these lines then as they are simple variable assignments.  Here's what you're trying to show:

    Source Error:
    Line 38:
    Line 39:  productURL = "http://www.lexisnexis.com/us/lnacademic"
    Line 40:  domainMask = ""
    Line 41:
    Line 42: '%    - OR uncomment the following two lines if this ID %

    And again, this is not the way that IIS/ASP reports errors. 

  • 04-17-2009, 11:32 AM In reply to

    Re: ASP script displays error when executed

    Could this error message be the response from the application that launches access to the Nexis system or alternatively from the login handler of Nexis?

  • 04-17-2009, 11:43 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Re: ASP script displays error when executed

    Could be, but I'm not familiar enough with how that stuff all works.

Page 1 of 1 (7 items)
Microsoft Communities