Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > BOOK: Beginning ASP.NET Web Pages with WebMatrix
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2013, 06:19 AM
Registered User
 
Join Date: Aug 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Webserver not opening page from Webmatrix 3 giving connection error

Hello!

I have installed webmatrix as explained in your book and created cshtml page as per instructions but the page is not opening in webserver.

In IE it says "Internet Explorer cannot display the webpage" and in chrome it says " Chrome could not connect to localhost:...."

Please help to fix this problem.

Regards,
Rajesh
 
Old August 27th, 2013, 01:36 PM
Registered User
 
Join Date: Aug 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default one more problem

Hi,

I searchout for this problem and remove the # sign from hosts file in windows, but still unable to open the file. Getting error as This file has stopped.

Please help.

Regards,
 
Old August 27th, 2013, 05:30 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Do you have security software such as a firewall running on your machine? If so, have you tried disabling it to see if that makes a difference?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old August 28th, 2013, 09:57 PM
Registered User
 
Join Date: Aug 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.Net site failed starting up

Hi!,

No firewall is active.

I uninstall and reinstall the webmatrix 3, now getting the following error:

ASP.NET Site failed starting up, see full details for more info

System.InvalidOperationException: Could not determine which version of ASP.NET Web Pages to use.

In order to use this site, specify a version in the site’s web.config file. For more information, see the following article on the Microsoft support site: http://go.microsoft.com/fwlink/?LinkId=254126
at System.Web.WebPages.Deployment.PreApplicationStart Code.StartCore(IFileSystem fileSystem, String appDomainAppPath, String binDirectory, NameValueCollection appSettings, IEnumerable`1 loadedAssemblies, IBuildManager buildManager, Action`1 loadWebPages, Action registerForChangeNotification, Func`2 getAssemblyNameThunk)
at System.Web.WebPages.Deployment.PreApplicationStart Code.StartCore()
at System.Web.WebPages.Deployment.PreApplicationStart Code.Start() at Microsoft.WebMatrix.Editor.CBMWrapper.HandleExcept ionAndReturnEmptyArray(Exception ex, Boolean throwOnHttpException)
at Microsoft.WebMatrix.Editor.CBMWrapper.GetReference s()
at Microsoft.WebMatrix.Editor.Roslyn.ProjectSystemImp l.CbmAppDomainStarted(Object sender, EventArgs e)


Regards,
Rajesh
 
Old September 2nd, 2013, 04:02 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Looks like you have a more recent version of WebMatrix installed. Did you follow the help link to the Microsoft site and configure the site to use the correct version?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF giving first page as blank if page count > 1 using xsl:fo srmxslca XSLT 14 May 5th, 2011 05:01 AM
Hyperlink is not opening the web page, giving error ‘browser can’t find the file:’ arbab Javascript 4 March 15th, 2011 02:45 AM
Error while opening an aspx page manchanahari ASP.NET 1.0 and 1.1 Basics 1 February 15th, 2006 09:43 AM
Problem with connection to db at webserver hoeknu SQL Server 2000 3 May 24th, 2004 07:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.