Click here to Skip to main content
15,918,404 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Members,

I have created a simple asp.net web application, which contains few textboxes,labels and gridview, after debugging it , web application works fine inside vs2008 inbuilt iis, but as soon as i host this application in IIS 5.1 (Windows XP),
grid view is not displayed,other controls like labels,textboxes are visible but grid view is not visible.I even tried it executing in different Web browsers but still the problem persist

This is happening for all the projects which contains gridview,rest of the controls are visible.
If any body knows about this, pls help me out ,is there any more settings to be done in iis 5.1

Quick reply is appreciated
thanks
Posted
Comments
sriman.ch 15-Dec-11 0:32am    
post your html code...

Hi,

I am not sure if this will work, because I have no IIE 5.1

Just try:

In your master page code behind:

C#
protected void Page_PreRender(object sender, EventArgs e)
{
   HtmlMeta metatag = new HtmlMeta();
   metatag.Attributes.Add("http-equiv", "X-UA-Compatible");
   metatag.Attributes.Add("content", "ID=EmulateIE5");
   metatag.Attributes.Add("content", "ID=EmulateIE7");
   Page.Header.Controls.AddAt(0, metatag);
}


Please do not forget to vote if helps, so that others may consider as answer...

Regards,
 
Share this answer
 
hi Al Moje,

Thanks for replying but it didn't worked
 
Share this answer
 
I have solved this myself, problem was with the security , need to configure database users properly, with appopriate allowed database access
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900