Hi
ExportChangeToken property in SPExportSettings is something which tells SharePoint API's a point in past from which the incremental export should start .
CurrentChangeToken (ReadOnly) is something which is set internally , and referred by future exports as a mile stone for export process.This property is set the when some change occurs in site or when the increamental batchis complete ?
I have a batch which runs perfectly under ideal conditions.
I want that when I run this batch manually , value of CurrentChangeToken should not be persisted in the system,
so that automatic batch process keeps on running as is & my manual run is free enough to export without any affect on the automatic.
Please help.
1. Is it ok to create my own persisted object store of SPChangeToken , let the Batch use it to get last value and add new token there with CurrentChangeToken value. The manual process do not update the custom persisted object , so last in the persisted object is the one by automatic process.
2.
I have one last resort for me , if I don't find direct API's in Deployment name spaces : SPSite.GetChanges Method (SPChangeToken, SPChangeToken)
In this case I want to know Microsoft.SharePoint.Deployment.SPExportSettings.CurrentChangeToken (ReadOnly) property is set internally after the export has run or it is independent of when export runs , but dependent on when actual change occurs.
Reply 1
Hi
Under content migration scenarios from staging to Production on daily basis , how Microsoft.SharePoint.Deployment API's are better performer than http://technet.microsoft.com/en-us/library/ee721058.aspx ?
Wednesday, May 16, 2012
Friday, March 23, 2012
SharePoint 2010 | Login over HTTPS from HTTP pages
Hello Friends
Did you ever have a chance to work on Login control for SharePoint which sends user’s credentials on SSL and rest of the stuff non-secured? I found few of the good links which suggest creating our own custom Cookie handlers.
Microsoft SharePoint Team has written their own cookie handler specific to SharePoint which does not allow authentication token being generated on a secured connection to be used under non-secured. 1st thing, Do you see any kind of harm in overriding this behavior of SharePoint’s cookie handler with our own custom one ? Second,I was able to transfer back the cookies using this approach as in the links below, but current context was lost, and user remained to be logged off !!!
References:
Steps I followed:
1. Extended the current setup on SSL . Made it working similar to the default zone application ( including resource files and web.config entries,manual dll etc.)
2. Set the postback url for login button.
3. Made the URL rewrite entries as suggested in both zones. ( these are spread across multiple links, REQUEST_METHOD is additional to https ON rule) URL rewriting can be done very easily with an IIS extension provided by Microsoft.
4. Created the custom handler as suggested and replaced it with SharePoint one.
5. Set the required SSL for cookies to false, so that they may be used on non ssl also.
Reply 1
The two bindings should be given under same zone , only then it works. I was giving the alternate access mappings under different zone.
So with custom cookie handler with both end point under same zone , it works! !
Reply 2
Hello hemantrhtk
Thank you for your post.
This is a quick note to let you know that we are performing research on this issue.
Thanks,
Pengyu Zhao
Reply 3
The two bindings should be given under same zone , only then it works. I was giving the alternate access mappings under different zone.
So with custom cookie handler with both end point under same zone , it works! !
Did you ever have a chance to work on Login control for SharePoint which sends user’s credentials on SSL and rest of the stuff non-secured? I found few of the good links which suggest creating our own custom Cookie handlers.
Microsoft SharePoint Team has written their own cookie handler specific to SharePoint which does not allow authentication token being generated on a secured connection to be used under non-secured. 1st thing, Do you see any kind of harm in overriding this behavior of SharePoint’s cookie handler with our own custom one ? Second,I was able to transfer back the cookies using this approach as in the links below, but current context was lost, and user remained to be logged off !!!
References:
- http://www.sp2010hosting.com/Lists/Posts/Post.aspx?ID=5
- http://blogs.visigo.com/chriscoulson/mixed-http-and-https-content-with-sharepoint-2010/
- http://www.sharepointconfig.com/2010/04/partial-ssl-sharepoint-sites-login-over-http-from-http-pages/
Steps I followed:
1. Extended the current setup on SSL . Made it working similar to the default zone application ( including resource files and web.config entries,manual dll etc.)
2. Set the postback url for login button.
3. Made the URL rewrite entries as suggested in both zones. ( these are spread across multiple links, REQUEST_METHOD is additional to https ON rule) URL rewriting can be done very easily with an IIS extension provided by Microsoft.
4. Created the custom handler as suggested and replaced it with SharePoint one.
5. Set the required SSL for cookies to false, so that they may be used on non ssl also.
Reply 1
The two bindings should be given under same zone , only then it works. I was giving the alternate access mappings under different zone.
So with custom cookie handler with both end point under same zone , it works! !
Reply 2
Hello hemantrhtk
Thank you for your post.
This is a quick note to let you know that we are performing research on this issue.
Thanks,
Pengyu Zhao
Reply 3
The two bindings should be given under same zone , only then it works. I was giving the alternate access mappings under different zone.
So with custom cookie handler with both end point under same zone , it works! !
Monday, March 12, 2012
SharePoint 2010 | mix mode authentication with ntlm and sql providers | Browser issue
Hi
I have a web application claim based with ntlm and sql provider ( mix mode authentication). The default login page of SharePoint 2010 , allows me to login the site on Mozilla 10 and Google crome,
but on IE 8 and 9 , it does not redirect me anywhere after windows authentication pop up, nor the user is able to access the application pages by typing url directly ( means there is a problem in authentication rather than redirection only)
I have tried allowing all cookies and adding the site in trusted zone on IE 8 and 9 , but no luck
I had given a hostheader different to the server name, when I revert it back to server name/blank, I was able to use default SharePoint login page perfectly fine.
This is when hostheader had a DNS entry also in place !!!
Reply1
Make sure javascript is not disabled. A next step could be to install Fiddler and check which requests/responses are sent over.
Reply 2
Are you forced to actually enter a username and password using IE? This might imply a kerberos misconfiguration?
Reply 3
Hi,
Have you checked Remember me in the login page?
If yes, please try to do some changes in web.config file:
<cookieHandler mode="Custom" path="/" > changed it to:
<cookieHandler mode="Custom" path="/" persistentSessionLifetime="60">
For more information, please refer to:
http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/
http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/a34cb1a3-b920-4e8e-8c31-54bd13d886b7
Xue-mei Chang
Sparkytect
I have a web application claim based with ntlm and sql provider ( mix mode authentication). The default login page of SharePoint 2010 , allows me to login the site on Mozilla 10 and Google crome,
but on IE 8 and 9 , it does not redirect me anywhere after windows authentication pop up, nor the user is able to access the application pages by typing url directly ( means there is a problem in authentication rather than redirection only)
I have tried allowing all cookies and adding the site in trusted zone on IE 8 and 9 , but no luck
I had given a hostheader different to the server name, when I revert it back to server name/blank, I was able to use default SharePoint login page perfectly fine.
This is when hostheader had a DNS entry also in place !!!
Reply1
Make sure javascript is not disabled. A next step could be to install Fiddler and check which requests/responses are sent over.
Reply 2
Are you forced to actually enter a username and password using IE? This might imply a kerberos misconfiguration?
Reply 3
Hi,
Have you checked Remember me in the login page?
If yes, please try to do some changes in web.config file:
<cookieHandler mode="Custom" path="/" > changed it to:
<cookieHandler mode="Custom" path="/" persistentSessionLifetime="60">
For more information, please refer to:
http://jasear.wordpress.com/2011/12/27/sharepoint-2010-login-issue-only-using-ie-internet-explorer-on-an-fba-enabled-site/
http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/a34cb1a3-b920-4e8e-8c31-54bd13d886b7
Xue-mei Chang
Sparkytect
Friday, March 2, 2012
Migration from MOSS 2007 to SharePoint 2010 Infopath does not work
We are facing an issue to connect my SharePoint 2010 application with InfoPath Designer.
The site collection for which we are getting this error is migrated from MOSS 2007 to SharePoint 2010.For other applications which are created in SharePoint 2010 itself (no migration) , everything works fine.
While we are trying to connect to migrated application ,we are getting error :
‘This feature requires SharePoint 2010 or greater with InfoPath Forms Services enabled’
We did below points to troubleshoot this issue but didn’t get any success :(http://sharepointbloggin.com/2010/12/ and http://sharepointbloggin.com/)
However when we tried to connect another web application in the same farm that is working fine .
Please suggest any workaround if anyone has faced this kind of problem before, we would greatly appreciate his / her inputs.
Reply 1
Hi hemantrhtk,
May be you haven’t activate it on your the top-level site .Go to the top-level site of wherever your site is, go to the Site Settings > Site Collection Features, and ensure the Enterprise Feature is activated here.
This is also may be InfoPath compatibility problems, you can delete the item relate InfoPath , then recreate it on your SharePoint 2010 environment.
Thanks,
Jack
Hello Jack
We have tried this also as per the links shared above.
Reply 2 by http://social.msdn.microsoft.com/profile/shuklabond/?ws=usercard-mini
Hi Hemant ,
Find your solution at :
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/9f11dc60-4f51-4114-8cc1-fa21115d0de7
Regards,
Vivek Shukla
The site collection for which we are getting this error is migrated from MOSS 2007 to SharePoint 2010.For other applications which are created in SharePoint 2010 itself (no migration) , everything works fine.
While we are trying to connect to migrated application ,we are getting error :
‘This feature requires SharePoint 2010 or greater with InfoPath Forms Services enabled’
We did below points to troubleshoot this issue but didn’t get any success :(http://sharepointbloggin.com/2010/12/ and http://sharepointbloggin.com/)
- Activated the "SharePoint Server Enterprise Site Collection features" at Site / Web level
- Checked Enterprise CAL Licence on the server .
However when we tried to connect another web application in the same farm that is working fine .
Please suggest any workaround if anyone has faced this kind of problem before, we would greatly appreciate his / her inputs.
Reply 1
Hi hemantrhtk,
May be you haven’t activate it on your the top-level site .Go to the top-level site of wherever your site is, go to the Site Settings > Site Collection Features, and ensure the Enterprise Feature is activated here.
This is also may be InfoPath compatibility problems, you can delete the item relate InfoPath , then recreate it on your SharePoint 2010 environment.
Thanks,
Jack
Hello Jack
We have tried this also as per the links shared above.
Reply 2 by http://social.msdn.microsoft.com/profile/shuklabond/?ws=usercard-mini
Hi Hemant ,
Find your solution at :
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/9f11dc60-4f51-4114-8cc1-fa21115d0de7
Regards,
Vivek Shukla
Wednesday, February 8, 2012
SharePoint as Multilingual Solution - Comparison with other products
Hi
I need a comparison sheet of SharePoint 2010 with other products with respect to multilingual support . Other products could be : Google Sites, Hyper Office, Documentum, Alfresco , Oracle Beehive, Jive, O3 Spaces, Mindtouch ,Lotus Vignette, Drupal, Salesforce an so on.
Reply 1
I don't think a sheet like that exists. I found a couple of interesting links for you:
http://technet.microsoft.com/en-us/library/cc262055.aspx
http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?ID=366
http://blog.consejoinc.com/2011/01/creating-multilingual-sites-in.html
Hopefuly they contain useful information for you. One good thing to remember is that users always have to translate content to the other language. All the system settings (such as settings and default columns) are translated. I don't know how to other products work compared to SharePoint.
You also buy a platform with SharePoint so you can use it for lots more then a multilingual solution.
Blog: www.jasperoosterveld.com Twitter: @JasITConsultant
I need a comparison sheet of SharePoint 2010 with other products with respect to multilingual support . Other products could be : Google Sites, Hyper Office, Documentum, Alfresco , Oracle Beehive, Jive, O3 Spaces, Mindtouch ,Lotus Vignette, Drupal, Salesforce an so on.
Reply 1
I don't think a sheet like that exists. I found a couple of interesting links for you:
http://technet.microsoft.com/en-us/library/cc262055.aspx
http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?ID=366
http://blog.consejoinc.com/2011/01/creating-multilingual-sites-in.html
Hopefuly they contain useful information for you. One good thing to remember is that users always have to translate content to the other language. All the system settings (such as settings and default columns) are translated. I don't know how to other products work compared to SharePoint.
You also buy a platform with SharePoint so you can use it for lots more then a multilingual solution.
Blog: www.jasperoosterveld.com Twitter: @JasITConsultant
Thursday, February 2, 2012
MOSS 2007 Troubleshooting Guide
need a trouble shooting guide for MOSS 2007.
Please suggest a good document on this which covers almost all scenarios like in MOSS 2007.
_______________________________________________________________________________________________________________
Few resources accumulated:
What it contains: http://blogs.technet.com/b/steve_chen/archive/2009/09/02/sharepoint-administration-toolkit-v4-for-moss-2007.aspx
Download links:
WSS 3.0:
http://technet.microsoft.com/en-us/library/cc508986%28office.12%29.aspx
MOSS 2007 :
http://technet.microsoft.com/en-in/library/cc508851%28en-us,office.12%29.aspx
http://nexus.realtimepublishers.com/sgcsa.php
http://download.microsoft.com/download/2/A/B/2AB91CD5-CA1A-4906-AA5C-E26522E4B2E6/WorkshopPLUS%20-%20MOSS%202007%20-%20Administration%20and%20Troubleshooting.pdf
http://www.datasprings.com/resources/articles-information/overview-on-installing-sharepoint-2007
http://sharepointforum.com/en-US/Wiki/Installation%20MOSS%202007.aspx
http://consultingblogs.emc.com/mohammadalzawati/archive/2009/10/13/how-to-quickly-troubleshoot-moss-2007.aspx
http://blogs.technet.com/b/vedant/archive/2009/07/28/microsoft-office-sharepoint-server-moss-2007-resource-guide.aspx
In this link above , just search for word "Troubleshooting" , we get a section to cover troubleshooting many things like :
SharePoint 2007 Versions - How do you find out what version of SharePoint you are running?
Troubleshooting backup and recovery - Use this information to troubleshoot problems that you encounter during backup or recovery
Troubleshoot Messaging Integration
Events and error reference
Account permissions and security settings (Office SharePoint Server) - This article describes Microsoft Office SharePoint Server administrative and services account permissions. It covers the following areas: Microsoft SQL Server, the file system, file shares, and registry entries
Plan for administrative and service accounts
Special directories and storage locations (Office SharePoint Server) - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007
Files and permissions for Office SharePoint Server 2007 - This article lists the detailed minimum file permission settings for folders and files created when you install MOSS 2007
Running Central Admin on Multiple Servers within a Farm
Decentralizing Site Administration - Security model of WSS 3.0, including its advantages and implications when delegating administrative control over SharePoint sites to individual departments while maintaining centralized administrative control over the SharePoint infrastructure.
Special directories and storage locations - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007.
Moving all databases to a different database server or a server with the same name - Two procedures describing how to move databases to a different server or a server with the same name
I was looking for similar to this one in 2007:
http://sharepoint.microsoft.com/Blogs/GetThePoint/Blog%20Documents/SharePointFeaturesServices-10.zip
Reply 1
ou're never really going to get a unified document as it'll almost certainly end up with things that aren't relevant. Some basic questions would be: -
All of these would represent deviations from one deployment to the next. You'd be best served reading widely around the current set-up that you have, reading the link that Bogdan provided and looking at MVP/Support Engineer blogs
Steven Andrews
Reply 2
There are thousands of troubleshooting scenarios and articles. Check the blogs of the SharePoint Support Engineers that are working for Microsoft and you will find a lot of information.
Here you have my blog http://sharepointboco.com/ where you can find SharePoint performance troubleshooting tips and tricks
You may also like:
Few Questions to be answered before you start a SharePoint…
Please suggest a good document on this which covers almost all scenarios like in MOSS 2007.
_______________________________________________________________________________________________________________
Few resources accumulated:
- 1. Administration Tool Kits :
What it contains: http://blogs.technet.com/b/steve_chen/archive/2009/09/02/sharepoint-administration-toolkit-v4-for-moss-2007.aspx
Download links:
WSS 3.0:
http://technet.microsoft.com/en-us/library/cc508986%28office.12%29.aspx
MOSS 2007 :
http://technet.microsoft.com/en-in/library/cc508851%28en-us,office.12%29.aspx
- 2. The Shortcut Guide to Centralized SharePoint Administration
http://nexus.realtimepublishers.com/sgcsa.php
- 3. Content of this training :
http://download.microsoft.com/download/2/A/B/2AB91CD5-CA1A-4906-AA5C-E26522E4B2E6/WorkshopPLUS%20-%20MOSS%202007%20-%20Administration%20and%20Troubleshooting.pdf
- 4. Installation Guide :
http://www.datasprings.com/resources/articles-information/overview-on-installing-sharepoint-2007
http://sharepointforum.com/en-US/Wiki/Installation%20MOSS%202007.aspx
- 5. Before we start any troubleshooting 4 things to be done always:
http://consultingblogs.emc.com/mohammadalzawati/archive/2009/10/13/how-to-quickly-troubleshoot-moss-2007.aspx
- 6. All about SharePoint :
http://blogs.technet.com/b/vedant/archive/2009/07/28/microsoft-office-sharepoint-server-moss-2007-resource-guide.aspx
In this link above , just search for word "Troubleshooting" , we get a section to cover troubleshooting many things like :
SharePoint 2007 Versions - How do you find out what version of SharePoint you are running?
Troubleshooting backup and recovery - Use this information to troubleshoot problems that you encounter during backup or recovery
Troubleshoot Messaging Integration
Events and error reference
Account permissions and security settings (Office SharePoint Server) - This article describes Microsoft Office SharePoint Server administrative and services account permissions. It covers the following areas: Microsoft SQL Server, the file system, file shares, and registry entries
Plan for administrative and service accounts
Special directories and storage locations (Office SharePoint Server) - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007
Files and permissions for Office SharePoint Server 2007 - This article lists the detailed minimum file permission settings for folders and files created when you install MOSS 2007
Running Central Admin on Multiple Servers within a Farm
Decentralizing Site Administration - Security model of WSS 3.0, including its advantages and implications when delegating administrative control over SharePoint sites to individual departments while maintaining centralized administrative control over the SharePoint infrastructure.
Special directories and storage locations - This article lists the folders and files that are used by Microsoft Office SharePoint Server 2007.
Moving all databases to a different database server or a server with the same name - Two procedures describing how to move databases to a different server or a server with the same name
I was looking for similar to this one in 2007:
http://sharepoint.microsoft.com/Blogs/GetThePoint/Blog%20Documents/SharePointFeaturesServices-10.zip
Reply 1
ou're never really going to get a unified document as it'll almost certainly end up with things that aren't relevant. Some basic questions would be: -
- Are you using Performance Point?
- Are you using Standard or Enterprise?
- What version of SQL Server do you have?
- Are you integrating Reporting Services into your deployment?
- Are you using any major third party products from guys like Metalogix, AvePoint etc.
- Have you any internal customisations?
All of these would represent deviations from one deployment to the next. You'd be best served reading widely around the current set-up that you have, reading the link that Bogdan provided and looking at MVP/Support Engineer blogs
Steven Andrews
Reply 2
There are thousands of troubleshooting scenarios and articles. Check the blogs of the SharePoint Support Engineers that are working for Microsoft and you will find a lot of information.
Here you have my blog http://sharepointboco.com/ where you can find SharePoint performance troubleshooting tips and tricks
You may also like:
Few Questions to be answered before you start a SharePoint…
List web service returns empty result if anonymous is enabled for site collection using list GUID
I am using MOSS 2007 SP 2. I enabled anonymous access on the site collection for lists only. When I try to call GetListItems on the lists web service on a list that does not have anonymous enabled using the list GUID in the request I get back 0 items. If I used the list name instead I get back list items. If I disable anonymous access for the site collection I also get back list items. Any idea what's going on?
Reply 1
Wrap your request inside authentication.asmx.
Use LoginResult method and based on the results of this function assign the CookieContainer of authentication web service to the Lists web service.
Reply 1
Wrap your request inside authentication.asmx.
Use LoginResult method and based on the results of this function assign the CookieContainer of authentication web service to the Lists web service.
Subscribe to:
Posts (Atom)