raj2000
Jul 5th, 2000, 05:54 AM
help:
<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?
<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?