Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all 13778 articles
Browse latest View live

Cannot import site - Import-SPWeb results in error

$
0
0

I'm trying to import a site that I exported using Export-SPWeb, and it's not working

Export command - this worked:

Export-SPWeb https://company.com/path1/oldsite -Path "SiteExport.cmp"

Import command - this did not work:

Import-SPWeb https://company.com/path2/newsite -Path "SiteExport.cmp" –UpdateVersions -Overwrite

My import command resulted in the following error:

Import-SPWeb : Cannot bind parameter 'UpdateVersions'. Cannot convert value "-Overwrite" to type "Microsoft.SharePoint.Deployment.SPUpdateVersions" due to invalid enumeration values. Specify one of the following enumeration values and try again. The possible enumeration values are "Append, Overwrite, Ignore". At line:1 char:122+ Import-SPWeb https://company.com/path2/newsite -Path "SiteExport.cmp" -UpdateVersions <<<<  -Overwrite    + CategoryInfo          : InvalidArgument: (:) [Import-SPWeb], ParameterBindingException    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.SharePoint.PowerShell.SPCmdletImportWeb

Any assistance would be great.  Could it be a permissions problem?


How to enable Tagging in SharePoint 2010?

$
0
0
I wonder how to enable Tagging in SharePoint 2010? I have a blank site with a Custom List, and also a Site based on the Document center template, but on both sites there is no option for tagging.

The "I like It" and "Tags & Notes" buttons in the ribbon are grayed out and "currently disabled", but I don't understand why and how to enable them.

PowerShell SP bug? SPSite.Owner and SPSite.SecondaryContact are Null?

$
0
0

I ran a PowerShell script to get a list of the primary and secondary Site Collection Administors and found some site collections with no administrators listed:

PS C:\> get-spwebapplication http://sharepoint | select -ExpandProperty sites | select url, owner, secondarycontact

Url                                                  Owner                    SecondaryContact
---                                                  -----                    ----------------
http://sharepoint                                    SHAREPOINT\samc          SHAREPOINT\administrator
http://sharepoint/sites/RCWidgets2                   SHAREPOINT\samc          SHAREPOINT\administrator
http://sharepoint/sites/Training
...

Central Administration shows both admins.

A little C# Console application returns the expected (and correct) results for both Owner and SecondaryContact.

Only PowerShell shows these as missing.  (Reports them as Null)

The pattern I found was the Owner and SecondaryContact were missing on sites where the admins were changed from Site Actions, Site Setting in the site collection.

Am I missing something in how PowerShell reads the data?


Mike Smith TechTrainingNotes.blogspot.com my SP customization book

Changing Intranet Url and configuring AAM

$
0
0

Hello,

I already extended my web application to Intranet, and now I have a requirement to change the url again. 

So, what are the steps I need to follow in CA and IIS? 

Do I just need to create another DNS record, and replace it in AAM? And also I need to edit the binding? This is Production, so I need to know of doing it best way. 

Thanks

John

Cannot backup document library with Export-SPWeb using Powershell 2.0

$
0
0

Platform is Sharepoint 2010 Enterprise Server Service Pack 1 on Windows Server 2008 R2; Powershell 2.0:

I was able to use dialogs in Central Admin Granular Backup to backup a doc library from a subsite but despite lots of trial and error and searching for tips, I cannot get theExport-SPWeb syntax right to get this working in Powershell. Here's a snippet of what worked via Central Admin:

Here what I was able to scrape out of the dialog output during the above successful backup:

Status Operation initializing. 
Requested By CBMIWEB\sharepointadmin 
Site Collection URL http://blacktip/sites/cbmi 
Server Relative URL /sites/cbmi/HR/HR Documents 
Filename c:\SharepointBackups\sites-cbmi-hr-employee-infocenter.cmp 
Log file generated: c:\SharepointBackups\sites-cbmi-hr-employee-infocenter.cmp.export.log

One thing that may be affecting my Powershell problems is that the library is exposed as"Employee InfoCenter" but this "translates" into something called "HR Documents". 

With Powershell I have tried many variations of syntax. Here are the two that I believe are "closest" to being correct but please note each form gives a different error:

This syntax gives some sort of unknown error or general SPException:

Export-SPWeb : 
At C:\Scripts\exportListOfSubsite.ps1:2 char:13
+ export-SPWeb <<<<  http://blacktip/sites/cbmi -ItemUrl "/sites/cbmi/HR/HR Documents" -Path c:\SharepointBackups\sites-cbmi-hr-library-employee-infocenter.cmp 
    + CategoryInfo          : InvalidData: (Microsoft.Share...CmdletExportWeb:SPCmdletExportWeb) [Export-SPWeb], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletExportWeb

This next syntax gives me an error I have seem many times before in my attempts; I have chased all around with Bing and Google and tried different things:

