locked
Test server doesn't seem to be working RRS feed

  • Question

  • User1956367382 posted

    So I'm building a new HTML page in WebMAtrix and when I try to run the page  it opens a browser window with a blank page. Odd since the code on the page has an <h1> tag and a <ul> <li> etc. tags.

     

    Anyone know of any reason that this might be happening? Something I'm just missing.

    Thursday, December 6, 2012 11:00 AM

Answers

  • User-1731511703 posted

    Did you start out by creating a blank site in WebMatrix?  If so, it automatically creates a default.cshtml as the default document for the site.  After you run the site, try appending the file.html file to the end of the URL.  Does it show up that way?

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, December 7, 2012 12:19 PM

All replies

  • User-1731511703 posted

    I haven't had any issues creating html pages in WebMatrix 'out of the box.'  This sounds to me like there is a configuration issue on the test server.  Are you able to run any html pages on the server? 

    I'm assuming that the test server is at least IIS 7.  If that is the case, I would first check to make sure that you have all the proper roles installed on the server, specifically Static Content.

    Thursday, December 6, 2012 11:55 AM
  • User1956367382 posted

    Yeah actually if i open the site in VWD (Visual Web Developer) I can run any page in debug mode and it opens it in the test server just fine.

     

    BTW the test server is what is installed as part of (I'm guessing ) WebMatrix  and I would assume it would be the same server that is installed with Visual Web Developer.

    Thursday, December 6, 2012 5:34 PM
  • User-1731511703 posted

    I understand what you are saying, now.  I tested it and it's working for me when I run my site and an HTML page from within WebMatrix.  I'll see what I can find and get back to you.

    Thursday, December 6, 2012 6:59 PM
  • User1956367382 posted

    Thanks Smile

    Friday, December 7, 2012 9:01 AM
  • User-1731511703 posted

    Did you start out by creating a blank site in WebMatrix?  If so, it automatically creates a default.cshtml as the default document for the site.  After you run the site, try appending the file.html file to the end of the URL.  Does it show up that way?

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, December 7, 2012 12:19 PM