C
csgraham74
I have created a web page(.aspx) that displays a .pfd page in an
iframe. It does this by building a string of html and then executing
this at a certain point. This code works fine on my development server
but not on my live system - on the live system it brings up a blank
screen.
The code links to a local path on the server for a link to the .pdf -
is this my issue ??
Does anyone have any ideas why this would happen and how i can resolve
this issue???
Code below
Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder
sb.Append("<iframe height=100% width=100% frameborder=no src="
& g_str_Fname & " </iframe>")
Return sb.ToString
the g_str_Fname value is a local path e.g. C:\test.pdf
iframe. It does this by building a string of html and then executing
this at a certain point. This code works fine on my development server
but not on my live system - on the live system it brings up a blank
screen.
The code links to a local path on the server for a link to the .pdf -
is this my issue ??
Does anyone have any ideas why this would happen and how i can resolve
this issue???
Code below
Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder
sb.Append("<iframe height=100% width=100% frameborder=no src="
& g_str_Fname & " </iframe>")
Return sb.ToString
the g_str_Fname value is a local path e.g. C:\test.pdf