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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:21:54+00:00 2026-05-27T07:21:54+00:00

in views/jump/index have problem. first rows: @model IEnumerable<WhislaMvc.Areas.Admin.Models.Jump> @{ ViewBag.Title = Index; } @model

  • 0

in views/jump/index have problem.

first rows:

@model IEnumerable<WhislaMvc.Areas.Admin.Models.Jump>
@{
    ViewBag.Title = "Index";
}

@model and ViewBaf – do not see.
I take error:

compilation Error Compiler Error Message: CS0103: The name ‘model’
does not exist in the current context Compiler Error Message: CS0103:
The name ‘ViewBug’ does not exist in the current context

enter image description here

Update:
I comment model and ViewBag

@Html.ActionLink("Create New", "Create")

Html not have method ActionLink why????

  • 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-27T07:21:54+00:00Added an answer on May 27, 2026 at 7:21 am

    From your question description, it shows that, I think you are using Asp.Net MVC 2 and you just tried to use the functionality of Asp.Net MVC 3.

    ViewBag comes with Asp.Net MVC 3 (It's feature of Asp.Mvc 3)

    There are few suggestions that you can try to avoid compilation error.

    1. Install Asp.Net MVC 3 (Install .Net Framework 4 prior)

    2. Change your project property. (Right Click Web Project -> click
      ‘Properties’ -> Application tab -> Target Framework -> Change to
      .NET Framework 4

    Check and Change your web.config as below:

    <compilation debug="true" targetFramework="4.0">
                <assemblies>
                    <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
                </assemblies>
            </compilation>
    

    Hope this helps!

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

Sidebar

Related Questions

I'll just jump right into it. I have a model called Request which I
I have an iPhone app in development that requires three slides (views). The problem
I´m building an app for iphone. I have two views. The first time the
I have a strange problem with absolute positioning and sizing elements to fit around
I have 2 views. On the second I have a UITableview where I can
I have started a 2d tile based game for iphone , i will jump
i have two views,one is aView,another is bView, there is a button on aView,i
i want to jump in my detailview through the rows of my tableview. passing
I am create twitter_zombie rails fro fun. I just have one problem,when I click
Good Morning Community, I have a problem, because I have implemented an CoverFlowViewController.m with

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.