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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:11:36+00:00 2026-05-12T21:11:36+00:00

VS2005, ASP.NET, C#, IIS6 Hello friends, I have a master page divided into three

  • 0

VS2005, ASP.NET, C#, IIS6

Hello friends,
I have a master page divided into three sections i.e. header, details, footer.

The header section contains web user control having AJAX tab container. We are showing or hiding tabs according to user previleges. Initially only one tab is active showing user to log in. When the user logs in other tabs are activated.

I have used <%@ OutputCache Duration=”120″ VaryByParam=”none” %> within my user control. When the user logs in NullReferenceException is generated on one of the method within that control.

When I remove the OutputCache, everything works fine.

Could someone guide me what should i do?

Thanks in advance

  • 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-12T21:11:36+00:00Added an answer on May 12, 2026 at 9:11 pm

    The “easy” way to fix this is to check if the value is null, if it is null create it.

    A better way would be to find out why it is null.

    One possibility is that the first time that page is called there is a parameter that determines that one of the controlls should not be created. The second time it is called it is called with a parameter that say that the controll is required, but it is using a cached version of the page that does not have that controll.

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

Sidebar

Related Questions

I have an VS2005 ASP.Net page with a repeater on it of Customers. The
I am using VS2005 C# ASP.NET. I have a .aspx page with a script
I am using VS2005 C# ASP.NET. I have a webform which contains a list
I have a small asp.net mvc app running on WIN2k3 and IIS6. I'm using
I am using VS2005 ASP.NET 2.0. I have a web application which uses Active
I am using VS2005 C# ASP.NET 2.0. I have used role management in the
I am using ASP.NET C# on VS2005. I have a GridView table with a
I have an puzzling problem. I have a new ASP.NET web application in VS2005
I am using C# ASP.NET on VS2005. I have a gridview table but it
I have VS2005 and I am currently trying to debug an ASP.net web application.

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.