Export-SPWeb : The URL provided is invalid. Only valid URLs that are site collections or sites are allowed to be exported using stsadm.exe.
At C:\Scripts\exportListOfSubsite.ps1:3 char:13
+ export-SPWeb <<<<  http://blacktip/sites/cbmi -ItemUrl "/sites/cbmi/HR/Employee InfoCenter" -Path c:\SharepointBackups\sites-cbmi-hr-library-employee-infocenter.cmp
    + CategoryInfo          : InvalidData: (Microsoft.Share...CmdletExportWeb:SPCmdletExportWeb) [Export-SPWeb], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletExportWeb

Please note that I have been able to get other document libraries of other site collections backed up with various changes to the-ItemUrl parameter. I wish there were a way to look at the log file generated when Central Admin works and somehow copy a command out of the log file that could be lifted into Powershell. Thanks in advance for advice on this. 


John


How to deploy SharePoint 2010 wsp to all the servers in a server farm having multiple servers

$
0
0

Hi,

I have a SharePoint 2010 server farm having following configuration:

  • Web1 – Web Front End
  • Web2 – Web Front End
  • App1 – Application Server
  • Ind1 – Index Server
  • SQLDB1 – Database Server

CentralAdmin(CA) is configured only in App1 not in any web front ends. The problelm I'm facing is when I deploy a wsp having features scoped to farm, webApplication, its not getting deployed into all the servers. Its getting deployed only on App1. Because of this Im not seeing farm scoped features in the central admin.

I have tried deploying the wsp by changing its DeploymentServerType as ApplicationServer, Im getting the following error:

Add-SPSolution : This solution must be deployed to application servers, not front-end Web servers. It cannot contain a resource that is scoped to a Web application.

I can't change the above configuration as we have same set up in production environment.

Could anyone help me to resolve the above issue. I mean all the wsp content should be deplyed to all the servers in the configuration.

Thanks in advance...


my sharepoint 2010 configuration failed with the following information

$
0
0

failed to create configuration database

"an exception of type system.data.sqlclient.sqlexception was thrown could not find store procedure "sp_dboption

SharePoint 2010 Tags & Notes greyed-out

$
0
0

Sharepoint 2010 - Tags & Notes greyed-out.

Need help how to enable this feature. I am using the Administrator account but no luck on making it work.

User Profile Service is running

Thanks...Anthony


User Profile consuming service of User Profile of another machine

$
0
0

I have a Development Virtual Machine with SharePoint 2010 installed Machine A). I installed SharePoint 2010 on another Virtual Machine (Machine B). I want the User Profile Service of Machine A to consume User Profile Service of Machine B. What's the procedure for that. Any links of suggestions? Thanks a lot.

Mayank

User Profile Synchronization Job Overwriting edited values in SharePoint Profiles

$
0
0

Hi,

We have a sharepoint 2010 installation. We are using the AD accounts for users. We want something as below.

1. We are synchronizing the AD to our sharepoint 2010 user profiles. All the properties available in AD is getting filled over into the sharepoint profile.

2. Now we edit few of the property values.

3. Again when the profile synchronization job runs, the values edited in the SharePoint end is getting overwritten by AD values.

Can we block this @ property level . Example can we block the updating of the values edited in SharePoint user profile using any settings.

Thanks in advance

Veena R


Veena Raju

Access Denied for local access

$
0
0

I have created a new web-app on my server at app.mydomain.com

I used Classic Mode. Initially I created the app with CBA and had the same issue so deleted & recreated with CMA.

Basically when I access the app from an external machine I can log in OK; When I try to access the app from the actual machine I receive a credential prompt, but cannot access the site.

Help?

sharepoint foundation installation issue

$
0
0

I installing sharepoint on  Windows 7 X64 ultimate 

after following all the step at
http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx

after editing config.xml and running the setup of sharepoint foundation getting error "setup stopped working"

SharePoint site movement error

$
0
0

Getting below error while moving SharePoint site to new DB by using STSADM -o mergecontentdbs

Error Message --

Another site already exists at /Site. Delete this site before attempting to create a new site with the same URL, choose a new URL, or create a new inclusion at the path you originally specified.

Managed path is Explict inclusion, is that causing the issue?

Thanks ,

Anoop

Moving Site collection to new domain

$
0
0

I recently moved a sitecollection from production domain to a live domain(completely different)..

Now the problem is with user permissions, by default the old user logins exists there and when i am trying to add NT AUTHORITY\AUTHENTICATED USERS into a group or trying to give permission directly it is referring the old domain authenticated users..this is very surprising to me??

How to create web application for My sites (Personalization) feature of sharepoint 2010 in project server 2010.

$
0
0

I have Installed Project Server 2010.

and PWA is built on port 80 normally.

Now I configure sharepoint 2010 Personalization feature.

after I start the 'User Profile Synchronization Service' and then import the users from AD.

next step to create web application for My sites  for users.

but when I search online on google there is guide to build web application for My site on port 80.

but PWA is already using Port 80.

now tell me how to create new web application on port 80.if no need to create on port 80. then what to do. how complete this


