sharepointking

Just another WordPress.com site

Monthly Archives: March 2010

Receiving wrong URL into Blog Alert – sharepoint

Problem:

1. i have created blog site
2. i have extended above site locally
3. i have published extended blog site on internet using host header/ip
4. i have set alert on blog post that means concern parties should receive alert email when blog post happen
5. i have posted one article and received alert email on my email and found that the URL on different hyperlink into alert email body is WRONG. Instead of internet URL of my blog i am recieving local URL

Solution: After investing 4 hours i found following microsoft article to fix wrong URL into alert email:
http://support.microsoft.com/default.aspx/kb/936760/en-us

What is sharepoint 2010 Sandbox Feature?

From my point of it is more or less your site collection level sharepoint feature but without allowing to deploy additional files e.g. ascx, images, etc. to avoid unexpected farm level failure in case of deploying any custom component.

Purpose of sandbox: to secure your farm from unfortunate situation especially at the time of component deployment so farm administrator allocate some space to site collection administrator to deploy component without disturbing whole server farm. e.g. sometimes if you deploy a feature and suddenly your farm will get disturbe due to that deployment is the example.

For developer following are most important to know:

1. You can not deploy files (e.g. ascx during webpart deployment) to disk or add assemblies to the GAC in a sandbox solution,

2. You can not deploy code that is related to security related functionality. e.g. code running with
RunwithElevatedPreviliges and other SPSecurity methods

3.You can not access internet to call webservice

4. You can not access hard drive to read or write file

5. You can read/write data to/from sharepoint list at site collection level

and few more…