index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: IE returns Error 500 on Windows 2k3 virtual server ::    show all messagesPost a New Message | Post a Reply
Mar 15 2007, 9:24 PM
 Re: IE returns Error 500 on Windows 2k3 virtual...Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Try using the remote path just to make sure that it exists e.g.
objWiz.Init("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=C:\inetpub\wwwroot\data\sample.mdb;")

Or just create a dummy text file (test_db.asp) , add the code below into the file, drop it into the same folder as your reports file and run it to see if the connection works.

---- test_db.asp ---

<%
  Dim objConn
  Set objConn = Server.CreateObject("ADODB.Connection")
  objConn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE= "&     Server.MapPath("../data/sample.mdb") & ";"
  objConn.Close
  Set objConn =  Nothing
%>
  





-------------------------
Ghost
Pages: (1)   [1]

search this forum: