Jump to content

IIS


Brett_UK_coder

Recommended Posts

Hi Having now got IIS running on my PC (Running windows 7) I am trying to test the tool.xml, tools.xsl, tools_updated.xsl and edittool.asp files within ISS so I can have my first script to update and XML file running.However. I haven't got a clude what I am doing with IIS. I'm not even getting the local host welcome screen anymore and I hade this earlier. I have tried putting the 4 files listed above in the wwwroot folder inside the inetpub folder and had a browse arounf the inetmgr screens, adding the files to a website set up in inetmgr, but a really dont have a cluse and cant get the xml file to display usung the xsl files and updating with the asp file because nothing displays.Any help would be much appreciated, I just want to test the example you given us.......and can't even do that !!!!!!

Link to comment
Share on other sites

You need to open up the edittool.asp file in your browser... likehttp://localhost/edittool.aspYou'll see a form for editing the XML there. You can observe the results by opening the XML files "manually" in any way you can think of (e.g. going into the folder with Windows Explorer and opening the file in Notepad).

Link to comment
Share on other sites

You need to open up the edittool.asp file in your browser... likehttp://localhost/edittool.aspYou'll see a form for editing the XML there. You can observe the results by opening the XML files "manually" in any way you can think of (e.g. going into the folder with Windows Explorer and opening the file in Notepad).
Thanks but I get a Website cannot be found error HTTP 404, this happens when I go to http://localhost/ or http://localhost/edittool.asp :)
Link to comment
Share on other sites

I've sorted that problem, I unistalled all the IIS components and the re-installed them again and it returned to nromal. I now have the correct http://locahost screen. I went to http://localhost/edittool.asp and it gave me the form. I then made changes and clicked submit, expecting the xml to be changed.On click of the submit button it took me to a HTTP 500 error and didnt display anything updated. I went to the xml file and nothing had changed I copy and pasted the 4 files from the example on this site, so the code is fine, what should happen ? and does anyone have a clue what might be causing this problem ?Thanks

Link to comment
Share on other sites

I was afraid you'd say that... I have the same problem when trying the samples with the default site. I found out it's a permission issue, but even if I set myself as the user (and I'm an admin user) and load my profile (a technique that normally gives you full access), it doesn't work.The only way I can think of is to place the whole site in a non-admin location... like somewhere in "D:" drive for example. Link to that in IIS of course. And grant yourself (or another less privilages user) full access to that folder by Right clicking on the site/folder and selecting "Edit Permissions..."/"Properties > Security".

Link to comment
Share on other sites

  • 1 month later...

You will find that the IUSR (or what it is in Win 7) needs the security as this is the user id that IIS sees in the browser rather than the logged on id.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...