SharePoint Keeps Refreshing #QuickSolution

This week I had an issue with SharePoint. I tried to log in to our work’s SharePoint account to add a new blog post about Email Management. But when accessing it from IE, the website goes nuts. It keeps refreshing every few seconds and it was unusable. I tried Chrome but apparently there is an issue with this browser. When I enter my login details, it keeps prompting me to enter my username and password without success.

I tried removing the cookies but still nothing worked. Then I remembered that about a week ago, I changed my work’s account password, so maybe that was the issue. I tried to log out from SharePoint, which I managed to do successfully, but when logging in again, it started refreshing the page again.

Reset

Finally I tried resetting Internet Explorer, and that did the trick (p.s. to reset IE, go to Internet Options, click the Advanced tab, and click the Reset button). I asked around, and some colleagues had the same issue after resetting their password. I’m still not sure why it’s happening, so if anyone has any other solution instead of resetting Internet Explorer, please add it in the comments below. Thanks!

Google Event Tracking Failing

Google Analytics Event Tracking

We’ve been using Google Analytics events tracking starting from this year and they are very useful. This week we noticed that website events weren’t being tracked, and haven’t been from the beginning of May.

After checking, everytime we tried to call the pageTracker._trackEvent method, it always returned fail. After searching and testing a bit, we noticed that apparently google made some changes to the trackEvent method.

Where before they allowed the optional_value (the last parameter if the method) to be a string or a number, now it is allowed to be a number only… thus the correct params would be:

pageTracker._trackEvent(‘my_category’, ‘my_action’, ‘my_optional_label’, 14);

Hope this helped some people 😉 It helped me 🙂

Reference: click here

Response.End()

Response End

This is added after the text needed in the response stream is written using the Response.Write() so no other html or garbage is written in the response stream.

Without response.end() javascript will have the text and the remaining garbage.

[ex. 1] without response.end()

Response.Write(“err”);
…..
result =”err

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” ><head><link href=”../App_Themes/Default/Content.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Default.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/EmailSender.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Header.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Header2.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Sidebar.css” type=”text/css” rel=”stylesheet” /><title> </title></head><body>    <form name=”form1″ method=”post” action=”WebService.aspx” id=”form1″><div><input type=”hidden” name=”__VIEWSTATE” id=”__VIEWSTATE” value=”/wEPZwUPOGNjY2JiNjJiNWQ5MDI41In2qlnOWzD0wbpAPF80y1dPYTA=” /></div>
</form></body></html>” Continue reading

ASP.Net Menu Control Problem with IE8

When loading a website that utilises the asp:menu control, in the development machine it works fine but on the server (in our case Windows Server 2003 R2) the menu isn’t shown correctly. Instead a blank panel would be viewed. As a temporary solution, the IE8 compatibility button can be clicked, but some styles might not work well with IE7 compatibility. So below please find the patch for asp:menu which can be applied to Windows or Windows Server, to build IE8-compatible ASP.NET WebForms sites…

Continue reading

Internet Explorer 8 Features: Tabs

So i just installed the beta version of Internet Explorer 8 and I really like it! I’ll be reviewing some of the great and new features that this browser has.

I’ll start with the Tabs which were first introduced in Internet Explorer 7. In IE8 the Tabs get more useful… and even more ‘intelligent’. Next are some of the Tab features you’ll find in this review:

  • Accelarators
  • Color Scheme
  • Reliability

Continue reading