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

Poweshell script not working from task scheduler.

$
0
0

Hi,

I  wrote a power shell script  to take a back of share point site and store in different machine.

Script is running fine when I run it manually ,but it  throws following  error "you must specify a filename for the backup file"

I have created a batch file and added batch file to task scheduler. I have posted  my  power shell script below .


try
{
$filename = Get-Date -format MM-dd-yyyy
$path = "\\192.168.xx.xx\"+"c$\" + $filename +".bak"
$site="http://sp:1234"
$r=stsadm -o backup -url $site -filename $path
write-output $r
if($lastexitcode -eq 0)
{
$details = "Back up successful for " + $site
write-output $details
}
else
{
$details = "Backup failed for " +$site
write-output $details
}
}

It will be helpful if some one gives solution.


Error: The server returned a non-specific error when trying to get data from the data source

$
0
0

Hi All,

Intermittently(Data displaying fine and in a 2 or 3 minutes getting error. Again after 2minutes data were displaying.)  i am getting the below error in site home publishing page. This data form is located in page layout.

"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."

This form has been working for months without any issues. I am thinking that some changes done in our third party data source or third party data source network issues.

I checked with Logs, but i could not understand what is the issue.

Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=18.773335717249

Leaving Monitored Scope (GetWebPartPageContent). Execution Time=18.9809039975751

Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=20.5576407057322

Error while executing web part: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> 
InnerException 1: System.IO.IOException: The handshake failed due to an unexpected packet format.    
 at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)    
 at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)    
 at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)    
 at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)    
 at System.Threading.ExecutionContext.runTryCode(Object userData)    
 at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)    
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)    
 at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)    
 at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)    
 at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)    
 at System.Net.ConnectStream.WriteHeaders(Boolean async)     -
 -- End of inner exception stack trace ---    
 at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)    
 at System.Net.HttpWebRequest.GetRequestStream()    
 at Microsoft.SharePoint.WebControls.SoapDataSource.GetResponseString(SoapCommand currentSoapCommand)    
 at Microsoft.SharePoint.WebControls.SoapDataSource.ExecuteInternal(SoapCommand currentSoapCommand)    
 at Microsoft.SharePoint.WebControls.BaseXmlDataSource.Execute(String request)    
 at Microsoft.SharePoint.WebControls.BaseXmlDataSource.GetXmlDocument()    
 at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
 at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()    
 at Microsoft.SharePoint.WebControls.SyncMergedDataSource.GetXPathNavigator()    
 at Microsoft.SharePoint.WebControls.AggregateDataSourceView.get_AggregateNavigator()    
 at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String viewPath)    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
The file or folder name contains characters that are not permitted.  Please use a different name.
Exception returned from back end service. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: AccessDeniedEx:The current user has insufficient permissions to perform this operation. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: AccessDeniedEx:The current user has insufficient permissions to perform this operation.   
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication.CheckPermission(SPIisWebServiceApplicationRights requiredPermissions)    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId)    
 at SyncInvokeGetServiceSettings(Object , Object[] , Object[] )    
 at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)    
 at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)    
 at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)    
 at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)    
 at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).

Error encountered in background cache check System.UnauthorizedAccessException: The current user has insufficient permissions to perform this operation.    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()    
 at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2a()    
 at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code)    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.RunOnChannel(CodeToRun codeToRun, Double operationTimeoutFactor)    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.ReadApplicationSettings(Guid rawPartitionId)    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.get_ServiceApplicationSettings()    
 at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.TimeToCheckForUpdates()    
 at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.CheckForChanges(Boolean enforceUpdate)    
 at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.<LoopForChanges>b__0().

above logs i found in ULS.

When i open that Page Layout in designer "Data Form Webpart " displays the error as below.

"The server returned a non-specific error when trying to get data from the data source. check the format and content of your query and try again. if the problem persists contact the server administrator."

Could anybody help me to find the error from above logs.

Thanks  & Regards

MD Liakath Ali


 




MD.Liakath ali


What's my Sharepoint version?

$
0
0

Hi! I have inherit a Sharepoint 2010 installation, and I'm not sure if it's a Sharepoint 2010 Foundation, a Sharepoint 2010 Server, or a Sharepoint 2010 Foundation updated to a Sharepoint 2010 Server. Here a cap:

There is also some of Office Web Apps.

User Profile Synch Error on MOSS-export ma-extension error

