I've been having problems accessing my CSS/JS resources with WebResource; I'm only doing this for informational purposes and nothing more. My default.aspx file contains the following (pretty basic default template);\[code\]<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"></asp:Content><asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2> Welcome to ASP.NET! </h2> <p> To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>. </p> <p> You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&clcid=0x409" title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>. </p></asp:Content>\[/code\]I've defined the resources in AssemblyInfo.cs:\[code\][assembly: WebResource("WebApplication1.Resources.Site.css", "text/css")][assembly: WebResource("WebApplication1.Resources.jquery-1.4.1-vsdoc.js", "text/javascript")][assembly: WebResource("WebApplication1.Resources.jquery-1.4.1.js", "text/javascript")][assembly: WebResource("WebApplication1.Resources.jquery-1.4.1.min.js", "text/javascript")]\[/code\]The paths to resources are:Resources/The Default.aspx.cs looks like this:\[code\]using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Reflection;using System.Diagnostics;[assembly: WebResource("WebApplication1.Resources.Site.css", "text/css")]namespace WebApplication1{ public partial class _Default : System.Web.UI.Page { void Page_Init(object sender, EventArgs e) { ClientScriptManager cs = Page.ClientScript; HtmlLink myHtmlLink = new HtmlLink(); myHtmlLink.Href = http://stackoverflow.com/questions/14469562/cs.GetWebResourceUrl(typeof(Page),"WebApplication1.Resources.Site.css"); cs.RegisterClientScriptResource(typeof(Page), "WebApplication1.Resources.Site.Css"); myHtmlLink.Attributes.Add("rel", "stylesheet"); Page.Header.Controls.Add(myHtmlLink); string[] resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames(); foreach (string res in resourceNames) { Debug.WriteLine("Resource name: "+res); } } }}\[/code\]Whenever I open the default webpage in browser, the following HTML is being generated:\[code\]<head><title> Home Page</title><link href="http://stackoverflow.com/questions/14469562/Styles/Site.css" rel="stylesheet" type="text/css" /><link href="http://stackoverflow.com/WebResource.axd?d=H-8mXmqZ8TYQJTdhYMfHM0nzh4NjMiDz718Ql4TGao8fkBq0IkwhnFPu-CJPIRwa3NRkMRLf-Otx59k8AekKMDM1KPQhCf0xFLS4aGMjSJ_6Pvvxj4f9-SfYODkNQ_BI0&t=634935917270812817" rel="stylesheet" /></head>\[/code\]This looks correct, the WebResource.axd is being used to access the CSS file, but actually it can't find one. If I copy the link to the web browser I get the following response:\[code\]Server Error in '/' Application.The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /WebResource.axd\[/code\]Any ideas why the resource can't be found. The steps are correct and so are the paths?