To optimize the performance of a web site that is hosted in Microsoft’s Internet Information Server 7 it is reasonable to enable client side browser caching for static content (like for example image files, CSS files or JavaScript files) that probably won’t change in the near feature. You can find more information and best practices [...]
Read more…Posts Tagged ‘Microsoft’
Microsoft Visual Studio & ASP.NET MVC 3: Add jQuery IntelliSense support for Razor pages
To enable Visual Studio’s IntelliSense support for jQuery on Razor pages just add the following code line to your view: @if (false) { <script src="~/Scripts/jquery-1.4.4-vsdoc.js" type="text/javascript"></script> } Note: The if-statement prevents the script tag from being rendered into the html source code. Unfortunately, with the Razor view engine, there is no central place to add [...]
Read more…Microsoft SQL Server Management Studio 2008 R2: Option “Prevent saving changes that require table re-creation”
By default Microsoft SQL Server Management Studio 2008 R2 does not allow saving changes to table structures that requires the table to be re-created, like inserting a new column at a specific position or changing the data type of a field. The saving process is aborted with the following error dialog: Saving changes is not [...]
Read more…Microsoft CRM 4.0: Fix “TrySetFocusOnSubject” error after installing Update Rollup 12
After installing the Update Rollup 12 for Microsoft Dynamics CRM 4.0, I get an error (“Microsoft Dynamics CRM has encountered an error”) in the web frontend when closing an activity (e.g. a task). The error report says: <CrmScriptErrorReport> <ReportVersion>1.0</ReportVersion> <ScriptErrorDetails> <Message>Object expected</Message> <Line>1</Line> <URL>[...]</URL> <PageURL>[...]</PageURL> <Function>function anonymous() { TrySetFocusOnSubject() }</Function> <CallStack> <Function>function anonymous() { TrySetFocusOnSubject() }</Function> </CallStack> </ScriptErrorDetails> <ClientInformation> <BrowserUserAgent>[...]</BrowserUserAgent> <BrowserLanguage>en-us</BrowserLanguage> [...]
Read more…