Skip to main content

Posts

Showing posts from August, 2012

How to create Nested Data list, data grid or data repeater simple

Dear All, The simplest way of create nested datalist with parent child table relation is given below:  protected void loadData()         {            //Note: For Define your connection string i am not writing it because it is in my web.config and i load it through my internal class              DataSet ds = new DataSet();           // my private class that contains sql execute funtions, I pass the SQL parameters and Values through array             UDF myudf = new UDF();             string spName = "bvs_payInvoice";                       string[] field = new string[5];             string[] fieldValue = new string[field.Length];             field[0] = "@startDate"; ...

IIS 7 corrupted applicationHost.config (Configuration file is not well-formed XML)

Hi Every one! Today i found a new experiences, my IIS suddenly crashed and  it gives me the error The Windows Process Activation Service encountered an error trying to read configuration data from file ‘\\?\C:\Windows\system32\inetsrv\config\applicationHost.config’, line number ’0′. The error message is: ‘Configuration file is not well-formed XML’ What i can do simple these step to get rid of this issue The error made because applicationHost.config files are corrupted. First you can copy the backup files from C:\inetpub\history\get the latest history folder copy the file a ) administration.config b) applicationHost.config and past is in to this location C:\Windows\System32\inetsrv\config Restart IIS with your dos command iisreset and your problem will resolved Regards Rashid Bilgrami CEO Best visualization http://www.bestvisualization.com