Thursday, July 31, 2008
Not able to Create a New Document in Document Library
Error:- "The exception unknown software exception (0xc06d007f) occured in the application at location 0x7c812a5b."
Environment:- Office 2003 and Office 2007 product together.
Resolution:- http://support.microsoft.com/kb/938888
Wednesday, July 30, 2008
Export to Spreadsheet
When does is occur? :– While exporting a list to Excel Spreadsheet.
Environment :- Office 2003
Resolution :- Known bug. Can be resolved by Post Service Pack 1 release http://support.microsoft.com/kb/941422/en-us
Workaround:-
Upgrade to office 2007 OR
a. Change all the Date columns in the List to use “Date Only” format.
b. Using a machine which has Office 2007 installed, Export the list to Spreadsheet.
c. Create a new Blank “Import Spreadsheet” List.
d. Import the old Exported List back.
e. Now you will be able to export the list to spreadsheet in Office 2003 also.
Note: Do not change the format back to “Date & Time”
How to Re-produce the issue?
1. Create a SharePoint List with “Date and Time” Column keeping the format as “Date Only”
2. On Office 2003 machine Export the list to Spreadsheet, it will work without any issues.
3. Change the Date Column Format to “Date & Time”
4. Now again try to export the list to spreadsheet, it will not work, you will get the error “Cannot get the list Schema column property from the SharePoint List”, but the same list will get exported without any issues in Office 2007 setup.
Note: Even if you change the Date format back to “Date Only”, the issue will still persist; it does not resolve the error.
Tuesday, May 20, 2008
Error while creating a new page in MOSS.
List does not exist The page you selected contains a list that does not exist.
It may have been deleted by another user.
In ULS Logs the error listed is as below.
05/16/2008 13:13:34.51 w3wp.exe (0x1AF8) 0x148C Windows SharePoint Services General 8kh7 High List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user. 05/16/2008 13:13:34.51 w3wp.exe (0x1AF8) 0x148C Windows SharePoint Services General 8nca Verbose Application error when access /_layouts/AccessDenied.aspx, Error=List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user. at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt... 05/16/2008 13:13:34.51* w3wp.exe (0x1AF8) 0x148C Windows SharePoint Services General 8nca Verbose ...32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) 05/16/2008 13:13:34.51 w3wp.exe (0x1AF8) 0x148C Windows SharePoint Services General 0 Verbose Releasing SPRequest with allocation Id {BD5F0900-38A4-40AB-BC1F-E78319A3DD70}
Resolution
=========
Go to Site Settings -> Master page Gallery -> Add Authenticated Users group and give Read Restricted Access rights.
Add the same group in Style Library and give the same permissions.
Sunday, February 24, 2008
Microsoft Search Server 2008
There are better features than Google's Onebox Search Server Appliance, though I would say both have their own pro's and con's.
Search Server 2008
It's RTM version's are getting released in Express and Full Edition. Express Edition will be downloadable for free whereas Full version is a licensed product. There will be support provided for both these versions from Microsoft.
Express Edition's limitation is that it can be installed only on a SingleServer WSS 3.0 environment, whereas, Full Edition can be installed in a Farm WSS 3.0 enviroment.
Search Server 2008 MOSS patch is expected to be released later this year. When you install Search Server 2008, WSS 3.0 will be installed along with it, with some more cool features of Search which is not available with only WSS 3.0 Another new and cool feature of Search Server is the Federated Search which allows you to render the index of the Search engines on the internet, except for Google Search, Google blocks any search engine to crawl its content.
Search Server needs to get the results returned in XML formart to display those results in the Search query, for any Search engine that cannot return the results in XML format to Search Server, we have Federated Search custom connectors that can be created to re-format the results in XML format and store it locally. Those custom connectors is something that Shareopoint Developers will have to do. There are many 3rd party custom search connectors already available and can be used with Search Server 2008.
Google's Enterprise Search products have limitations of crawling data, depending on the product you buy, the limitations differ. In Microsoft Search Server 2008 there is no limitation to the no of files that be crawled. Also, Google's product expire in 2 years and so will their email support, they do not have any on call support. If you want to renew the support you will have to buy a new license for that to get support. (Email)
More information on the Installation and new features of Search Server 2008 will be posted soon.
Monday, February 11, 2008
Email Enabled Document Library [Error in Application]
There is one most common scenario when you will get this error.
WSS 3.0 or MOSS 2007 installed as a Basic Installation [SINGLESERVER]
By Design when you install sharepoint using Basic intallation, the Central Admin site and any other new Web Apps that you create will use 'Network Service' as the service account for the Application Pools in IIS. For a contact to be created for a Document Library, the Application Pools of both Central Admin and the Web App should be using a domain user account and not Network Service.
Steps to Perform to resolve this error.
1. Create a Service Account in Active Directory who is also a member of the Domain Admins group. Delegate all rights to this service account to the Organizational Unit created for Sharepoint, where contacts will be created.
2. On the Sharepoint server, Open Computer Management -> Local Groups and Users -> Groups. you will find 3 WSS_WPG groups, make the service account a member of all these 3 groups and also the member of the IIS_WPG group.
3. On the Sharepoint server, open IIS console and make sure that the Application pools running for Central Admin site and the Web Application are running using the service account created in step 1. Perform an IISRESET and then make sure the Central Admin and the website are up and running after changing the Application Pools.
4. Now configure the Incoming Email settings for the Document Library. You should not get the 'Error in Application' error.
5. Now create a new Web Application and a Site Collection using the service account and not 'Network Service'. Take a backup of the old Site Collection using stsadm -o backup command and restore that backup on the new one just created using stsadm -o restore
Note: We have to do the 5th step because once changing the service accounts in many cases the site will not open from Client machines, it will open only on the Server or after configuring the Incoming email settings for the Doc Library, the emails will not be visible in the document library.
These above steps will resolve the issue and also the sites up and running. In many cases where the installation is not Basic, you will find the same error message, that purely due to the service account not being a member of the 'Domain Admins' group.
Thursday, January 10, 2008
Search Does not work with Basic Authentication, only WSS 3.0
Only WSS 3.0 is installed and Basic Authentication is configured so that while logging to the site domain\username and password is not required, only username and password should work.
Step by Step to configure this setup
1. Open Central Administration Site ->Application Management -> Create or Extend Web Application -> Extend an Existing Web Application.
a. Select the main Web application
b. In IIS Web Site select ‘Create a new IIS Website’
c. Give port no. 81 or any random port you want.
d. Enter a hostheader if desired.
e. Select NTLM as Authentication Provider.
f. In Load Balanced URL select ‘Intranet’ Zone. Click on OK.
2. In Central Administration -> Application Management -> Authentication Providers.
a. You will see the Default Zone and the Intranet Zone where we extended the new site.
b. Click on Default zone; make sure that only Basic Authentiation is selected. Click on OK.
c. Click on Intranet zone; make sure that Windows Integrated is selected. Click on OK.
3. Open IIS console -> Web Sites.
a. Go to the properties of the Main site -> Directory Security
b. Click Edit in Authentication and access control.
c. You should see only ‘Basic Authentication’ selected over there.
d. In Default Domain type \ (backslash)
e. Click on OK. Click on OK.
4. Open Central Administration -> Operations -> Alternate Access Mappings -> Select the Main Web Application.
a. You will see 2 zones having URL’s specified. In default zone your primary URL. In Intranet zone the URL and port no. which you extended the main site with.
b. We have to now swap these 2 zone URL’s Put the Default URL in the Intranet zone and the Intranet zone URL in the Default zone.
5. Perform an IISRESET.
6. Check the Eventviewer App Log and verify that we should NOT get the event id 2436 gatherer which is a warning. This warning will come after every 5 mins if Search will not work, otherwise it will not come.
We have to swap the URL’s in AAM purely because Search always renders the page which is mentioned in the Default Zone and then crawls it. After the Swap of the URL’s in AAM, as the default zone URL will be of Windows Integrated, Search will be able to render it, crawl and we will be able to see the search results after 5 mins. In App log you will stop seeing event id 2436 warning and event ID 10044 information event which means that search should work fine.
Wednesday, January 9, 2008
Installation Windows Sharepoint Services [WSS] 3.0
Windows Sharepoint Services 3.0 Installation is farely easy but very complicated to resolve if it errors out. There are 2 types of Installations which are described in detail below. WSS 3.0 is freely downloadable from Microsoft site. [ http://www.microsoft.com/downloads/details.aspx?FamilyID=d51730b5-48fc-4ca2-b454-8dc2caf93951&DisplayLang=en ]
Pre-requisites before Installing Windows Sharepoint Services.
- Windows 2003 OS with ASP.net + IIS 6.0. SMTP is required if you are deciding to use Email Enabled Document Libraries, not otherwise.
- Service Pack 1 or higher.
- ASP.net 3.0 framework.
- Service account created in Active Directory, recommended to be a member of Domain Admins groups. This service account should not change the password according to group policies, otherwise everytime the password is required to change, Sharepoint sites will go down once the password is changed. If you dont want the Service account to be a member of Domain Admins group, it has to be the member of the local administrators group on the server you will be installing Sharepoint.
Types of Installation of WSS 3.0
- Basic
- Advanced
Basic Installation Detail Description
- You run the sharepoint.exe file which you can download from the above link. You will get the License agreement page. Accept it and Click on Next.
- On next Page It will give you 2 buttons 'Basic' and 'Advanced'. We are going to select 'Basic'
- After selecting Basic it will continue with the installation process and at the end it will stop at 'Run the Sharepoint Products and Technologies Configuration Wizard now'. This is inshort referred as 'PSConfig' wizard.
- Make sure that the checkbox is selected and click on the Close button. PSConfig Wizard will start.
- Click on Next, it will give a warning of restartint the IIS Services -> click on Yes. It will run 1 to 10 steps in PSConfig wizard.
- Once all the steps are completed Click on the Finish button and default page http://servername/ site will open automatically.
Description of above steps
- Step 1:- Log on to the server using the Service account created. If the pre-requisites of IIS and ASP.net 3.0 framework is not met, it will error out and you will not get the EULA page. Before coming to the EULA page, pre-requisites are checked.
- Step 2:- Basic Installation will not prompt for any configuration settings. Using Basic installation SQL Express Edition is installed and Sharepoint Databases are created in SQL Express Edition. By Default there is not GUI mode to manage those databases, you will have to separately install SQL Management Studio Express [ http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=en ] and once installed connect to the database using "\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query" (without quotes).
In this step only the binaries and some registry keys are installed and configured.
Binary files are located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin
SQL Express Databases .mdf and .ldf files are located at C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data
Registry Key location is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS. Important Registry keys are 'Server Role' and 'Setup Type'. If Basic Installation is done, "Server Role" will be mentioned as "SINGLESERVER" and "Setup Type" will be mentioned as "CLEAN_INSTALL" - Step 3:- PSConfig wizard is when Sharepoint is Basically configured. Untill you run this wizard, Sharepoint Administration site or any functionality related to Sharepoint will not be possible. Description of the PSConfig Steps, I will Post it Separately.
Once the Installation and PSConfig Config wizard is completed successfully, Open up IIS console and you will find that the 'Default Web Site' will be stopped and the default Sharepoint Site created is also at port 80 [ Sharepoint - 80 ]. So if you have Exchang running on the same server, OWA will stop working as OWA is extended on the 'Default Web Site' in IIS. Exchange and WSS 3.0 only is supported by Microsoft but Exchange and MOSS 2007 on the same server is not Supported.
You will also find the Sharepoint Central Administration V3 site, which is the Sharepoint Central Administration Site IIS Virtual site. This Site will be created at a random port no. which will be taken during PSConfig wizard. From the above registy path, you can also get the 'CentralAdministrationURL' which specifies the Central Admin site URL with the Port no.
There will be 3 Default groups created 'WSS_WPG', 'WSS_RESTRICTED_WPG', 'WSS_ADMIN_WPG'. The user account using which you installed Sharepoint will be the member of these groups by default. It is recommended you log-on to the server as the service account first and then proceed with the Installation.
By Default at the database location you will find 4 Sharepoint Databases created in Basic Installation.
1. Sharepoint_Config_bigGUID [ Sharepoint Farm's Configuration database].
2. Sharepoint_AdminContent_bigGUID [ Sharepoint Central Administration database].
3. WSS_CONTENT [ Sharepoint - 80 sites database].
4. WSS_Search [ Windows Sharepoint Search Service Database, By default Search Service will be started in Basic Installation.]
Sharepoint Search not working. Event ID 2424
Event Type: Error Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2424
User: N/A
Computer: ComputerName
Description: The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search', Catalog 'index file on the search server Search'
Resolution
Central Administration -> Operations -> Services on server -> Click on the Windows Sharepoint Services Search service and make sure that the 'Service Account' and 'Content Access Account' service account specified are the same. They should not be working with two separate accounts. If it still does not work, Stop the service and while starting it again specify a common service account and create a new Search Database.
Sharepoint Backup
As Every product or any business Disaster Recovery is very importand and in similar way, Sharepoint has some very good options for the same. Below are the methods that can be used in WSS 3.0 only or also for MOSS 2007.
1. GUI mode from Sharepoint Central Administration.
This Method is very common and most of the Administrators use this Method.
Go to Sharepoint Central Administration page -> Operations Tab -> Backup Operations.
This method will need a UNC path to store the back. It automatically creates a folder starting which will have various files in it and the most important file is the .xml file which get created, which has all the information about the backup.
The .xml file will contain data about the backup ID, The type of Backup, the Components selected during the backup.
GUI Backup is the same like the stsadm -o backup [catostrophic]. Both work the same way and the backrgound process is the same. Only difference here is the GUI interface.
By Default this backup will take the entire Sharepoint Farm backup
2. STSADM -o backup
This method is a command line backup which needs to be run from the BIN folder of Sharepoint.
This method can backup any top level sites or site collections of a Web application.
You will need to specify the URL address of the site to be backed up.
By default in this method the security or permissions are also backed up.
stsadm -o backup -filename c:\back.bak -url http://siteurl/
This is the standard command. It is not necessary to give the backup file extension as .bak, it can be anything or you may not even give any extension. Using this command you can backup only 1 top site at a time within the Web Application. If you want you can create a batch file which will include the commands having different URL's and schedule te batch file to run accordingly. It also includes other parameters for which you can use
stsadm -help backup
3. STSADM -o backup [catostrophic]
This method is similar to GUI Central Adminstration backup, its only Command line interface. You will need to manually specify the parameters and components to be backed up using this command. By default if the component is not specified, Enter Farm level backup is taken. Using this command as well a UNC path is to be given, where again and .xml file will be created.
stsadm -o backup -directory \\server\backup -backupmethod full [This will take the default Farm level backup]
This method will help you to take backups of subsites separately which is not possible in any of the above backups. Using this method, subsites and top level sites backup can be taken but by default User permissions are not exported, you have to manually specific to export User permissions.
stsadm -o export -filename c:\exp.back -url http://siteURL -includeusersecurity
If you do not use -includeusersecurity, User permissions will not be exported by default.
5. SQL Database backup.
This method is the usuall maintenance method from SQL Management Studio. It is recommended to have the Sharepoint Content Databases backup from SQL as well, just in case Sharepoint Backup's don't work.
Total Pageviews
-
Scenario : Using Microsoft Flow you need to call HTTP Rest API methods and for that it needs Access Token authorization. You get " ...
-
You get "Cannot connect to Configuration database" while accessing Central Administration or any SharePoint sites. In Event Viewer...
-
Scenario : you have a SharePoint List where a field with 'Person or Group' having multiple entries is selected. you want to send a ...