tags:

views:

17

answers:

0

I have web application on which i have used the ASP.NET(AJAX) tab controls. When i have deployed the web site remotely on different machine i found that the tab controls skin is not getting displayed. When i used Firefox inspect element i found that WebResource.asx file size is 0 KB which suppose to carry the CSS styles for the tab control.

On further investigation i have found following links after view source in the code, The below is generating the CSS when typed explicitly in browser it gives internal server error and in log we can see exception as

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: utcDate

   at System.Web.HttpCachePolicy.UtcSetLastModified(DateTime utcDate)

   at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
<link href="/WebResource.axd?d=ZrwWdbOc3ao6ivWPDsRcQLRaWTrlyJ3YaytnCLbOXs5hfGnbEyemS8YOrTGxu-95wLzc44x-VsgND2K8fWgC-w2&amp;t=634166859070000000" type="text/css" rel="stylesheet" />

And the other link is

<script src="/WebResource.axd?d=aWzHiHiiSwMlcb3PJZhIyw2&amp;t=634166840388116213" type="text/javascript"></script>

Clicking on this we get the expected JS script. Here we don't get internal server error.

Any idea how to get around this. Thanks all