Skip Ribbon Commands
Skip to main content

Navid Rahimi

:

Quick Launch

December 05
Nintex for everyone
I finished it !
This is a very interesting video about why we should use Nintex 2010.
 
The language is Persian.
 
You can download it from here .
November 20
CRM 2011, Deployment Manager Error

After installing Dynamics CRM 2011 Beta running the Deployment Manager fails with the following error message:

MMC could not create snap-in. The snap-in might not have been installed correctly.

Name: Deployment Manager

CLSID: FX:{1ac9de3e-24ae-480d-9e15-65386b76e433}

It seems that this is caused by the program either not requesting or applying elevated permissions incorrectly or not at all.

Running the Deployment Manager as an Administrator resolves this issue. To permanently fix this problem i.e not having to select Run as Administrator every time, right-click the Deployment Manager icon in the Start Menu, Select Properties, Compatibility and Tick Run this program as an administrator. Apply the changes.

I found the solution here. Thanks to Johan Pienaar.

Source : SNR SharePoint Blog

 

April 25
Sharepoint lists cause limited number of rows in infopath !

Today I was working on an Infopath form. the form retrieved data from a list that had more than 1500 records. but when I previewd the form, my repeating table in the form showed only limited number of rows. ( e.g 100 record )

I found that it’s because of sharepoint lists. In default views the lists are set to show only 100 items, and the others are in the page2,3,… . I found that Infopath can ONLY retrieve data from the page 1 !!! and It can’t read data from page 2 and more. it’s strange and I don’t know why !?!

So in this case you should increase the “Item limit” property of your view untill it shows all Items in the first page. and If you are using “Group By”  there’s a same number of group per page box. Be careful ! :)

Source : SNR SharePoint Blog

March 09
Schedule a Backup in Sharepoint & Restore per File

It was long time that I have a question in my mind 

How can I schedule a backup of my server farm ?! and another one that  How can I Restore per file ?! I searched a lot and found there’s no pre defined solution in microsoft sharepoint itself. Also there are some applications that can solve it but I didn’t want to use them . I found a good post that I think it’s a nice trick to backup sharepoint and restore your file !

The trick in summary was that you should schedule your backup jobs and after that , when a restore a file was needed, you restore the whole backup in a temp location and use your file ! So how to do it ?!

1 - Go to  Control Panel –> Scheduled Tasks –> Add Scheduled Task

2 - Browse to the the folder that “Stsadm.exe” exists and select it. you know :
(  %SystemDrive%\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Bin )

3 - in the next 3 dialog you should set how often you want to run the task ( daily and timely ). it’s up to you but if the existence of files is very important I think it’s good to do your backup daily .

4 - after you entered your administrator credentials click Next.

5 - Select the “Open advanced properties when you click finish” check box, and then click Finish”.

6 - Then in the Run Section type the exact address of stsadm.exe and type your backup command for example in my case it is :  C:\Program files\Common files\Microsoft shared\Web server extensions\12 Bin\Stsadm.exe” -o backup -url http://yourCompanyweb -filename SPBackup -directory “local or UNC path” -backupmethod “Full/Diffrential”

you can find more details on backup command on microsoft technet here . I found this way in this blog and I’m very thankful to Bradly.

 

March 09
An unhandled exception occurred in the user interface

A very simple post ! A simple Note ! ;)

If you were starting the Office Sharepoint server Search and you see this error :

“An unhandled exception occurred in the user interface.Exception Information: D:\Program Files\Microsoft Office Servers\12.0\Data\Office Server\Config”

Don’t be afraid ! just go to the directory that you keep your indexes . In my case this is D:\Program Files …. and then maybe you will see that there’s an extra Office server folder in it. So you can cut it’s sub directories and paste them in the previous folder. after that your search servive will be started ! :)

February 28
Limited number of rows in infopath form after quering data

Today I was working on an Infopath form. the form retrieved data from a list that had more than 1500 records. but when I previewd the form, my repeating table in the form showed only limited number of rows. ( e.g 100 record )

