Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Forced Scaling | Charts and Charting in Excel | |||
Forced Distribution | Excel Worksheet Functions | |||
Forced Capitals | Excel Programming | |||
Forced Input | Excel Programming |