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 8602201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:01:24+00:00 2026-06-12T02:01:24+00:00

My web site crashes and simply returns a bland page when I use the

  • 0

My web site crashes and simply returns a bland page when I use the TagBuilder class in my controller.

The code works perfectly on my local machine, running Windows 7. I have tried with two different web hosts now, and they both have the same problem: A blank page if I use the TagBuilder class in code behind. I have made a workaround so that I simply build the tag string using String.Format, but I would of cause understand what the problem is, and then correct the error.

I feel like I should provide some code, but I have narrowed it down to the following line:

// A blank page is returned if unless I uncomment the following line
// and avoid the TagBuilder class.
TagBuilder tag = new TagBuilder("link");

I would really appreciate any help I can get with the following problem, because I just can not understand how this error can occur.

Where should I look? Web.config? I have tried enabling trace, but that didn’t help me. Has Microsoft changed anything recently in the TagBuilder class?

  • 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-06-12T02:01:26+00:00Added an answer on June 12, 2026 at 2:01 am

    I never found out why my code did not work, but I did find a solution: I now precompile the website before I publish it to the website. I have absolute no idea why this works. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My website works fine on my local mashine but crashes on heroku. Here is
My web site has a database lookup; filling out a CAPTCHA gives you 5
My ASP.NET MVC web site markup looks wrong in iOS (both iPad and iPhone).
I have developed a web site that requires user registration and authentication for some
I've have a web site I'm building using NodeJS, that needs to serve up
I currently have a web site hitting 7 Access DBs that I desperately need
I'm developing web site that loads pages dynamically using the .load function. For example:
I'm creating web site in asp.net web forms. I added validation to fields in
got a simple web site, in html. I do a simple function to move
The new Web site instances for Azure appear to be VM's, without all of

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.