I found that it’s because of sharepoint lists. In default views the lists are set to show only 100 items, and the others are in the page2,3,… . I found that Infopath can ONLY retrieve data from the page 1 !!! and It can’t read data from page 2 and more. it’s strange and I don’t know why !?!

So in this case you should increase the “Item limit” property of your view untill it shows all Items in the first page. and If you are using “Group By”  there’s a same number of group per page box. Be careful ! :)

Source : SNR Sharepoint Blog

February 27
Just one note about Editing Sharepoint related files

When I posted my previous post, I remember one thing ! Let's share it with you .
 
I found that we should use a proper application for editing sharepoint related files. I mean that according to my experiences I found that we should not edit every file with every editor !
 
Look at the previous post ! The issue was because I had edited an aspx file with sharepoint designer . at least I can say Sharepoint designer in some cases causes these problems !
 
This is in 2 case I know :
  • change aspx file in layouts folder
  • change web.config file

I think the proper application for editing these kind of files are Visual Studio not Sharepoint Designer ! Also you can use a simple editor like NotePad 

 

February 27
Sharepoint “Unknown error” after changing an aspx file in _layouts folder !

Today I was working on our sharepoint based site and trying to customize it. I made a very big mistake when I opened “viewlsts.aspx” file in the layouts folder without doing any backup… made a little changes on it… and after that this page stop working :( !!!! every time I was clicking on “View all site content” , it navigated to the viewlsts page but it gives Unknown error !

I found that it’s because sharepoint designer ( in my case ) make automatic changes in these files when you change them ! I don’t know why . So the first and very important note is : Do not forget to first backup any file you want to change in sharepoint specially the files in layouts folders and it subfolders. ( you can make a copy of them )

I Solved it ! :)

After a little search and investigate I found that it has deleted the “~/ from the first of Register tags . So I change them all and it began working fine again ;) ! maybe you prolem is the same ! So check it ;)

Source : SNR Sharepoint Blog

February 27
Infopath Publishing issue in an explicit sharepoint site !

Today I was working on my infopath form, when it done and I tried to publish it on my sharepoint site it gives me the error : getting the site content type columns failed.

after googling a little and searching I found that it’s may be a bug in sharepoint !
( I guess it , and I don’t know , may be it has a reason ! )

So tried to solve it ! & I could ! :)

There are different ways that u could publish your form in this situation.

  1. Create a new sub-site under the root site and publish your form !
  2. Create a wildcard inclusion path and then create a site and then publish your form !
  3. but if you insist on publishing your form on the root site –> so first create a Form Library in Sharepoint ( Site Action –> Create –> Form Library ) and then you can publish your form and update that template of that form library !!! ( I think it’s like a trick but it works  )

In this way the problem was solved and I could publish my form in a root of the site with explicit inclusion path.

Update !!

I found that this trick does not work when you want to publish your from in Advanced Mode as a site content type. So I think this trick only works in Simple Mode and when you publish your form as a Document library !

Source : SNR Sharepoint Blog

February 25
Welcome to My Blog at Sharepoint Solutions !


Yeah ... Hello !! I'm here too ;)

OK, let's see.  this is my new blog here . The first thing should be thanks to my friend Arezoo for providing me this blog. heh , after years I finally will write about sharepoint in a sharepoint based blog ! lol ;)

ok, let's take a look at this site ... and write about current site in this post :)

mmmmm fine ...

  • Ya, I can create my site... It's a little strange ! maybe not ! i don't know ...
  • good, can't access to the all site content & picture libraries :D
  • third one ... I can login to both site & my blog. maybe they are in a same web application.
  • mmm. They are using a variation, I can access to the root site ... If you want do it just delete the variation part from the URL. Also I don't know why they are using the variation name "fa-us"
  • aha ! The search seems not to work ! I tested some keywords ! nothing found ! both in english & persian site.
  • Authentication is windows based.
  • and ... ok that's enought .

This is my secondary blog dear friends. You can access my main blog here at wordpress : http://sharepoint4u.wordpress.com

I hope I could provide you useful information about Sharepoint products and related Technologies.

Another thanks to Rahkar Khallagh stuff.

S.N.R
http://sharepoint4u.wordpress.com
Rahimi.sn@gmail.com