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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:17:19+00:00 2026-05-12T06:17:19+00:00

Seems fairly straight forward and simple, I am doing the following and getting an

  • 0

Seems fairly straight forward and simple, I am doing the following and getting an ‘Object reference not set to an instance of an object.’ error. It’s a very simple update.

   [AcceptVerbs(HttpVerbs.Post)][Authorize(Roles="admin")][ValidateInput(false)]
    public ActionResult SaveContent(int id, string content)
        {
            var page = _repos.Single<Models.Page>(p=>p.PageID == id);
            page.PageContent = content;
            _repos.Update(page);
             return RedirectToAction("Index",new { pagename=page.Name});
         }

I can see in the debugger that I am actually getting my object and updating it with new values but the _repos.Update(page); chokes every time.

Anyone else having this issue?

  • 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-12T06:17:20+00:00Added an answer on May 12, 2026 at 6:17 am

    This is a bug of SubSonic 3.0.0.3, you should go to http://github.com/subsonic/SubSonic-3.0/tree/master, get the latest source code and build the dll yourself.

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

Sidebar

Related Questions

Fairly straight-forward Ember question here, (I hope!). I have a simple Ember-data setup. One
I'd like to count and group rows by specific values. This seems fairly simple,
This seems like another fairly simple thing to do, but I'm again struggling on
This seems like it would be fairly simple, but I've been unable to find
I have a fairly simple question, however the answer seems to elude me. If
I was hoping this would be fairly straight forward but I haven't had much
I currently have a fairly straight forward app, my first attempt at MVVM using
This is driving me a little crazy because it seems like a fairly straight
My schema is a fairly straight-forward membership and roles schema: Users table: UserId (PK)
Fairly straight-forward question here. Been looking over some code and I've seen a function

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.