Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 March 27th, 2004, 02:45 AM
Registered User
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not getting "time" displayed in the first example

Hello everybody, I am new to .NET and just got this book from wrox Beginning ASP.NET with VB .NET .Now this is really frustrating when the first example of the book doesn't works.I have checked the code thousand times but i just dont get the "time" displayed in the browser.(No error message )
Can someone help me in this regard? I would really appreciate your help.
Regards,
Abhishek.

 
Old March 27th, 2004, 04:13 AM
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,

Did you install IIS before you installed the .NET Framework? The order of installation is important for things to work correctly.
If you look at the source of the page in the browser, you probably still see the ASP.NET code, right?

Take a look at this post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=3704

You probably need to run aspnet_regiis -i as that post explains. If you search this forum for aspnet_regiis, you'll come across more useful messages.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 27th, 2004, 07:21 AM
Registered User
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey imar, thanks for replying but i alreadyhave installed IIS and i dont have visual studio because the book says that mere .NET Framework is enough for the examples to run on the browser. And so i dont know where to run aspnet_regiis -i.
can you help me now?

regards,
abhi.




Quote:
quote:Originally posted by Imar
 Hi there,

Did you install IIS before you installed the .NET Framework? The order of installation is important for things to work correctly.
If you look at the source of the page in the browser, you probably still see the ASP.NET code, right?

Take a look at this post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=3704

You probably need to run aspnet_regiis -i as that post explains. If you search this forum for aspnet_regiis, you'll come across more useful messages.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 27th, 2004, 07:48 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sure. Did you install IIS before you installed the .NET Framework?

You'll find the .exe tool here:

YourWindowsFolder\Microsoft.NET\Framework\Your.NET VersionNumber

(most likely something like this: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322)

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 27th, 2004, 08:04 AM
Registered User
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No .NET frameworkwas already installed before even IIS was installed
Does that make any difference though i re-installed framework after IIS?

Thanks!
regards,
Abhi.








Quote:
quote:Originally posted by Imar
 Sure. Did you install IIS before you installed the .NET Framework?

You'll find the .exe tool here:

YourWindowsFolder\Microsoft.NET\Framework\Your.NET VersionNumber

(most likely something like this: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322)

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 27th, 2004, 08:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yeah, that matters a lot. The .NET Framework setup makes changes to the configuration of IIS, to map the various ASP.NET pages (like .aspx) to the .NET Framework.

The aspnet_regiis tool will take care of that as well, so running it with the right parameters (check the /? option for info) should do the trick.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 27th, 2004, 11:53 AM
Registered User
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

cool man! it works now.Thank you so much.You are doing a great thing here.

cheers!
abhi.



Quote:
quote:Originally posted by Imar
 Yeah, that matters a lot. The .NET Framework setup makes changes to the configuration of IIS, to map the various ASP.NET pages (like .aspx) to the .NET Framework.

The aspnet_regiis tool will take care of that as well, so running it with the right parameters (check the /? option for info) should do the trick.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Only one screen is displayed at one time dontknowmuch Java GUI 1 May 14th, 2005 11:33 AM
Time displayed with date! Please help Renu ASP.NET 1.0 and 1.1 Basics 18 August 20th, 2004 09:04 AM
Time getting displayed along with Date mahulda Classic ASP Databases 15 August 16th, 2004 02:05 PM
Date and Time Displayed Together in DataGrid mahulda ADO.NET 2 July 16th, 2004 04:43 AM
time displayed damnnono_86 Access 2 November 28th, 2003 01:02 PM





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