473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Hyperlink issue *twitch*

52
So I think I might be going insane... I have two asp pages that are exactly the same code, I mean copy/paste exact. So naturally I would expect to get the same results out of it....

what a silly person i am... First the evil evil line of code....

Expand|Select|Wrap|Line Numbers
  1. Response.Write "<td><a href='http://" & Recordset1("URL") & "'>" & Recordset1("URL") & "</a></td>"
  2.  
Both pages are running on my IIS and all the settings are the same. the only difference between the two setups is the database. The test environment is using SQL 2005 express and the production is using SQL 2000, but why should that make a difference?

here is the output from the test environment when you veiw source through IE7

Expand|Select|Wrap|Line Numbers
  1. <td><a href='http://www.test3.com'></a></td>
  2.  
and from the production (which works properly)

Expand|Select|Wrap|Line Numbers
  1. <td><a href='http://mail.google.com'>mail.google.com</a></td>
  2.  
I've tried posting this on the SQL forum and got no responses, so now i'm looking for another way to code it that might work better... any help would really be appreciated.
Jul 11 '07 #1
3 1461
jhardman
3,406 Expert 2GB
Wow, that really is a sticker, no wonder no one else answered. try passing the value of recordset1("URL") to a local variable, say myURL or some such and using that. I don't know why it is failing, I don't see anything wrong, but that should clarify whether the db connection is failing.

Jared
Jul 12 '07 #2
Shisou
52
OMG! thank you so much! that fixed it... not sure what was causing it but putting it into a variable seems to fix it!

Thanks again!
Jul 12 '07 #3
jhardman
3,406 Expert 2GB
OMG! thank you so much! that fixed it... not sure what was causing it but putting it into a variable seems to fix it!

Thanks again!
glad it worked. I also have no idea why...

Jared
Jul 12 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: deko | last post by:
Is there a special syntax for hyperlinks in queries? I have a table of hyperlinked documents displayed in a subform datasheet. Clicking the hyperlink opens the document from the hard drive. I...
3
by: Ray | last post by:
I recently upgraded from Access 97 to Access 2003 and just enter some new data into table via an input form. The form has one hyperlink field to contain a file path. In Access 2003, it appears...
9
by: Leigh Kendall | last post by:
I can't find any issue in the MS KB, but I'm experiencing the following problem which seems to be specific to IE5, and NOT any other version of IE 5.5+ or NN 6+. Issue: I'm using an asp.net...
0
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
3
by: Tim::.. | last post by:
I currently have the following datagrid but want to turn the name and email column into a hyperlink in the codebehind! Can someone please tell me how I achieve this! Thanks Private Sub...
3
by: Bren | last post by:
Hi All VS2005 Gridview control with vb I am populating a gridview of company staff. One of the columns is a hyperlink to a SMS texting facility I have so secrataries can text the managers...
10
by: David Thielen | last post by:
Hi; I have help html pages for each page of my ASP.NET webapp. So for the page datasource.aspx, I have help\datasource.htm. Bu what I want when the hyperlink is clicked, for it to look for the...
0
by: Scott | last post by:
I have a search form built with Access 97 and now I upgraded to Access 2003. On one field of the resulting form, I have a field of hyperlink data type containing the path of the file, i.e., Disk...
0
by: Brian via AccessMonster.com | last post by:
I am trying to create a hyperlink to a report. I have used the "Select an object in this database" to add the hyperlink. The issue I have is that I am using a hyperlink-base to point the hundreds...
1
ammoos
by: ammoos | last post by:
Hi Friends I have placed hyperlink in data grid, in the Page named "List" .The process of work is that when the user click on the Hyper link in the page "List" then a new page, named "View", will...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.