Monday, April 11, 2011

SharePoint:The user does not exists or it's not unique

Hi

If you have the above issue "The user does not exists or it's not unique"
in my finidngs i found that this may be due to the change in the active directory domain
or
if there is some migartion done from one site to other site collection

Resolution:

I saw this problem a few times but when I went to user profile, I can see the user is there and all the information is right. But if you go to WSS_Content db and run
select * from userinfo where tp_title like ‘user%’
I found the tp_login data is different from the user who has problem. The problem with this, is that the tp_Login column in the UserInfo table for every site collection in which Margie has permissions, is cached with her previous NT Login Name. There is also no way to update this information with a SPUser object from the SharePoint object model, and SharePoint does not synchronize this from Active Directory once the users is added to a web in the Site Collection.
The only time that SharePoint will automatically update the tp_Login column, is if the users is completely removed from the site collection. The tp_Deleted column is then set for the user in that site collection. On the next occurrence of the user being added to a web, we gather the current information from the domain. You can however, re-sync SharePoint with the current information without removing them completely from the site collection by using SPUserUtil
For a single user you can use
stsadm.exe -o migrateuser -oldlogin MYDOMAIN\prhranki -newlogin MYDOMAIN\LUHRANKI -ignoresidhistory
If you need to do a batch of users, I personally think WSSUserUtil and SPSUserUtil is the way to go.
See this two references:
http://blogs.msdn.com/krichie/archive/2006/08/04/688571.aspx
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=75

SharePoint:Hit counter or stats of SharePoint Site

If you have enabled "Usage Analysis Processing" in SharePoint Central Administration, there is a hidden URL that lets you view the stats for any page/section/area of the Portal (and WSS). Just navigate to the area where you wish to view stats and add
"/_layouts/1033/usagedetails.aspx"
to the URL. Note the string above replaces the filename so if you are in the "News" home page
http://myportalsite/news/default.aspx
will become
http://myportalsite/news/_layouts/1033/usagedetails.aspx

If you use
"/_layouts/1033/usage.aspx"
instead it will show a summary including Total Hits, Number of Users etc.

SharePoint:Field Lengths in SharePoint Lists

Hi,

We have a field lent restrictions in SharePoint
Single Line Field : 255 chars
Multi line field (document, forms, picture library) : 255 chars
Multi line field (everywhere else) : no limit

SharePoint:How to change the Maximum File Upload Size


Steps:

By default SharePoint allows a maximum file size of 50MB that can be uploaded into any document library. This might be too much as you might not want users downloading 50MB files over your LAN/WAN. To change the maximum file size
1. Goto SharePoint Central Administration > Configure Virtual Server Settings from Virtual Server List Page.
2. Select your server
3. Goto Virtual Server General Settings (in Virtual Server Management)
4. Change the value of the Maximum Upload Size in MB's.

If you increase the file size limit, your site might occassionally time out for users while they are uploading files. To accomodate this increase the default time out property for IIS.

Thursday, April 7, 2011

SharePoint:System Center Operations Manager 2007

Hi ,

I have found that there is a tool available for monitoring SharePoint related issues
System Center Operations Manager 2007 is a tool that will help for monitoring the issues in SharePoint but you need to have a addon for this i.e. Microsoft Office SharePoint Server 2007 Management Pack to the above software for more details just look into this links....

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=626252c5-ad59-4842-9c6f-6ed24b6b1426&displaylang=en#QuickDetails
http://technet.microsoft.com/en-us/library/bb975149.aspx

Wednesday, April 6, 2011

InfoPath:Excellent site for InfoPath forms with SharePoint

http://www.bizsupportonline.net/sharepoint-infopath-integration.htm

InfoPath:How to create and deploy an InfoPath browser form template to SharePoint

In this InfoPath video, you learned…

  • How to create a SharePoint form library and enable it to display InfoPath browser forms.
  • How to check whether InfoPath Forms Services is correctly configured on SharePoint.
  • How to create a browser-compatible InfoPath form template.
  • How to deploy an InfoPath browser form template to SharePoint.

SharePoint - Cannot convert a primitive value to the expected type 'Edm.Double'. See the inner exception for more details If y...

Ad