Posts

IIS 7 Deployment with asp.net 4 and AJAX

In one of our IIS migration project we noticed a very strange issue i.e. Our website was giving java script errors with AJAX calls. It was surprising, As we need to remove lots of aspnet extension entries from web.config in order to upgrade to .net 4.0. So first thing comes in my mind was that it was due to .net 4.0 upgrade. Telerik controls were used so another thought was that it is due to Telerik Controls. We look at lots of configuration option related to AJAX and Telerik and even install ajax extension and telerik on production but we get to real solution after wasting couple of hours. The problem resolved when we set the application pool property to classic from integrated (Was Set By Default).

IIS Configuration Error Error: Cannot write configuration file due to insufficient permissions

While deploying my custom asp.net application I found it hard to browse through few asp.net pages. I tried to enable directory browsing feature to locate pages. Selecting enabled after clicking on directory browsing gaves me following error Error: Cannot write configuration file due to insufficient permissions Looking at above issue I thought that may be I need to start my IIS as an administrator so I closed my IIS and start IIS console again as an administrator but above error remain as is. I decided to go for some research over the internet and found an unbelievable solution. i.e. My web.conf file was readonly :D.

Microsoft Office 365 - Sharepoint, Office with cloud computing

Microsoft Office 365 is about using power of Microsoft Office with power of cloud computing. Office, Exchange, Sharepoint and Lync.... All Online For details see following link http://office365.microsoft.com/en-US/online-services.aspx

Marking multiple attibute for a class

You may mark multiple attributes with the class by separating attibutes with comma with in square bracket. This will allow you to associate or mark your class with multiple attribute. Following show syntax for serailizable class which is obsoleted. [Serializable, Obsolete("This class is not in use any more")] class ObsoleteSerializableClass { ... ... }

Crystal Report- Sub reports over lapped when you use multiple sub reports or sub reports with other controls

While working with crystal reports you will noticed that when you use sub report with another sub report or if you use a control under sub report it gets overlapped. It is because the Sub report that comes first expands its size and come over other control or subreports. The solution for handling this i.e. Sub report automatically expands and shifts other control according to its size is through multiple sections in sub reports. For multiple sections in sub reports goto section expert select details section click on insert section button Now you can move other sub reports to next section and you may noticed that your problem related to overlapping of control gets resolved automatically

Page Header in Crystal Report Sub Report

When you work with crystal report sub report you will noticed that Page Header of you sub report will be displayed as report header from you main report. This is because page header is not supported with crystal report sub report. There are many work around to achieve this using sections but for better design it is suggested that you keep your page header information in main report while section details in sub reports

Sharepoint 2007 - Scroll bars using page viewer webpart

You may sometime noticed that page viewer webpart displays scroll bars when you try to display pages that has large view area. This is because page viewer webparts works with fixed width and hieght and when content page increase webpart displays scroll bar. The solution for this is to use custom webparts if the page is internal page.