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

  • Home
  • SEARCH
  • 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 8454873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:08:19+00:00 2026-06-10T12:08:19+00:00

Suddenly, I’ve started to get error in my ServiceStack MVC service application as below

  • 0

Suddenly, I’ve started to get error in my ServiceStack MVC service application as below :

{"The given key was not present in the dictionary."}    
System.Exception {System.Collections.Generic.KeyNotFoundException}

and StackTrace:

  at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ServiceStack.WebHost.Endpoints.Utils.FilterAttributeCache.GetRequestFilterAttributes(Type requestDtoType) in C:\src\ServiceStack\src\ServiceStack\WebHost.Endpoints\Utils\FilterAttributeCache.cs:line 44
   at ServiceStack.WebHost.Endpoints.EndpointHost.ApplyRequestFilters(IHttpRequest httpReq, IHttpResponse httpRes, Object requestDto) in C:\src\ServiceStack\src\ServiceStack\WebHost.Endpoints\EndpointHost.cs:line 201
   at ServiceStack.WebHost.Endpoints.RestHandler.ProcessRequest(IHttpRequest httpReq, IHttpResponse httpRes, String operationName) in C:\src\ServiceStack\src\ServiceStack\WebHost.Endpoints\RestHandler.cs:line 79
   at ServiceStack.WebHost.Endpoints.Support.EndpointHandlerBase.ProcessRequest(HttpContext context) in C:\src\ServiceStack\src\ServiceStack\WebHost.Endpoints\Support\EndpointHandlerBase.cs:line 150
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I’ve no idea about the error or what wrong is. My app was working and now not working.

Any idea how to fix this ?

EDIT 1: When I navigate the service url in my webbrowser,the debugger never reaches to my service classes and Run methods.

  • 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-10T12:08:21+00:00Added an answer on June 10, 2026 at 12:08 pm

    Well, quite strange!
    Here are the actions I took and did not work.

    • Restart IIS and VS 2010.
    • Compile the code and debug on VS 2010.
    • Compile the code and replace with the content on IIS and restart IIS again.

    Here are the action I took and the project started to work again.

    • Create a new MVC project.
    • Install ServiceStack MVC via NuGet.
    • Copy existing codes to new project.
    • Rename the namespace in existing code on the new project.
    • Debug on VS2010 and project started to work like a charm.

    When I published the project to the the existing WebSite on IIS , I got the error below :

    AppHost instance has been already set
    

    However, to pass the error, I’ve deleted the existing website and created a new one.
    Than, I’ve copied the new project output in the new website.

    All started work like a charm again.

    But I still don’t know why I got the errors.

    I hope this will help who may have the same problems.

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

Sidebar

Related Questions

I suddenly get the below error. My application was working fine until I probably
Suddenly I started getting the following error: Fatal error: Class 'Mongo' not found in
I suddenly started to get this error. I don't know how to diagnose or
Suddenly I am not able to run my application on an emulator or device
I'm receiving suddenly this error on a Win2003 Server Web Application: Microsoft VBScript runtime
Since yesterday suddenly my Eclipse does not work anymore. The error is Failed to
I have suddenly started seeing this strange error when trying to push my database
I just suddenly started getting this error when trying to query the table AVC.
Suddenly, I can't delete Facebook photos via the API. I get this error: Array
I suddenly started getting the following error in the General ouput window of Visual

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.