Archives by Tag 'ASP.NET'

VirtualPathProvider not working for static files under IIS 6

By admin - Last updated: Wednesday, June 30, 2010

If  you have come across embedding the css, javascript and aspx into a separate dll as resources and the website will resolve them by read out from resources by using the custom VirtualPathProvider. One of the ASP.NET plugin architectures used this method and it works quite well. During the development with visual studio built-in development server, everything [...]

Could not load file or assembly ‘App_Web

By admin - Last updated: Monday, January 19, 2009

The error I had was Could not load file or assembly ‘App_Web_dos8lyc_, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified. The quick fix is to delete all the files under C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files Haven’t tried any official hotfix yet.

ASP.NET:Get values of dynamically added controls.

By admin - Last updated: Wednesday, March 5, 2008

At the stage of OnInit, all control objects are performing initialization, if added controls were not initialized at this stage, and even though the postback data contain the values of those controls, you won’t be able to obtain the user inputed values of those controls at later stage. e.g. PageLoad, OnClickHandler method. In order to [...]