Brett_UK_coder 0 Posted November 21, 2010 Report Share Posted November 21, 2010 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 !!!!!! Quote Link to post Share on other sites
boen_robot 107 Posted November 21, 2010 Report Share Posted November 21, 2010 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). Quote Link to post Share on other sites
Brett_UK_coder 0 Posted November 21, 2010 Author Report Share Posted November 21, 2010 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 Quote Link to post Share on other sites
Brett_UK_coder 0 Posted November 21, 2010 Author Report Share Posted November 21, 2010 I have no default website in inetmgr, could this be the reason.If it is, how do I had one and set it up properly ? Quote Link to post Share on other sites
Brett_UK_coder 0 Posted November 21, 2010 Author Report Share Posted November 21, 2010 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 Quote Link to post Share on other sites
boen_robot 107 Posted November 22, 2010 Report Share Posted November 22, 2010 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". Quote Link to post Share on other sites
amj 0 Posted December 28, 2010 Report Share Posted December 28, 2010 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.