About

I'm Mike Pope. I live in the Seattle area. I've been a technical writer and editor for over 35 years. I'm interested in software, language, music, movies, books, motorcycles, travel, and ... well, lots of stuff.

Read more ...

Blog Search


(Supports AND)

Feed

Subscribe to the RSS feed for this blog.

See this post for info on full versus truncated feeds.

Quote

I would have to say that most instructions I come across are unimportant and some are harmful. Most instructions I get about software development process, I would say, would be harmful if I believed them and followed them. Most software process instructions I encounter are fairy tales, both in the sense of being made up and in the sense of being cartoonish. Some things that look like instructions, such as "do not try this at home" or "take out the safety card and follow along," are not properly instructions at all, they are really just ritual phrases uttered to dispel the evil spirits of legal liability.

James Bach



Navigation





<April 2025>
SMTWTFS
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

Categories

  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  

Contact Me

Email me

Blog Statistics

Dates
First entry - 6/27/2003
Most recent entry - 9/4/2024

Totals
Posts - 2655
Comments - 2678
Hits - 2,734,176

Averages
Entries/day - 0.33
Comments/entry - 1.01
Hits/day - 344

Updated every 30 minutes. Last: 12:23 AM Pacific


  10:05 AM

I created a website in WebMatrix and decided later to move it to a different location. Since the site's files are all self-contained, I just moved them in Windows Explorer. However, when I opened up WebMatrix, I went to My Sites and clicked on the site:



However, this resulted in an error:



Of course. So the question is how to get WebMatrix to understand the site's new location. Turns out to be pretty easy. The site information is in the applicationhost.config file which is in turn in (here's the not-intuitive part) the My Documents\IISExpress\config folder.
 
This is an XML file that has a element containing a child element for each site that WebMatrix knows about. All I had to do was change the highlighted bit to point to the new location:

<site name="MotorcycleBlog" id="11">
  <application path="/">
    <virtualDirectory path="/" physicalPath="C:\MotorcycleBlog" />
  </application>
  <bindings>
    <binding protocol="http" bindingInformation="*:6867:localhost" />
  </bindings>
</site>


And thereafter WebMatrix opened the moved site from the correct location.

[categories]  

[3] |