'User profile synchronization service' stop after shows 'starting' of few minutes

$
0
0

I have installed 2 front end server and one database server of Project server 2010.

In 1st front end server I need to start 'User Profile Synchronization Service' and done all required configuration.

but when I started the service it shows 'starting' status for few minutes and then stop.

what is the problem ?

Cannot add new SharePoint Server 2010 server to existing farm

$
0
0
Good Morning,

I am having a problem adding a new SharePoint 2010 server to an exisiting 2010 (SP1 + August CU) farm.
The issue seems to be around the version of 4 languages. When I run PSConfig, I get the following when adding to the farm:

 Microsoft Office Server Proof (Arabic) 2010  
 Microsoft Office Server Proof (Arabic) 2010 (14.0.6029.1000)  
 Missing on  
Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)  
 Missing on  

 Microsoft Office Server Proof (German) 2010  
 Microsoft Office Server Proof (German) 2010 (14.0.6029.1000)  
 Missing on  
 Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)  
 Missing on  

 Microsoft Office Server Proof (French) 2010
 Microsoft Office Server Proof (French) 2010 (14.0.6029.1000)  
 Missing on  
 Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)  
 Missing on  
 
Microsoft Office Server Proof (Russian) 2010
Microsoft Office Server Proof (Russian) 2010 (14.0.6029.1000)  
 Missing on  
 Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)  
 Missing on  
 
Microsoft Office Server Proof (Spanish) 2010
Microsoft Office Server Proof (Spanish) 2010 (14.0.6029.1000)  
 Missing on  
 Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)  
 Missing on  
 

I have tried the install many ways to resolve this. They are:

1) Install slipstreamed SP2010 + SP1 + August CU
2) Install SP2010 + SP1 DVD (downloaded from MS licensing site), then install August CU.
3) Install SP2010 DVD (downloaded from MS), then install SP1 (downloaded from MS), then install August CU.

All of the above result in the same issue. We don't have the Office Language Pack "add on" installed anywhere on our farm, so I'm struggling to figure out what the problem is.

The only difference between the existing farm and the new server is that the exisiting farm is Windows 2008 R2, and the new server is 2008 R2 SP1.

I did try (on one of my attempts) to force the server to join the farm. When I did this, in Central Admin, I saw the version of  the languages it is installing with SP1 (by the looks of it) on the new server is 14.0.6028.1000, whereas on the exisiting farm it is 14.0.6029.1000. The version the CU is upgrading it to appears to be the same.

I'm hoping someone has seen this before, or knows how I can resolve it.

Many thanks for any help in advance.

Regards,

Richard Watling
HPC IT

Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON....Ribbon issue

$
0
0

I have been trying to figure this out for the last 2 days to no avail. Accessing the ribbon on some computers gives the javascript error mentioned -

Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON

However, some computers work fine while others do not. For a few users, I was able to rectify the issue by doing a reset on the IE settings to default. However, this fix does not work for all users with the problem. Also, on the computers that do not work, it gives the error for all users. Strange thing is that it works on Firefox on the same computer. However, for the life of me I am unable to determine what setting is causing this issue. ....

Thanks in advance,
Jake.

Forms Authentication login issue on SharePoint AAM site

$
0
0

I am faced with a problem for which I need your help.

 

We have a 3 server SharePoint 2010 farm – 1 WFE, 1 Application and 1 Database Server.

 

I have configured my SharePoint site to work with Forms Authentication, the authentication is done against an LDAP directory. The specifics of the Forms Authentication have been taken from an already existing SharePoint 2007 farm, where the authentication is working perfectly fine.

 

I have also set the same authentication mechanism for my development farm, however the dev farm contains 1 SharePoint Server and 1 Database Server.

 

Coming back to my production environment, I have set the Forms Authentication as with the other 2 farms and I am successfully able to authenticate myself using the default URL. 

 

However, I had to configure an Alternate URL for my site. I used Alternate Access Mapping to configure the new URL for the site. Here I was unable to use the Forms Authentication, the error states that the credentials are incorrect.

 

I found an error in the ULS logs that the Security Token could not be issued for the user as the user name and password were not identified.

 

Next, I do an IISRESET and the error is gone. I am able to successfully login to the same site with the same credentials. This does not stop here.

 

Next day, I am again faced with the same error and again everything starts working fine after an IISRESET. This has been going on for a number of days now.

 

I had tried certain solutions like making modification to the Membership Provider in the web.config but these seem pretty useless as the same details of Membership Provider are working in the other 2 farms.

 

Please share any ideas or thoughts you might have regarding this issue.

what's the reason of this problem?

$
0
0

Hi there,

I have an external list which gives error when I tried to add a new record. But I can add that in sql Management Studio without any error. The error goes like this:

Data Source Conflict: Your changes conflict with those made concurrently by another user. Refresh the form and submit your changes again.

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.

Any idea what happened? Thanks in advance.


allan


Viewing all 13778 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>