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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:27:37+00:00 2026-05-27T18:27:37+00:00

I am inheriting a sitecore implementation and I have been trying to debug a

  • 0

I am inheriting a sitecore implementation and I have been trying to debug a membership form. The membership page contains a membership sublayout that contains a simple form (first, last, address,…). When I am debugging on my local machine, I fill the form and click submit. The page posts back and as soon as the base layout is hit, the Sitecore.Context.Item is NULL.
The interesting part is that if I PREVIEW the page within Sitecore, when I postback everything works fine, which makes me believe that it’s just a matter of some internal settings in my web.config or some other configuration file.

Here are the content of some variables on the first hit of the page and on the postback in both PREVIEW mode and regular mode:

first hit (preview mode)

Sitecore.Context
.Data.RawUrl = /?sc_itemid=%7b2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB%7d&sc_mode=preview&sc_lang=en
.Database = master
.Item,Database = master
.Item.Id = {2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB}
.Item.Name = Website_Membership
.RawUrl = /?sc_itemid=%7b2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB%7d&sc_mode=preview&sc_lang=en
.Request.ItemPath = /sitecore/content/home/

Postback (preview mode)

Sitecore.Context
.Data.RawUrl = /Sites/CMS/Layouts/Membership Layout.aspx?sc_itemid=%7b2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB%7d&sc_mode=preview&sc_lang=en
.Database = master
.Item,Database = master
.Item.Id = {2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB}
.Item.Name = Website_Membership
.RawUrl = /Sites/CMS/Layouts/Membership Layout.aspx?sc_itemid=%7b2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB%7d&sc_mode=preview&sc_lang=en
.Request.ItemPath = /sitecore/content/home/sites/cms/layouts/membership layout

first hit (regular mode)

Sitecore.Context
.Data.RawUrl = /SomePath/Website_Membership.aspx
.Database = web
.Item,Database = web
.Item.Id = {2A58FFA4-D16A-4EAB-8298-9398ACFDDEFB}
.Item.Name = Website_Membership
.RawUrl = /SomePath/Website_Membership.aspx
.Request.ItemPath = /sitecore/content/home/somePath/website_membership

postback (regular mode)

Sitecore.Context
.Data.RawUrl = /Sites/CMS/Layouts/Membership Layout.aspx
.Database = web
.Item = NULL
.RawUrl = /Sites/CMS/Layouts/Membership Layout.aspx
.Request.ItemPath = /sitecore/content/home/sites/cms/layouts/membership layout

Has anyone experienced something like this before and/or can you think of any reason for this to happen?

EDIT:
On the sdn.sitecore forum Kevin Buckley:

I’m thinking the control adapter
‘form.browser’ is missing. It should
be in the app_browsers folder.

I just want to add a note in regards. The files were missing from the app_browsers folder BUT I had added them manually few days ago by copying them from a clean sitecore installation. That didn’t seem to help.

  • 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-27T18:27:38+00:00Added an answer on May 27, 2026 at 6:27 pm

    I had the same problem today with Sitecore.Context.Item == null after postback, after upgrading to the latest Sitecore 6.5 rev 111123

    And it turned out the problem started to appear because App_Browsers\Form.browser file was removed during upgrade.

    When I restored it back this issue disappeared.
    Hope this will be helpful.

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

Sidebar

Related Questions

I have a simple class inheriting RadGrid . I am adding a button to
I have a UserControl inheriting from another, and my question is simple. Does the
I have a class called XYZ inheriting from NSObject and an array which contains
I have batch file that I am inheriting and I cannot get to work
I have a problem that Google Map API is inheriting the style from my
I have a class that's currently inheriting from Dictionary and then adds a few
Situation I have the following Sitecore Lucene config: New index, type=Sitecore.Search.Index, Sitecore.Kernel Contains two
I have many classes inheriting the Page class. They share the same update_ended method
If you use an WebHandler inheriting IHttpAsyncHandler, you shouldn't notice that under undetermined specific
I'd like to find all the types inheriting from a base/interface. Anyone have a

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.