 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

April 27th, 2008, 11:10 AM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by Imar
Hi aspcoder,
What do you mean with copy the files to the root? Do you want to run PlanetWrox under IIS?
IIS is by default set up to serve files from C:\inetpub\wwwroot. So, a file like C:\inetpub\wwwroot\Test.aspx can be requested as http://localhost/Test.aspx. IIS maps Test.aspx to a file in C:\inetpub\wwwroot and serves that file.
But have you confirmed IIS is set up OK? Are you sure you mean to request .asp files as the book deals with ASPX files.
Can you explain a bit more about your problem, your setup and what you already have in place?
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
IIS is set up OK. For exmaple. If i have a file in wwwroot called, default.aspx and i request it in my browser by typing the following in the location bar "localhost/default.aspx, it throws an error. Is there some setting im not aware of, as I'm mainly familiar with apache.
|
|

April 27th, 2008, 12:29 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
when i type localhost/default.aspx in my location bar here is the error message Imar:
(the file is in the wwwroot folder)
HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.
|
|

April 27th, 2008, 01:42 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
trying that now Imar. Thanks for your patience and help.
|
|

April 27th, 2008, 01:49 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That worked perfectly. Thanks.
Now to my understanding, didn't that install v2.0 and not 3.5?
|
|

April 27th, 2008, 01:54 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Nope. The 3.5 version doesn't come with a new run-time. "All" it does is add new functionality in the form of a lot of DLLs (simplifying things a bit here).
What this means is that the run-time is still the same; for an ASP.NET 3.5 (indicated through configuration), it just loads other DLLs and uses a different compiler. If you check out the ASP.NET tab in IIS you see you only have versions up to 2.0 to choose from.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

April 27th, 2008, 03:25 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Quote:
quote:Originally posted by aspcoder
Now to my understanding, didn't that install v2.0 and not 3.5?
|
Just to clarify: running the aspnet_regiis program doesn't really "install" anything. All it's really doing (unless I'm missing something big) is setting up the MIME type mappings for ASP.NET files (.aspx, ascx, .asmx, .config, etc) to the ASP.NET runtime ASAPI. .NET and ASP.NET are already installed as part of the framework, this just hooks IIS to it. It does do some other stuff, but the extension mapping is the important part that we are concerned with.
-Peter
peterlanoie.blog
|
|

April 27th, 2008, 05:50 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for the clarifications :-)
|
|

April 27th, 2008, 09:49 PM
|
|
Authorized User
|
|
Join Date: Jan 2007
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Actually Imar, I happen to have a very good self image. My response to what Jim originally wrote was really in defense to the person who spoke unfairly about your book (and who knows his real motive of writing it). Even Jim takes some responsibility since he edited it. I make no apologies for my response to Jim and take nothing back.
Mentioning my self image was meant as a joke. Had I responded to a Canadian friend of mine in a forum, he would have had a good laugh. Donât take things so seriously. People donât normally admit problems with their self image over the internet unless itâs a joke. By reading previous post, you should be able to see that I joke a lot. Read it again, laugh, and enjoy the rest of your day.
Thanks for letting me know about the rules and hijacking. This is the only forum I participate in. I thought the forum was topic based, not person-topic based. I appreciate it.
Terry
PS. laugh
|
|
 |