Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default hyperlink URL forced to localhost

I write a hyperlink in a cell but the URL has "localhost" where it should
have the URL I actually specified in my code.

Some sort of substitution is happening. Any ideas?

1) I have unchecked the "replace as you type" AutoCorrect feature.

2) This is the URL opened when I click on my hyperlink cell
http://localhost/vrs/bioReport.aspx?...LU42N27Z339824
It should be
http://isid6403/vrs/bioReport.aspx?l...LU42N27Z339824
ISID6403 is a windows machine on my intranet, not an outside www URL

3) This is the code that creates the URL - - ASP.NET, C# - - no its not VB

string myName = Request.ServerVariables["SERVER_NAME"];
string vrsURL =
string.Format("http://{0}/vrs/bioReport.aspx?lineID={1}",myName,lineID);

4) I log "SERVER_NAME" to the eventlog and it shows "SERVER_NAME=ISID6403"

So, how do I get a real intranet URL in my hyperlink????




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default hyperlink URL forced to localhost

How about ask in an ASP.Net group ?

NickHK

"Eggle" wrote in message
...
I write a hyperlink in a cell but the URL has "localhost" where it should
have the URL I actually specified in my code.

Some sort of substitution is happening. Any ideas?

1) I have unchecked the "replace as you type" AutoCorrect feature.

2) This is the URL opened when I click on my hyperlink cell

http://localhost/vrs/bioReport.aspx?...LU42N27Z339824
It should be
http://isid6403/vrs/bioReport.aspx?l...LU42N27Z339824
ISID6403 is a windows machine on my intranet, not an outside www URL

3) This is the code that creates the URL - - ASP.NET, C# - - no its not VB

string myName = Request.ServerVariables["SERVER_NAME"];
string vrsURL =
string.Format("http://{0}/vrs/bioReport.aspx?lineID={1}",myName,lineID);

4) I log "SERVER_NAME" to the eventlog and it shows

"SERVER_NAME=ISID6403"

So, how do I get a real intranet URL in my hyperlink????






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default hyperlink URL forced to localhost

OOPS - it was a permissions issue.
ASP.NET was not configured with access to DCOM Excel Application

see this KB article so it doesn't happen to you.
/kb/288367
and /kb/288366



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forced Scaling [email protected] Charts and Charting in Excel 0 May 17th 07 06:33 PM
Forced Distribution Mark Excel Worksheet Functions 3 November 2nd 04 11:43 PM
Forced Capitals ianripping[_30_] Excel Programming 3 January 21st 04 09:36 AM
Forced Input Garry Jones Excel Programming 1 October 12th 03 02:41 PM


All times are GMT +1. The time now is 11:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"