473,396 Members | 1,766 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,396 software developers and data experts.

Why are the links changing automatically?

Expand|Select|Wrap|Line Numbers
  1. Server.HtmlDecode(wp.Body.ToString());
  2. this.litBody.Text = body.ToString();
I'm using the above code to display database content on my website. The actual text on database is as follows.

<p>Forbury Investment Network (FIN) is a platform established to facilitate investment in early- and growth-stage companies in the technology sectors.</p>
<p>FIN was established by <a title="Clarkslegal" href="http://www.clarkslegal.com/" target="_blank">Clarkslegal</a> and its subsidiary <a title="Forbury Environmental" href="http://www.forburyenvironmental.com/" target="_blank">Forbury Environmental</a>, after 3 years of managing The EIC Environmental Investment Network.</p>
I have a test site and live site on the same server. Links work fine on test server. But when i look at the page on live server it the links are al wrong. www. is missin from both links and forburyenvironmental.com has become forburyenvironmental.co.uk. This is really wierd. Can any one help me..

I'm using c# asp.net with sql server.
Oct 19 '10 #1
2 1169
Finally found the solution to resolve this. It was the ISA firewall translating local URLs.
Oct 20 '10 #2
Frinavale
9,735 Expert Mod 8TB
Thank you for posting the answer.

Your problem was a mystery to me and I would never have guessed a firewall would have changed the response in any way.

-Frinny
Oct 22 '10 #3

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

Similar topics

5
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have...
1
by: Steve Pan | last post by:
Hi all, When the text of textbox web server control is changed automatically (not entered), the TextChanged event is not triggered. Who can tell in this case which event will be triggered? ...
3
by: akunal | last post by:
I'm trying to represent a linked relationship among between nodes as follows: <!-- Top level nodes --> <Cities> <City>Los Angeles</City> <City>San Francisco</City> <City>Seattle</City>...
1
by: mforema | last post by:
Hi Everybody, I have an Access table with a field filled with outdated hyperlinks. I also have an excel spreadsheet that is the master list for these hyperlinks. The spreadsheet will be updated...
3
by: yeah1279 | last post by:
I recently changed our web pages to be utf-8 encoded (server response header content type is also set to utf-8). There are some links to external sites within the pages that pass parameters that can...
0
by: Ganesh | last post by:
Hi There, I've a master page, and the content place i'v a page which has a text box name tbCity. I would like to use javascript to find out that was blank or not. When i look at the...
0
by: woodford123 | last post by:
Hi all, Here's hoping you can help a very new person to VB. I've got an Excel file with links to other Excel files in hundreds of cells, but there are two parts of these links in each cell I...
5
by: annaGold | last post by:
Hello, I wrote this simple javascript to demonstrate my problem with IE6 & 7. The code works find in Mozilla, but in IE my email link on the page is changed to the new href. Only href should change,...
2
Carrugar
by: Carrugar | last post by:
Hi all, Is there any way that some of the IIS 6.0 configuration settings can be automatically changed? Its just that out Web Site went doen last week because the "Enable Parent Paths" box was...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.