$
0
0

I had to recreate the UPA and everything works just fine except the MOSS_EXPORT. The strange thing is this started happening after our April 2013 CU.

Everything works except the MOSS-EXPORT with the error ma-extension-error

The Fim error states:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: An error occurred when verifying security for the message.
   at Microsoft.Office.Server.UserProfiles.ProfileDBCacheServiceClient.GetUserData(UserSearchCriteria searchCriteria)

Any suggestions would be appreciated!


Jennifer Knight (MCITP, MCPD)

text /content search in Share point 2010 documents

$
0
0

HI,

I have to make my search text enabled with inside of documents, I mean search "xyz" which is written in a "abc.docx" of document library. Please let me know How can we achieve that ?


Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS

CSS and JS Deployment Best practices

$
0
0

We have 3 environments in our organization namely Dev,Stage and Production.  We do development on the Dev server . Our development involves many things including change in code on ASPX pages,master pages, CSS, JS etc. We have a deployment team which is supposed to deploy these changes to the STAGE and PROD environments. Right now the approach we take to deploy these changes is to manually edit each ASPX, CSS or JS file and enter the changes in it which is a lot of overhead for the deployment team. I feel this is not the proper way.

Can anyone please suggest an optimum way of doing this work so that the deployment team requires minimum amount of manual intervention and all changes are deployed properly.

  

Farm setup - 2 Wfe and Load balance

$
0
0

I have inherited a farm with 2 WFE sitting behind a CISCO Load balancer Box

The Cisco box is configured so one type of request (domain.com) is send to ‘Server A’ and another type of request (subdomain.domain.com) to ‘Server B’ and the farm uses session-state and preserve this in a separate Database.

I would like to replace the Load balancer box and then have a “normal” load balance and then switch over to inproc session in order to improve performance.

Does the forum have any “heads-up” or any other advises regarding the replacement of the Load balancer box and setting up a new Load balancer in regards of Sharepoint? 

I guess that I need to use 'sticky sessions' or? 

What needs to be done in SharePoint regarding this? -  any AAM entries nessasary or do I need to enable something on the Windows Server 2008 R2? 

Domain User groups

$
0
0

Hi

I have made a read only domain user group for my SharePoint site, I have the domain group set up on my homepage but it won't allow 2 users within the group to access the homepage. I also have the domain group set up on another page but it will allow the users access. The group has the same permissions for both pages but will only allow access to one of the pages, can anybody help me with this issue please?

Thanks


Accidentally Deleted Relink Documents Web Part from repair.aspx

$
0
0

I accidentally deleted the relink documents list view web part from the repair.aspx (I was try to delete an added web part and deleted the wrong one).  Is there a way to get this back?  I need to do this because there are 7000 documents in the library, all of which are in workflow, so I don't want to move them to a new library.

Thanks!

rd

User Profile Synchronization Service not starting

$
0
0

Hi,

My User Profile Sync Service stoped working.

When I check the event logs a se an error:

Could not load type 'System.ServiceModel.Activation.ServiceHttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

The most sources tell to use the aspnet_regiis /iru command. I've done that, both .NET 2.0 and 4.0. My Forefront services are running.
I've created the User Sync Service from scratch on SharePoint.

When I try to start the service it hangs on "Starting" and nothing else happens and it never launches.

Any suggestions what else can be done?

Why are ribbon controls disabled even with full control?

$
0
0
I have full control of both of my sites however the controls on the ribbon are disabled. If I use the drop down menu on the library or list item I can utilize those controls. Is there a setting I disabled? The sites have been set-up for about 6 months and now all of a sudden the controls are greyed out.

Lyndsey

Setting up a BI Center as a root site in the site collection

$
0
0

Hi all,

I'm sorry if my question is too simple or if it's just something I'm not getting very well with.

I want to create a site with the BI Center template. Problem is I don't want it to be a sub site (http://bi.mycompany.com/reports) but want it to be the site collection root site http://bi.mycompany.com. How can I achieve that?


This post reflects my opinion on this specific thread. It does not necessarily represent my employer's opinion.

SharePoint Consultant
MCSA Windows Server 2008
MCTS SharePoint 2010, Configuring

Issue installing local version of 2010 SharePoint to my computer

$
0
0

Hi,

I was following the directions from the microsoft link below:

http://msdn.microsoft.com/en-us/library/ee554869%28v=office.14%29.aspx

