.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 11th, 2004, 12:28 PM
judo1 judo1 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Victoria, BC, Canada
Posts: 8 judo1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to judo1
Source code displays on page

Hello,
This is probably something pretty easy to fix, I just can't think of it and need some suggestions. I have an aspx page that displays with no problems in my internet browser(ie). I shipped a copy of this page to someone else, when they open up the page the source code can be viewed on the page. The offending source code is part of a text area in a form. The other browser does not seem to read the "<%" tags. Any suggestions to get this code to work properly?
Thanks in advance,
Cam

Offending code:
<form action="dave1.aspx" method="get">
Start Date
<INPUT value= "
<%if ((Request.QueryString["start_date"]!="") && (Request.QueryString["start_date"]!=null)) {
Response.Write(Request.QueryString["start_date"]);
}else {
Response.Write("");
}%> "
maxLength="10" size="6" name="start_date" onkeypress="window.focus()" onmouseover="window.focus()"
onclick="window.focus()">
<input name="submit" type="submit" value="Submit">
</form>

Reply With Quote
  #2  
Old March 11th, 2004, 04:08 PM
judo1 judo1 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Victoria, BC, Canada
Posts: 8 judo1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to judo1
I figured it out. Although I had the dotnet framework installed I did not have asp.net 1.1 running.

Reply With Quote
  #3  
Old April 4th, 2005, 02:29 PM
abymats abymats is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 abymats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 31 sec
Reputation Power: 0
Quote:
Originally Posted by judo1
I figured it out. Although I had the dotnet framework installed I did not have asp.net 1.1 running.


Could you kindly elaborate? I am having the same problem when my application was deployed on a new machine. I never started or stopped anything to have ASP.NET running, and I don't see anything under 'services' other than 'ASP.NET State Service', which is an optional thing.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Source code displays on page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway