Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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 June 25th, 2015, 10:36 PM
Registered User
 
Join Date: Jun 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default WSAT Error 500.19

I have tried for three weeks now to find my error and am going to finally give in and ask for help. issexpress launches fine but when I try and go to the browser as directed on page 615 I keep getting an error that it can not read the config file. I have confirmed the physical path, my web site accesses the data base, but somewhere I am missing something. Anybody encountered this error that could steer me in the right direction. No more hair left to pull out over this.
 
Old June 26th, 2015, 10:43 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,

Can you post the full commands you're executing at the command line?

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 June 27th, 2015, 10:57 AM
Registered User
 
Join Date: Jun 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Command Line code

iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.3031 9\ASP.NETWebAdminFiles" /vpath:"/ASP.NETWebAdminFiles" /port:8082 /clr:4.0 /ntlm

I have tried changing port numbers, iisexpress launches and registers to but does not load the config file as shown in the result expected on page 615. I believe that my issue stems from the way in which I originally set up the web site and then tried to move it, my visualstudio solution is in the BegASPNET folder but the webconfig file is in my user folder. My site works fine but I may have backed myself into a corner because iisexpress can not seem to find the web config file.

Actually I was wrong, the web config file is in the correct format and location, iisexpress is not seeing the file, when I run iisexpress.exe without any parameters it loads as port 8080 so I tried using that port with the above command line, same result. For some reason iisexpress will not see and register the file. I am wondering about security settings etc, is there something that could be blocking iis from seeing the file.

Last edited by kuchobake; June 27th, 2015 at 11:42 AM..
 
Old June 28th, 2015, 02:44 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Where is your site located exactly? In other words, which folder has your web.config global.asax etc?

Also, how does your second command to browse to the site look?

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
chapter 15: WSAT error dany96 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 10 August 14th, 2011 03:20 PM
HTTP error 500: Internal Server Error in Load Testing sherin Visual Studio 2008 0 May 19th, 2010 09:02 AM
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
Error 500 -- Internal Server Error Vijay Kumar Servlets 2 March 26th, 2007 02:10 AM
error 500.100 hastikeyvan Dreamweaver (all versions) 2 November 22nd, 2005 12:19 AM





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