Thursday, July 7, 2011

Silverlight for Linux

Install moon-light :-))
http://www.mono-project.com/Moonlight

SharePoint 2007 RSS Viewer unexpected error 407 proxy authentication error

Scenario:
SharePoint is hosted in a DMZ which does not have access to internet. User adds a new RSS viewer webpart on a sharepoint team site and gets the famous error "Unexpected error has occured."


Resolution:
The easiest resolution is to contact the corporate security team to open ports so that the web part can get the requested rss feed. But some rss feeds are hosted on environments which keep changing their IP addresses. This will cause the webpart to stop working after some time and we cannot keep requesting security to open ports based on new IP addresses.


ULS logs indicates either one of the following errors,
a. Connection timed out
b. Connection was closed forcibly.
c. 407 proxy authentication failed.
I could not use the following solution because it is not allowed as per security policies,
http://blogs.technet.com/b/sharepointdse/archive/2007/04/13/fun-with-rss.aspx

Here are two options out of which I implemented option 1,

1. The external DMZ machines could talk to a special server on http port which could then talk to another environment from where we could access the rss feed from the internet. Use System.Net.WebClient and WebProxy classes.

2. Client side programming logic. This would work if the rss feed is accessible from the client and not from the server.
a. On each page loads, use javascript to check server cache if feeds already exist.
b. If cache does not exist, use javascript to get rss feeds using a proxy server.
c. Cache rss feed result on server.
Prefrebly use JQuery or Javascript xmlhttprequest.

Firefox kerberos 401.2 error

Scenario:
We have an intranet sharepoint site using kerberos authentication. The site works perfectly in IE but displays 401.2 authentication error when opened using Firefox.

Resolution:
- Open Firefox
- Type about:config in address bar
- Filter by keys which begin with "negotiate"
- Set the below key values,
-- network.negotiate-auth.delegation-uris = "comma seperate list of domains e.g. '.mydomain1.com, .mydomain2.com' "
-- network.negotiate-auth.trusted-uris

Monday, July 4, 2011

Ubuntu Linux install .deb package


1. Download .deb file (e.g. google chrome 32 bit installer)
2. Navigate to folder where .deb file is downloaded on terminal.
3. Run command, $ sudo dpkg -i package.deb



Friday, July 1, 2011

Open/Connect Windows from Ubuntu 11.04


Use "Terminal Server Client" software and select RDP protocol.

Sharepoint site not responding while DocAve 5 security report runs

We have the administration module DocAve v5 and it has an interesting issue which should be resolved in one of its future releases.

Issue: Reports that scan site collections for item level security causes site collections to not respond in browser while the report is running ! The browser keeps spinning without an actual response. Note that this issue occurs only when item level security report is desired.

Avepoint support has fixed this problem and it should be available or maybe already available.