944,035 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2773
  • ASP.NET RSS
Oct 31st, 2004
0

Need Help! Novice of ASP.NET

Expand Post »
Hi, everyone
I am new to asp.net and just installed asp.net in my computer(on windows xp pro sp1). but when i created a asp file and requested in a browser, it couldn't run properly. here is the code:
<html>
<body>
<h1> The date is <% Response.Write(DateTime.Now.ToLongDateString()) %>
</h1>
</body>
</html>

It only display the plain text "the date is" in the browser, but not the current time. (which means it didnt execute code). So frustrated

How can i fix this? Can someone please teach me, please? Thanks so much!!!!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nelsonca is offline Offline
1 posts
since Oct 2004
Nov 29th, 2004
0

Re: Need Help! Novice of ASP.NET

i think the IIS is not regiterted with asp.net..

just goto command prompt and run this C:\WINDOWS\Microsoft.NET\Framework\Ur Framework Version\aspnet_regiis.exe -i to register with iis

and then restart IIS and try to run it.. hope it will work now
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vavjeeva is offline Offline
2 posts
since Sep 2004
Dec 2nd, 2004
0

Re: Need Help! Novice of ASP.NET

Hey my friend, I see you have win xp pro with sp1. I had the same problem. and I just installed sp2 and it worked really nice. why don't you try to install sp2 then iis, the freamwork and finally asp.net
:mrgreen:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
latinboy192001@ is offline Offline
1 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: .net framework and jwenting....
Next Thread in ASP.NET Forum Timeline: How can i change a picture navigation link after succesfuuly logging in.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC