IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 5th, 2005, 04:37 PM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,371 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 9 h 27 m 40 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
Server.URLEncode not working.

can someone tell me why this link will not come up in a browser. Go to this page, http://tmhdesign.com/tasty/tuscany-italian-recipes.asp?category=3 At the bottom of the page, there will be a link that reads "Next Dessert Recipe" Click it. You will see a 404 error with information about IIS configuration? The code seems intact, but it doesn't seem to be working. I am attempting to get this page to validate, but using a response.write to put out a dynamic url is causing grief.

If NOT rs.EOF Then
temp = "tuscany-italian-recipes.asp?category=" & request("category") & "&recipe=" & rs("id")
Response.Write "<p style='text-align:center;margin:0 0 15px 0;padding:0;'><a href=http://www.tmhdesign.com/tasty/'" & server.URLEncode(temp) & "' >Next " & category & " Recipe</a></p>"
End IF
__________________
Today the world, tomorrow the universe...

Reply With Quote
  #2  
Old January 5th, 2005, 10:40 PM
Doug G Doug G is online now
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,713 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 58 m 55 sec
Reputation Power: 688
Try

Response.Write "<p style='text-align:center;margin:0 0 15px 0;padding:0;'><a href=""http://www.tmhdesign.com/tasty/" & server.URLEncode(temp) & """ >Next " & category & " Recipe</a></p>"
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old January 6th, 2005, 01:38 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,371 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 9 h 27 m 40 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
Thanks Doug, but still no dice for some damn reason. Here is the href value as put out by your code, followed by the same url I took and replaced with the ?,=,& characters, One works, one doesnt.


http://www.tmhdesign.com/tasty/tuscany%2Ditalian%2Drecipes%2Easp%3Fcategory%3D2%26recipe%3D4


http://www.tmhdesign.com/tasty/tuscany-italian-recipes.asp?category=2&recipe=4

Reply With Quote
  #4  
Old January 6th, 2005, 09:04 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,371 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 9 h 27 m 40 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
Doug, possible answer

Quote:
Originally Posted by Doug G
Try

Response.Write "<p style='text-align:center;margin:0 0 15px 0;padding:0;'><a href=""http://www.tmhdesign.com/tasty/" & server.URLEncode(temp) & """ >Next " & category & " Recipe</a></p>"


Doug, It seems it is an IIS issue. I am in Budapest and the server is in Iowa. When ever I was trying to pull up a page using the URLEcode, I am being told by my server admin that the firewall is blocking my IP. At the moment, he is trying to figure out how to prevent this... I thought I was going crazy.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Server.URLEncode not working.


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 6 hosted by Hostway