 |
BOOK: Professional ASP.NET 1.0, Special Edition/1.1  | This is the forum to discuss the Wrox book Professional ASP.NET 1.1 by Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson; ISBN: 9780764558900 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Professional ASP.NET 1.0, Special Edition/1.1 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
|
|
|
|
|

June 18th, 2004, 03:41 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Getting Code To Work
Hi. I am having trouble getting code to run.
I have the ASP.Net 1.1 Pro book. I downloaded the code. I installed it on my WinXP machine that has msde, .Net framework, .Net Framework SDK, and Visual Studio 2003 Standard installed. The config program for the code gave errors when creating the databases, so I use a different program and pasted the sql code from the Database directly and executed it.
Now, whenever I double click on an aspx file, it opens in Microsoft Development Environment instead of the browser. If I right click on the NewASPNet.aspx under the chapter 4 directory, choose Open With, then click on Internet Explorer (ver 6.0.2800) then all I get is "Please select your delivery method:" without a drop down list nor a button. And yes, I did create a system dsn called DsnNorthwind and tested to make sure it worked.
I must be doing something fundamentally wrong. Can someone point me in the right direction?
|
|

June 18th, 2004, 03:57 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Assuming you have IIS installed on your local machine how are you viewing your .aspx pages? Did you install IIS before you installed VS.Net/.net Framework?
|
|

June 20th, 2004, 09:02 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hello,
When you open it that way, it's not opening the right way. It's opening as a file, not part of the web site. So when you do it that way, it ignores the code behind file, web.config, everything. You have to do it as http://localhost/filename.aspx, whereas when you double-click it, it opens as c:\inetpub\wwwroot\filename.aspx, which is inherently different.
Brian
|
|

June 22nd, 2004, 03:59 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your thoughts. They were not the answer to my problem. Another symptom was that I could not create a new webform project in visual studio .net standard due to the wrong version of ... 1.1 ... etc. I rebuilt my system and did not install the .NET framework sdk, and now it works. I can now create web forms in visual studio.Net.
I am now getting a 'resource cannot be found' error when running:
http://localhost/58900_VB/04_Writing...es/NewASP.aspx
I created the DsnNorthwind and tested it. I now have the msde installed using NetSDK instance. As well, while the EventBubbling.aspx works, the _withState sample does not. I will continue to work on this to try to figure it out. If anyone has any ideas that could point me in the right direction, they would be appreciated.
|
|
 |