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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:23:57+00:00 2026-06-15T05:23:57+00:00

namespace StorageRoleMVC4.Controllers { public class SearchController : ApiController { public Dictionary<string, string> Get([FromUri] string

  • 0
namespace StorageRoleMVC4.Controllers
{
    public class SearchController : ApiController
    {
        public Dictionary<string, string> Get([FromUri] string searchString, [FromUri] string searchObject)
        {
            var searchHelper = new SearchStorageHelper();
            var objectList = searchHelper.Retrieve(searchString, searchObject);

            return objectList;
        }
    }
}

Is there anything about this controller that makes it unreachable once it’s deployed (to an Azure web role)? I just get a 404 error when I try to reach it. It works great on the local emulator.

The last 2 times I’ve deployed my project, all the controllers in my web service have returned 404 errors for several hours, until the project seems to fix itself. I’m not sure why, but it might be related.

UPDATE
There is a WARNING in the event log on the web role VM after I publish:
The application ‘/’ belonging to site ‘1273337584’ has an invalid AppPoolId ‘ea7a2e15-9390-49e1-a16b-67ff1cdb7dcb’ set. Therefore, the application will be ignored.

This is the id of my site, but the AppPoolId is not correct. Changing the app pool turns the 404 into a 502.

Also, after publishing, the World Wide Web Publishing Service is turned off. When I turn it on and do an IIS reset, after the reset it’s turned off again.

When I reboot the web role VM, most of the controllers work again, and the World Wide Web Publishing Service is turned on. But still, this SearchController doesn’t work. Or any other new controllers I’ve created since this problem started happening.

  • 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-15T05:23:58+00:00Added an answer on June 15, 2026 at 5:23 am

    Well, after a ridiculous amount of unsuccessful troubleshooting, I just rolled back to an earlier version of the code and found that it didn’t read the web service when I deployed it. So I started over with that version and re-built the delta.

    This involved removing a few web.config entries and removing some libraries, creating a few classes and referencing them in the global.asax (I think that’s where it was) in order to override te Authorize attribute…

    If anyone has a better answer, I will switch the answer to what you post.

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

Sidebar

Related Questions

using namespace std; class A { public: A() {} ~A() {} map<int, string*>& getMap()
namespace Dic { public class Key { string name; public Key(string n) { name
namespace KetBanBonPhuong.Controls.Default { public partial class SugFriends : System.Web.UI.UserControl { private string Uid; protected
API: namespace ClassLibrary1 { public class Class1 { public static string Test(string input) {
Example: namespace MyProgram.Testing { public class Test1 { public void TestMethod() { String actualType
namespace WpfApplication3 { public class Hex { public String terr; } public class HexC
view model: namespace AESSmart.ViewModels { public class HomeIndexViewModel { public power_weatherstationhistory WeatherStationHistory {get;set;} public
using namespace std; class myList { public: mylist():_internalList(),_lastPostition(0) { } typedef list<string>::iterator Itr; bool
namespace std { class type_info { public: virtual ~type_info(); //type_info can serve as a
namespace pairDemo{ template<typename L, typename R> class pair{ public: pair(const L& left,const R& right)

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.