Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6851445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:14:55+00:00 2026-05-27T01:14:55+00:00

I try lots of solution that solve by others, but it still got this

  • 0

I try lots of solution that solve by others, but it still got this error:

‘http:/gg:9090/Product/HtmlDetail/test.htm’ is not a valid virtual path.
I want to print the content of test.htm text into my div block.
This is my code:

<% Response.WriteFile("http://gg:9090/Product/HtmlDetail/test.htm"); %>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:14:56+00:00Added an answer on May 27, 2026 at 1:14 am

    try this

    <% Response.WriteFile("~/HtmlDetail/test.htm"); %>
    

    EDIT:

    in codebehind:

    WebClient client = new WebClient();
    Stream stream = client.OpenRead("http://gg:9090/Product/HtmlDetail/test.htm");
    StreamReader sr = new StreamReader(stream);
    string content = sr.ReadToEnd();
    div1.InnerHtml = content;
    

    in aspx page:

    <div id="div1" runat="server"></div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lots of similar questions but non with a solution that works in my case.
try: html = urlopen('http://glbse.com/api/asset/' + asset.name) except: print 'error while updating the price of
I've gone looking online for this solution and can't find anything that explains my
There are lots of questions like this one, but I checked them all out
EDIT: Please note that this question is OUTDATED; RVM got way easier to use
I have Maven on Ubuntu server. It seems to try lots and lots of
Try this code - import java.io.StringReader; public class StringReaderTest { public static void main(String[]
Try this piece of code - public class WhitespaceTest { public static void main(String[]
try: recursive_function() except RuntimeError e: # is this a max. recursion depth exceeded exception?
I'm working developing a system right now that deals with lots of conversions between

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.