When hosting asp.net application on Windows server 2012 using IIS 8 no CSS, Javascript or Jquery works

Chris

When hosting asp.net application on Windows server 2012 using IIS 8 no CSS, Javascript or Jquery works. I have enabled static content on IIS. Tried on all browsers.

here is how they are referenced in the master page.

<script type="text/javascript" src="/Scripts/jquery-2.1.1.min.js" ></script>
<link rel="Stylesheet" href="/Styles/styles.css" type="text/css" />
Chris

I have managed to fix this. In the Application pool settings the pool had to be set to 'ApplicationPoolIdentiy' and the site had to be set as 'anonymous Authentication'.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

CSS & JS files not rendered when deploy of ASP.Net MVC application on IIS 8 (Windows 8)

From Dev

How to deploy ASP.Net MVC 5 to IIS 8 Windows Server 2012?

From Dev

Moved my ASP.NET website to IIS 8 on windows server 2012... services missing: .svc files are viewable, but their methods give a 404

From Dev

Deploying a ASP.NET MVC 5 Application in Windows Server 2012

From Dev

CORS issue IIS 8 Windows Server 2012

From Dev

Hosting ASP.NET 5 WebAPI in IIS using a virtual directory/application

From Dev

IIS 8 in Windows server 2012 R2 to run classic asp and web.config

From Dev

Default GC mode for ASP.NET applications running on IIS 8.5 and Windows Server 2012 R2

From Dev

How to deploy an ASP NET MVC 4 Web Application using Windows Server 2008 R2 and IIS 7.5?

From Dev

WCF hosting in IIS 7 using ASP.NET error

From Dev

Not able to install IIRF on Windows Server 2012 / IIS8

From Dev

IIS 8 error on windows server 2012 insufficient permission

From Dev

IIS 8 error on windows server 2012 insufficient permission

From Dev

Not able to install IIRF on Windows Server 2012 / IIS8

From Dev

Can I deploy ASP.NET MVC 5 Application to Windows Server 2003 IIS 6

From Dev

Publish asp net website on server using IIS

From Dev

Windows Server 2012 IIS8 Performance over Server 2003 IIS6, Sporadic slowness with WebService

From Dev

Windows Server 2012 IIS8 Performance over Server 2003 IIS6, Sporadic slowness with WebService

From Dev

Error 0x80070585 when running Fastcgi with IIS 8 + Python 3.4 + Django 1.8 + Windows Server 2012

From Dev

ASP.NET MVC and IIS: Local Hosting

From Dev

ASP.NET 5 project hosting on IIS

From Dev

How to deploy ASP.NET MVC 4 application using localDB to local IIS on Windows 7?

From Dev

Can't read swagger JSON file on ASP.NET Core 1.2 Application after hosting into local IIS

From Dev

Publish to IIS. Omit installing .NET Core Windows Server Hosting bundle on the server

From Dev

ASP.NET Server Error in '/' Application in Visual Studio 2012

From Dev

Debugging an ASP.NET application on Local IIS Server

From Dev

User.IsInRole is always false when using IIS Express / Kestrel in ASP.Net 5 with Windows Authentication

From Dev

Asp.Net core MVC application Windows Authentication in IIS

From Dev

Using 'net use' through PowerShell exhibits different behaviour when done through cmd on a Windows Server 2012 instance

Related Related

  1. 1

    CSS & JS files not rendered when deploy of ASP.Net MVC application on IIS 8 (Windows 8)

  2. 2

    How to deploy ASP.Net MVC 5 to IIS 8 Windows Server 2012?

  3. 3

    Moved my ASP.NET website to IIS 8 on windows server 2012... services missing: .svc files are viewable, but their methods give a 404

  4. 4

    Deploying a ASP.NET MVC 5 Application in Windows Server 2012

  5. 5

    CORS issue IIS 8 Windows Server 2012

  6. 6

    Hosting ASP.NET 5 WebAPI in IIS using a virtual directory/application

  7. 7

    IIS 8 in Windows server 2012 R2 to run classic asp and web.config

  8. 8

    Default GC mode for ASP.NET applications running on IIS 8.5 and Windows Server 2012 R2

  9. 9

    How to deploy an ASP NET MVC 4 Web Application using Windows Server 2008 R2 and IIS 7.5?

  10. 10

    WCF hosting in IIS 7 using ASP.NET error

  11. 11

    Not able to install IIRF on Windows Server 2012 / IIS8

  12. 12

    IIS 8 error on windows server 2012 insufficient permission

  13. 13

    IIS 8 error on windows server 2012 insufficient permission

  14. 14

    Not able to install IIRF on Windows Server 2012 / IIS8

  15. 15

    Can I deploy ASP.NET MVC 5 Application to Windows Server 2003 IIS 6

  16. 16

    Publish asp net website on server using IIS

  17. 17

    Windows Server 2012 IIS8 Performance over Server 2003 IIS6, Sporadic slowness with WebService

  18. 18

    Windows Server 2012 IIS8 Performance over Server 2003 IIS6, Sporadic slowness with WebService

  19. 19

    Error 0x80070585 when running Fastcgi with IIS 8 + Python 3.4 + Django 1.8 + Windows Server 2012

  20. 20

    ASP.NET MVC and IIS: Local Hosting

  21. 21

    ASP.NET 5 project hosting on IIS

  22. 22

    How to deploy ASP.NET MVC 4 application using localDB to local IIS on Windows 7?

  23. 23

    Can't read swagger JSON file on ASP.NET Core 1.2 Application after hosting into local IIS

  24. 24

    Publish to IIS. Omit installing .NET Core Windows Server Hosting bundle on the server

  25. 25

    ASP.NET Server Error in '/' Application in Visual Studio 2012

  26. 26

    Debugging an ASP.NET application on Local IIS Server

  27. 27

    User.IsInRole is always false when using IIS Express / Kestrel in ASP.Net 5 with Windows Authentication

  28. 28

    Asp.Net core MVC application Windows Authentication in IIS

  29. 29

    Using 'net use' through PowerShell exhibits different behaviour when done through cmd on a Windows Server 2012 instance

HotTag

Archive