View Full Version : Server Issue... I think??!

01-18-2007, 09:12 PM
First problem...
My default.asp will not load. It shows the directory listing instead.

Second problem...
When I do load the default.asp page I get this error message:

The Include file '../includes/inc_config.asp' cannot contain '..' to indicate the parent directory.
/home/default.asp, line 1

This is the first line on my default.asp page:

<!--#include file="../includes/inc_config.asp" -->

01-18-2007, 10:23 PM
I fixed the server problem with this:
<!--#include virtual ="/includes/inc_config.asp" -->

Now I get this error message:

ADODB.Recordset.1 (0x80004005)
SQLState: IM002 Native Error Code: 0 [DataDirect][ODBC lib] Data source name not found and no default driver specified
/includes/inc_config.asp, line 33

28. <%
29. Dim rsConfig
30. Dim rsConfig_numRows
32. Set rsConfig = Server.CreateObject("ADODB.Recordset")
33. rsConfig.ActiveConnection = MM_connDUportal_STRING
34. rsConfig.Source = "SELECT * FROM CONFIGURATION"
35. rsConfig.CursorType = 0
36. rsConfig.CursorLocation = 2
37. rsConfig.LockType = 1
38. rsConfig.Open()

01-19-2007, 12:16 PM
Where are you setting the value of MM_connDUportal_STRING? And more importantly, what are you setting it to?

ETA: he's setting it here (http://www.codingforums.com/showthread.php?p=525051#post525051)