Author |
Topic |
|
Shaun
Starting Member
3 Posts |
Posted - 14 December 2004 : 02:14:23
|
I am running on a windows xp pro box with iis 5.x (not sure exactly which version right now), and have also installed the .net framework as well as msde. I have been having problems figuring out how to use msde since I never have been very good at using sql unless it was already configured on a box, and that is why I decided to go ahead and use access as the db for snitz.
But, I am having a problem setting up the db using the setup.asp utility.
I downloaded the package, unpacked it, and placed it in my wwwroot folder. I then took the .mdb file that came with the package and placed it in the inetpub/dbroot/ folder so that it is 1. not accessible, and 2. so that I would have to make a minimal amount of changes to the config file.
I then opened up the config file, and uncommented the access specific parts so that it would recognize my dbtype, and where it was located at, according to the readme that came with the package.
No problems so far...
I then went to http://localhost/forum/setup.asp...
It gave me a page that said that I needed to set up the tables in the database(which I understood was normal), and also assumed that this meant that it had found the .mdb file where I had placed it. So, I clicked next, and it gave me a page asking me to create an admin username and password. ok. I put in my desired user and pass, and click next, and I then got an error page, stating that I needed to input a username and password, as if I had not done so.
I took this to mean that it wasn't writing to the file correctly, or didn't have permissions set to write to the file. So, I went to the dbroot folder, right-clicked it and selected properties. Sure enough, it was set as a read-only folder. So unchecked the box, making sure to apply it to all subdirectories and files, and tried again.
And again, I get the same error... So I'm pretty much stumped as to what to do now, and any help would be greatly appreciated.
If anyone wants to try and duplicate the error, and see what I'm talking about, feel free to check this url: http://66.135.177.31/forum/setup.asp
Thanks in advance for any help. Shaun |
|
Tam
New Member
Sweden
56 Posts |
Posted - 14 December 2004 : 02:40:13
|
You need to set the folder to be writable for the webuser too. That's what the error you get means. |
|
|
Shaun
Starting Member
3 Posts |
Posted - 14 December 2004 : 02:56:40
|
How do I do that in windows? I know on a *nix machine that I'd just chmod it, but I have no idea how to do it on a windows box... |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 14 December 2004 : 04:36:13
|
Right click on the Folder, select properties, select the security tab then make sure you give IUSR_<yourmachine_name> write access to the folder.
If you don't see a security tab then you have simple file sharing on and will need to turn this off.
To turn simple file sharing off open up your control panel, select folder options, then on the view tab look for simple file sharing and unselect that option. |
Kiwihosting.Net - The Forum Hosting Specialists
|
Edited by - Gremlin on 14 December 2004 04:39:22 |
|
|
Shaun
Starting Member
3 Posts |
Posted - 14 December 2004 : 05:20:55
|
That did it, thanks for the info on simple file sharing, didnt know that about windows. |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 14 December 2004 : 05:39:58
|
It's amazing how many useful things are hidden in Windows :) |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
|
Topic |
|
|
|