Results 1 to 2 of 2

Thread: error

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    London, UK
    Posts
    39

    Thumbs down

    help:


    I am getting the following error, Not sure what it means or what I have done wrong.


    <font face="Arial" size=2>
    <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
    <p>
    <font face="Arial" size=2>Type mismatch: 'Session(...).RequestMap'</font>
    <p>
    <font face="Arial" size=2>/yeomanlocal/GisDispatcher.asp</font><font face="Arial" size=2>, line 8</font>


    It doesnt like Line 8 in the code. Is this because line has been commented out?

    I am guessing , please enlighten me on this.



    1 <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
    2
    3 Const SESN_GIS = "GIS_SESSION"
    4
    5
    6 Function GISDispatcher_RequestMap(ByVal TheId,ByVal
    topleftX,ByVal topleftY,ByVal brightx,ByVal brighty,ByVal 7 msh,ByVal msw)
    8 'On Error Resume Next
    9
    10 GISDispatcher_RequestMap=Session
    (SESN_GIS).RequestMap
    (TheId,topleftX,topleftY,brightx,brighty,msh,msw)
    11 End Function
    12
    13
    14 Function GISDispatcher_RequestVectorMap(ByVal
    TheId,ByVal topleftX,ByVal topleftY,ByVal brightx,ByVal 15 brighty)
    16 'On Error Resume Next
    17
    18
    19 GISDispatcher_RequestVectorMap=Session
    (SESN_GIS).RequestVectorMap
    (TheId,topleftX,topleftY,brightx,brighty)
    20 End Function
    21
    22
    23 </SCRIPT>


    Please can you let me know if , you can spot the error(s) I have made.

    Please help?




  2. #2
    Guest
    This line looks weird to me:
    6 Function GISDispatcher_RequestMap(ByVal TheId,ByVal topleftX,ByVal topleftY,ByVal brightx,ByVal brighty,ByVal 7 msh,ByVal msw)

    Hope it solves your problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width