Once I got to 2.8 - "Manuallys enable each of hte required Windows Features", it no longer worked. I tried to manually turn on the Windows features, primarily the IIS, but it errors out. I currently have a local version of SharePoint installed to my computer but it will not let me access it. Each time I try to go to my SharePoint site the following error pops up:

I believe it won't let me access it because the IIS isn't turned on. I have also had an error in the past that says the following "

Would anyone happen to know how to permanently keep the IIS feature on? It is downloaded on my computer but it isn't working.

Thanks,

Greg


Greg Baker

Sharepoint Designer 2013 Connecting to new SPF 2013 site. "The Server could not complete your request."

$
0
0

When I am connecting to a new SPF 2013 site with SharePoint designer 2013 I receive the following error:

The Server Could not complete the request.

If i click Details I get the following details:

"Request Error
Request Error the server encountered an error processing the request. See Server Logs for more detail"

I click OK and get the below message:

"An error occurred while trying to fetch data from your SharePoint site."

I look through Event logs on the server and cannot find anything.

I can see the logon events and they are successful in the event logs but nothing that notes towards any failure.

Any help would be much appreciated.

Setting up SSRS 2012 on Sharepoint 2010

$
0
0

Hi,

I have an SSRS 2012 service application running on a Sharepoint 2010 farm, whenever I try to go to the "system settings" on the service application I get an http 403 forbidden. From the ULS logs:

Application error when access /_admin/ReportServer/ReportingServicesSystemSettings.aspx, Error=The remote server returned an error: (403) Forbidden.

I have a lot of errors in event log as this one:

The Execute method of job definition Microsoft.ReportingServices.SharePoint.SharedService.Service.DoWorkTimerJob (ID 449b85fb-c051-429c-bed0-649f3112e3c3) threw an exception. More information is included below.

The HTTP request was forbidden with client authentication scheme 'Anonymous'.

It looks like it's some issue with authentication configuration, but I can't seem to find what exactly...


This post reflects my opinion on this specific thread. It does not necessarily represent my employer's opinion.

SharePoint Consultant
MCSA Windows Server 2008
MCTS SharePoint 2010, Configuring


SP 2010 Publishing - Rollup and Page Images not visible when entering page edit mode

$
0
0

All:

Hello, I have an odd issue recently appearing after installation of FEB 2013 CU install. When users select to Edit a Publishing Page the Rollup Image and also Page Image(Article Page Layout) are not visible. Only the "Click here to insert Image from SharePoint" link is visible.

  • The issue has be confirmed in 5 servers across two farms
  • DEV, QA, and PROD on client recently updated
  • DEV and PROD in a completely separate client farm

I have confirmed the issue does not exist in two separate farms running April 2012 CU. In both of those environments the image appears with issue even in Edit page mode.

In the farms where the issue exists you can click the insert image link and simply hit OK to see the image again. An easy enough work around for tech savvy but my client's content admins are very confused/frustrated by.

Is this a bug? I have confirmed in two separate farms including brand new web applications using out of the box publishing site templates.

Configuring SharePoint to publish an Excel workbook connected to a SSAS Tabular model

$
0
0

Hi,

I need to know if it is enough to have SharePoint Server 2010 + Excel Services to publish an Excel workbook that points to an Analysis Services Tabular model, without installing PowerPivot for SharePoint.

Many thanks

SharePoint 2010 Web Analytic Reports

$
0
0

Hi, 

Is there a trick with getting the web analytic reports to send a email?

i Have create a workflow via web analytic, chose my username as the user to mail the report to and chose 3 reports to be mailed to me but although the workflow say successful if i start the workflow manually i dont get an email.

Email is configured and working on the site.

Cant find any errors in the ULS logs 

how to send reminder email for every 2 days after due date occurs in sharepoint 2010 workflow

$
0
0

Hi Team,

         Please suggest an idea "How to send an email reminder to user for every 2 days after due date occurs for an item in a list in sharepoint 2010 workflow?


Badri

What's my Sharepoint version?

$
0
0

Hi! I have inherit a Sharepoint 2010 installation, and I'm not sure if it's a Sharepoint 2010 Foundation, a Sharepoint 2010 Server, or a Sharepoint 2010 Foundation updated to a Sharepoint 2010 Server. Here a cap:

There is also some of Office Web Apps.

Viewing all 12728 articles
Browse latest View live


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