NEED a HELP WITH THIS ERRORRSS

3 replies

Last post Oct 05, 2017 03:36 AM by Yuk Ding

  • NEED a HELP WITH THIS ERROR

    Sep 29, 2017 01:58 PM|pippopagano81|LINK

    I am getting this error

    Microsoft VBScript runtime error '800a000d'

    Type mismatch

    /order/search/searchresults.asp, line 597

    when I insert the postcode to search the shop, but if I reload the webpage it disappear. Could someone help me to fix it? postcode research

    ddd=0
    if request.querystring("searchtype") = "postcode" then
        If objRds("longitude") & "" <> "" AND objRds("latitude") & "" <> "" Then
           ' Response.Write("lat1 " & coords(0) & " lon1 " & coords(1) & " [] lat2 " & objRds("latitude") & "  lon2 " & objRds("longitude") & "<br/>")                          
    
    
            ddd = round(distance(coords(0), coords(1), objRds("latitude"), objRds("longitude"), "M"),1)
    
    
    'Response.Write("ddd " & ddd & "<br/>")
        End If
  • Re: NEED a HELP WITH THIS ERROR

    Oct 03, 2017 02:03 AM|Yuk Ding|LINK

    Hi pippopagano81,

    Do you mean that refresh the page could fix this issue? have you checked whether any value could get to null when you load the page first time?

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: NEED a HELP WITH THIS ERROR

    Oct 03, 2017 07:54 AM|pippopagano81|LINK

    Hi Yuk,

    Thank you for answering me.

    Yeah, if I refresh the page, it shows me the shops near to the postcode inserted and the issue disappear.

    Do I have to check the value of Lat and Long added into the software?

    Best regards

    Filippo

  • Re: NEED a HELP WITH THIS ERROR

    Oct 05, 2017 03:36 AM|Yuk Ding|LINK

    Hi pippogagano81,

    It just looks like an initialization issue or postback issue. Maybe you could consult the asp.net forum for help.

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.