index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Mar 15 2007, 9:24 PM |
| ||||||
ghost 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] |