- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Internet Products
- >
- ASP code in web page won't execute
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 10:18 AM
тАО02-03-2003 10:18 AM
ASP code in web page won't execute
A simple
<% Time %> won't show anything. Any clues ASP gurus?
Thanks,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 11:29 AM
тАО02-03-2003 11:29 AM
Re: ASP code in web page won't execute
<%=(time)%>
Full reference:
Time = <%=(time)%>. (results in: 2:04:16 PM)
Date = <%=(date)%>.(results in: 2/3/2003)
"Now" = <%=(now)%>. (results in: 2/3/2003 2:04:16 PM)
Note: These will all display the time or date on the server, not the time on the user's computer.
To get the date to display like this, Today is: February 3, 2003, use the following:
<%
datToday = Date()
intThisYear = Year(datToday)
intThisMonth = Month(datToday)
intThisDay = Day(datToday)
strMonthName = MonthName(intThisMonth)
%>
Today is: <% = strMonthName %> <% = intThisDay %>, <% = intThisYear %>
To display Day of Week plus Date, like this, Monday, February 03, 2003, use the following :
<%= FormatDateTime(date,1) %>
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 11:35 AM
тАО02-03-2003 11:35 AM
Re: ASP code in web page won't execute
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 12:16 PM
тАО02-03-2003 12:16 PM
Re: ASP code in web page won't execute
Are there any errors messages in the client's browser?
Do the functions display anything?
I would think that this could be permissions related, (read but not execute), or clients are blocking scripts locally.
Still doing some checking for you.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 12:31 PM
тАО02-03-2003 12:31 PM
Re: ASP code in web page won't execute
http://support.microsoft.com/default.aspx?scid=kb;en-us;304916
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2003 12:42 PM
тАО02-04-2003 12:42 PM
Re: ASP code in web page won't execute
let's check out the webserver.
Is it running?
What are the mappings for the .ASP files? (look in properties/Home Directory/Configuration/App Mappings
Is there a mapping for .ASP files?
If so, perhaps you need to register asp.dll? (regsrv32)
Did any of this make sense?