hardtailstar Posted November 14, 2013 Posted November 14, 2013 Hi All, Has anyone got any idea on this? Ive previously developed a website in Microsoft Webmatrix with everything stored for the website saved on my shared drive. I installed web Matrix onto my C drive. Ive got a new computer and can see all the files and Ive just installed web matrix on my new computer. Now how do I access my website from the new installation of web matrix on my new computer? I tried searching google but it didn't come up with the answers I was looking for. Any ideas?
LosOjos Posted November 14, 2013 Posted November 14, 2013 When you load Web Matrix, go to "Open Site", then "Folder as Site." Select the root folder of your website and it should from then on show in "My Sites" in Web Matrix (this is using WM2, I suspect it'll be very similar in WM3) 1
hardtailstar Posted November 14, 2013 Author Posted November 14, 2013 (edited) When you load Web Matrix, go to "Open Site", then "Folder as Site." Select the root folder of your website and it should from then on show in "My Sites" in Web Matrix (this is using WM2, I suspect it'll be very similar in WM3) Cheers, I now get this error when opening in IE "HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory" any ideas? EDIT: I found a few things to try but if you have an idea let me know. Cheers Edited November 14, 2013 by hardtailstar
LosOjos Posted November 14, 2013 Posted November 14, 2013 (edited) First thing to check is the permissions in web.config - it's an XML document in the root of your website, you can edit it in Web Matrix. There's a section called "authorization", check that. It works from the top down in precedence. For instance, here's mine, which denies unknown users (i.e. not logged in to our network), allows all AD users in the "Sims Staff" role plus the local admin user, and denies anybody else access. authorization Element (ASP.NET Settings Schema) EDIT: just though, is this a move to a new server? Have you configured IIS to pick up your index files? Sounds like it's missing your entry page as it's trying to load a file list. Edited November 14, 2013 by LosOjos 1
hardtailstar Posted November 14, 2013 Author Posted November 14, 2013 First thing to check is the permissions in web.config - it's an XML document in the root of your website, you can edit it in Web Matrix. There's a section called "authorization", check that. It works from the top down in precedence. For instance, here's mine, which denies unknown users (i.e. not logged in to our network), allows all AD users in the "Sims Staff" role plus the local admin user, and denies anybody else access. authorization Element (ASP.NET Settings Schema) EDIT: just though, is this a move to a new server? Have you configured IIS to pick up your index files? Sounds like it's missing your entry page as it's trying to load a file list. [ATTACH=CONFIG]21516[/ATTACH] Thanks, Its a move to a new computer for Web matrix but all files were saved on my home drive saved on the server
LosOjos Posted November 14, 2013 Posted November 14, 2013 (edited) Thanks, Its a move to a new computer for Web matrix but all files were saved on my home drive saved on the server If neither of the above ideas worked, it could be NTFS permissions. You say the files were on your home drive - are they locked to an AD account? Can you still open the files by manually clicking on them? Might be worth checking which permissions are required by whichever version of IIS you're using, there'll be a local user called IIS_WPG or similar that will need read & execute, list contents and read permissions for the directory. As it's a local account, these permissions will not have been automatically applied if you copied from a different machine. EDIT: should have said IIS_WPG, not IUSER_WEBSERVER - the latter is for guest accounts. You may need to enable access to both if you're not using AD authoring. Best to Google NTFS permissions for your version of IIS, I'm on IIS 6 Edited November 14, 2013 by LosOjos 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now