Subject: APS Codes Don't Run!!!
Posted By: andresaw Post Date: 11/27/2003 8:56:07 PM
I have tried some examples from Beginning ASP .NET Databases with C# and also some from Beginning Visual C# books, but it looks like ASP dynamic codes don't run and i can only see thost static ones.

For example, i put a label (copyright)with ID 'labelCopyright 'in .aspx file and modify the .cs Page_Load function like below.

int year = DateTime.Now.Year;
if (year == 2002)
   labelCopyright.Text = "Copyright © xxxx " + year;
else
   labelCopyright.Text = "Copyright © xxxx 2002-" + year;

Even if i replace the text with some other, in the web page, it just displays (copyright) which is label's text. So, i suppose something is wrong with my computer to run ASP codes.

Pls anyone help me asap.

Thx a lot
Regards,
Andre

Reply By: stu9820 Reply Date: 12/16/2003 1:42:30 PM
Can you get any asp.net code to run?

You can try this:
http://p2p.wrox.com/topic.asp?TOPIC_ID=4091&SearchTerms=aspnet_regiis.exe

look for my post at the bottom of the topic.


Go to topic 7620

Return to index page 985
Return to index page 984
Return to index page 983
Return to index page 982
Return to index page 981
Return to index page 980
Return to index page 979
Return to index page 978
Return to index page 977
Return to index page 976