|
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
|
|
|
March 27th, 2004, 02:45 AM
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 27th, 2004, 04:13 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
March 27th, 2004, 07:21 AM
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
March 27th, 2004, 07:48 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
March 27th, 2004, 08:04 AM
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
March 27th, 2004, 08:37 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
March 27th, 2004, 11:53 AM
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
|
|