Adi's blog

on software development

About the author

Adi has over 13 years & of software engineering experiece in Industrial, manfacturing & quality, corporate financial reporting & analysis, stocks & exchange traded funds trading and retirement accounts management including end to end solutions for 401k retirement.
E-mail me Send mail

Recent comments

Authors

Tags

Don't show

    Categories


    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    The file '/default.aspx' has not been pre-compiled, and cannot be requested

    I recently came across an error that did not make any sense while deploying pre-compiled ASP.NET applicatication. This error did not tell me what the problem was. After doing some research online I came across asp.net forum and this. The solution basically came down to copying the new assemblies that I just added to my project to the bin folder of the deployment servers. These assemblies were added to my (on my machine) GAC (global assembly cache) where they are available to all the applications and do not need to be copied to the bin folder on my machine. But they need to be copied to servers where these new asseblies are not registered in GAC. I just wish the runtime error could be a little more informative instead of completely giving me the wrong message.

    So make sure you have all the assemblies either present on the deployment servers or just copy them when building and pre-compiling ASP.NET applications.  


    Server Error in '/' Application.

    The file '/default.aspx' has not been pre-compiled, and cannot be requested.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: The file '/default.aspx' has not been pre-compiled, and cannot be requested.


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Currently rated 1.0 by 1 people

    • Currently 1/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Categories: ASP.NET
    Posted by Adi on Tuesday, July 01, 2008 11:21 AM
    Permalink | Comments (0) | Post RSSRSS comment feed

    Distributed caching with Microsoft Velocity with clustering architecture

    Recently Microsoft Velocity product was announced at TechEd. Other than the vague name, this product seems a good fit with .net solutions where heavy caching is required in a clustered environment over many physical servers (or just one). This product seems highly configurable and easy to use. This will simplify the session management in ASP.NET solution as well as allow developers to load lookup data from database or any back end stores instead of using ASP.NET caching or singletons. With high scalability, and reliability over distributed architecture, this product definitely a good one to have in your toolbox. Remember Velocity is at its very early stages and it is going to evolve with community feedback.

    Managing session state over web farms usually is configured with some backend database servers to provide centralized persistance, but this is slow compared to accessing the same data from memory and you should be able to get significant difference in performance.

    It would be nice if this caching architecture provided a asynchronous backend data persistance capability. This will allow us to load large tables that are often used for lookups but rarely updated in order to avoid updating them seperately and invalidating the cache.

    Here is MSDN page for Velocity and a pod cast from hanselman.com along with many other resources.

    Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Categories: ASP.NET
    Posted by Adi on Monday, June 09, 2008 12:30 PM
    Permalink | Comments (1) | Post RSSRSS comment feed