• 0

MVC Website, CSS/JS not loading with Windows Authentication


Question

Firstly, I'm fairly new to web development so please bear with me!

 

I've started working on an intranet project which requires Windows Authentication, and I've come across a really really irritating snag.

 

When I create a vanilla MVC project in VS2015 with NO authentication, the CSS and JS loads just fine in IE and Chrome.  However, when I create one with Windows Authentication, no CSS or JS or anything image links etc, will load. The status code I get is the ever to useful:  500 Internal Server Error, when this resolves out to ERR_CONNECTION_REFUSED.

 

My site properties are:  Anonymous Authentication: Disabled.  Windows Authentication: Enabled, SSL Enabled: True.

 

If I turn Anon Auth back on, the CSS/JS etc will load again, but I then don't get authenticated.  I've searched and searched online, and found 100's of pages with essentially the same problem, but none of the offered solutions actually work for me.  Hell, this is just a vanilla MVC site created by the VS2015 new project, with absolutely NOTHING added to it, so I'd expect it to bloody well work!

 

Clearly, it's something to do with how Chrome is handling the permissions because IE works just fine, but I need this site to work in Chrome as well so... Can anyone offer any insight as to what's going on?  I've been a desktop app developer for nearly 30 years and all this new fangled webby stuff is irritating as all hell! :p

 

  • Like 1

2 answers to this question

Recommended Posts

  • 0

I'm not 100% positive here but I thought Chrome (and Firefox) needed configuration settings in the browser in order to utilize windows authentication.  Take a look at this article and scroll down to 'What Worked'.

 

 

This topic is now closed to further replies.
  • Posts

    • Amazon Deals: Samsung Q990F Q900F Q800F 2025 Dolby Atmos soundbars with wireless subwoofers by Sayan Sen While separate AV receivers with hi-fi speakers are generally the preferred way to listed to music and watch movies/shows by audiophiles, the more general folks often prefer soundbars instead as they offer a capable all in one solution that is still plenty good. Currently Nakamichi is running discounts on multiple products from its Dragaon lineup as well as its Shockwafe model. If you are looking for more options to choose from Samsung has its Q-series products at lowest prices (purchase links towards the end of article). Q990F The flagship Q990F is an 11.1.4 system and the single subwoofer unit on it houses two opposite-facing 8-inch subwoofer drivers. Thus, together they move around the same amount of air as a single 12-inch subwoofer unit. In addition to increasing the bass by +3 dB, dual opposing drivers are also said to help reduce vibrations of the subwoofer cabinet by cancelling out the resonance. Samsung also says that the bass is "AI-optimized" but we are not sure if it actually helps or if it's just a buzz term here. Aside from the bass, dialogue in movies is the second most important thing, and Samsung claims great vocal clarity from its front speakers thanks to AVA (Active Voice Amplifier) Pro feature that is said to detect noise disturbances and amplify dialogue to make it more audible over such surrounding noises. Q900F Feature wise the Q900F is similar to the 990F model except it has fewer channels and it is a 7.1.2 setup. Finally the Q800F is a 5.1.2 system and it has a passive radiator instead of the additonal subwoofer driver unit. Get the Samsung Q series soundbars at the links below: Samsung Q990F 11.1.4ch Wireless Dolby Atmos, Q-Symphony, Game Mode Pro, Adaptive Sound (HW-Q990F, 2025): $1497.99 (Shipped and Sold by Amazon US) Samsung HW-Q900F 7.1.2 ch Wireless Dolby Atmos, Q-Symphony: $997.99 (Shipped and Sold by Amazon US) Samsung Q800F 5.1.2ch Q Series Soundbar + Subwoofer, Wireless Dolby Atmos, Q-Symphony, Game Mode Pro, Smart Integration (HW-Q800F, 2025): $697.99 (Shipped and Sold by Amazon US) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • They are shifting into AI now. Don't you see?
  • Recent Achievements

    • One Month Later
      Helen Shafer earned a badge
      One Month Later
    • One Month Later
      ambani880 earned a badge
      One Month Later
    • Week One Done
      ambani880 earned a badge
      Week One Done
    • First Post
      artistro08 earned a badge
      First Post
    • First Post
      paul29 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      498
    2. 2
      ATLien_0
      223
    3. 3
      Michael Scrip
      196
    4. 4
      Xenon
      160
    5. 5
      +FloatingFatMan
      138
  • Tell a friend

    Love Neowin? Tell a friend!