I have developed a website using Asp.Net MVC which uses a SQL CE database in the App_Data. The website when run in Visual Studio, runs fine. But, when i opened it as ‘site from folder‘ in Microsoft WebMatix. It doesn’t show anything. In IE it says “Internet Explorer cannot display the webpage” and in chrome it says ” Chrome could not connect to localhost:49742″.
This happens on the url, where database access is performed. Basic pages work.
I tried opening other website(MvcMusicStore) using ‘site from folder‘ and it works fine. Why does it happen in the above case when everything is similar. I cannot do the debugging since it is not happening in visual studio
It probably doesn’t work because you don’t have configured your site with IIS (or another webserver like Cassini).
Probably while in visual studio you have configured your project to use “visual studio development server” with “Auto-assign port”. If yes, it’s visual studio that starts your web server every time you press F5.