PDA

View Full Version : Incorrect path within code


wisemx
02-24-2007, 01:07 AM
I took a look at the AppML project just now and can spot a few requirements to get it working right.
http://www.w3schools.com/appml/case_faq.asp

Apparently it runs as an application...You can create an application on it's installed folder in your Control Panel.
That's very simple to do.
If you have any trouble with that just ask.

You can use the /db folder they specify but you should make sure it has permission, in your DASP CP.
It is not necessary that we use the default DASP _database folder, it's simply that they handle some security for us there.

cyclone
02-24-2007, 05:38 AM
When I go to the download page of the appml which is
http://www.w3schools.com/appml/case_download.asp
it tells me to download and put the northwind.mdb in the SAME directory as
appmlcase, otherwise it says the test app wont find it, viz:

Download the zip file containing AppML
Create a folder called "appmlcase" on your web
Extract the zipped files to the appmlcase folder
Create a folder named "db" in your appmlcase folder
Download the northwind.mdb database
Copy the northwind.mdb database to the db folder
Test AppML by browsing the page "appml_test.htm" on your web

But I get an error when I run
http://tealsoft.net/appmlcase/appml_test.htm
and this is what it says-
XML error in northwind/customers:
northwind/customers.xml: Path not found

So I went to discountasp help and found this under databases
You should see a directory named "_database" under your webroot. The _database directory is configured with enhanced security which disallows direct download from a web browser. For security reasons, all MS Access database files (*.mdb) should be uploaded to this directory
So I copied the northwind.mdb there, but I am still getting the same error?
Can you help me please?

If it is an incorrect path, I dont know how it came about, as the prog worked fine on W3C site, and I did what they said.http://community.discountasp.net/emoticons/confused.gif