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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:34:07+00:00 2026-06-14T11:34:07+00:00

I’m having a perplexing issue related to a small intranet application I’m trying to

  • 0

I’m having a perplexing issue related to a small intranet application I’m trying to setup.

I have it going in IIS, using Windows Auth. Everything is running as it should, except for this one thing.

On my settings page, I have a list of “User Admins”, who approve or deny things submitted by the rest of the users. I have this set up such that I can add or remove admins from within the website itself. This is all working fine on my local machine in VS2010, however, I tried to push up to my dev-test server and hit a snag: Whenever I click the “Add Admin” link, the server returns a 503 error in the javascript console when attempting to hit “Settings/UserAdminRow”.

This has me baffled as it works fine locally, and the rest of the site is perfectly operational. There are no errors in any of my logs (custom ones set up for this app, the windows event logs, etc).

Here is the Razor code and javascript for the settings page.

<ul id="adminEditor" style="list-style-type: none">
    @foreach (string userAdmin in Model.UserAdmins)
    {
        Html.RenderPartial("UserAdminsEditor", userAdmin);
    }
</ul>
<a id="addAnother">@StringTable.GetString("AddAdmin")</a>     

<script type="text/javascript" language="javascript">
<!--
$("#addAnother").click(function () {
    $.get('Settings/UserAdminRow', function (template) {
        $("#adminEditor").append(template);
    });
});
-->   
</script>

Here’s what it calls to:

public ActionResult UserAdminRow()
{
     return PartialView("UserAdminsEditor");    
}

And here’s the “UserAdminsEditor” razor code.

@model string

<li style="padding-bottom: 15px">
@using (Html.BeginCollectionItem("UserAdmins"))
{
    @Html.TextBoxFor(model => model)

    <a href="#" onclick="$(this).parent().remove();">@StringTable.GetString("Remove")</a>
}

</li>

BeginCollectionItem is a reference to an extension method I found here: http://ivanz.com/2011/06/16/editing-variable-length-reorderable-collections-in-asp-net-mvc-part-1/

Any suggestions? I’m completely stumped.

  • 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-14T11:34:08+00:00Added an answer on June 14, 2026 at 11:34 am

    Simple fix for this. Changed the url in the $.get call from ‘Settings/UserAdminRow’ to ‘./Settings/UserAdminRow/’ and it works fine. All I needed to do was add the period.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a small JavaScript validation script that validates inputs based on Regex. I
We're building an app, our first using Rails 3, and we're having to build
I have an array which has BIG numbers and small numbers in it. I
I have thousands of HTML files to process using Groovy/Java and I need to
I am trying to loop through a bunch of documents I have to put
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.