plz i need your help way i have this error ?
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'user_data'.
/map/mapshow.asp, line 13
i have this mode FidoWMap_ASP
ask to author... my version on PHP works perfectly but looks u are missing user_data table in lin2world db... or maybe ASP code are using wrong db...
<%
'Your MSSQL Server Username
ms_sql_server_host_addr = "127.0.0.1"
sql_server_username = ""
sql_server_password = ""
Dim MyConn, MyRS, DSNtemp, MyRS2, SQLstr, SQLstr2, MyRS3, SQLstr3, L2_Char_Quota, L2_Acct_Quota
Set MyConn = CreateObject("ADODB.Connection")
DSNtemp="Driver={SQL Server};Server=" & ms_sql_server_host_addr & ";Database=" & lin2world & ";Uid=" & sql_server_username & ";Pwd=" & sql_server_password & ";"
myconn.open DSNtemp
Set MyRS = CreateObject("ADODB.Recordset")
SQLstr = "SELECT char_name,xloc,yloc,race,zloc FROM user_data WHERE login > logout"
MyRS.open SQLstr, MyConn, 3, 3
UsersOnline = MyRS.RecordCount
response.write "<div style=position:absolute;top:0px;left:0px><img src=Aden-C4-full.jpg>"
CRec = 0
if UsersOnline > 0 then
do while not CRec = UsersOnline
XLoc = MyRS.Fields("xloc")
YLoc = MyRS.Fields("yloc")
ZLoc = MyRS.Fields("zloc")
Race = MyRS.Fields("race")
Name1 = MyRS.Fields("char_name")
xpix=(xloc + 132000)/410-4
ypix=(yloc + 264000)/410-8
CRec =(CRec + 1)
response.write "<div style=position:absolute;top:" & ypix & "px;left:" & xpix & "px> & race & ('#')</div>"
loop
end if
response.write "<div style=position:absolute;top:5px;left:5px>[b]<font color='white' face='Verdana'>" & UsersOnline & " Users Online.</div></div>"
MyRS.Close
MyConn.Close
%>
help plz
It's work :) yes im happy ! Close topic plz ...