Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations Forum
Viewing all 1179 articles
Browse latest View live

warmup script - authentication error 401

$
0
0

Hi,

I am trying to run the following warmup script on my sharepoint 2013 server. I am logged on with my farm administrator account, I have tested that I can connect to the sites by browsing to them and authenticating manually.

############################################################################
#WarmUp2.ps1 - Enumerates all web sites in web applications in a 2010
# SharePoint farm and opens each in a browser.
#Notes:
#-"get-webpage" function borrowed from:
# http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/
#
#Assumptions:
#-Running on machine with WSS/MOSS 2010 installed
############################################################################
 
Add-PsSnapin Microsoft.SharePoint.PowerShell
$extrasitelistfile = 'c:\Tools\Warmup\warmup-extrasites.txt'
 
function get-webpage([string]$url,[System.Net.NetworkCredential]$cred=$null)
{
  $wc = new-object net.webclient
  if($cred -eq $null)
  {
    $cred = [System.Net.CredentialCache]::DefaultCredentials;
  }
  $wc.credentials = $cred;
  return $wc.DownloadString($url);
}
 
#This passes in the default credentials needed. If you need specific
#stuff you can use something else to elevate basically the permissions.
#Or run this task as a user that has a Policy above all the Web
#Applications with the correct permissions
 
$cred = [System.Net.CredentialCache]::DefaultCredentials;
#$cred = new-object System.Net.NetworkCredential("user","password","computer")
 
$apps = get-spwebapplication -includecentraladministration
foreach ($app in $apps) {
  $sites = get-spsite -webapplication $app.url
  foreach ($site in $sites) {
    write-host $site.Url;
    $html=get-webpage -url $site.Url -cred $cred;
  }
}
# Warm up other sites specified in warmup-extrasites.txt file (such as SSRS)
 
if (test-path $extrasitelistfile) {
  $extrasites = get-content $extrasitelistfile
  foreach ($site in $extrasites) {
    write-host $site;
    $html=get-webpage -url $site -cred $cred;
  }
}


Can anyone help me workout why I still get this 401 error when I run the script?

Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (401) Unauthorized."
At C:\Users\service-s-syd-33-epm\Desktop\New Text Document (2).ps1:23 char:10
+   return $wc.DownloadString($url);
+          ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Thanks


Distributed Cache Service will not start

$
0
0
I've set up a dev environment for SharePoint 2013. I have created two server vm setup with SQL on one and wfe and app on another. I get an fromt the SharePoint Helath Analyzer saying that the Distributed Cache service is off. I go to start it but i get an error saying  cacheHostInfo is null. Can't find anything on Google that can help me with this. Any assitance would be greatly appreciated.

Host named site collections and multiple URLs per zone

$
0
0

I am trying to create multiple URLs for single host named site collection and single zone (Default) using Set-SPSiteURL but I keep getting following error:

"Set-SPSiteURL : Could not set URL http://site2.domain.local/ for zone Default because a URL is already set for the zone. To set a URL for this zone, first remove the existing URLhttp://site1.domain.local/"

Command that I run is: "Set-SPSiteURL -Identity http://site1.domain.local -Url http://site2.domain.local -Zone 0"

If I understood correctly, in SharePoint 2013 you can have multiple URLs configured for single host named site collection and in single zone (in this case zone is Default) but it seems that Set-SPSiteURL cannot do this.

In our environment web application has "standard" root site collection (not host named) using URLhttp://servername and additional host named site collection and with Set-SPSiteURL I cannot create additional URLs per zone in any. Creating additional URLs in different zone (e.q. in Intranet zone) is working ok:

"Set-SPSiteURL -Identity http://site1.domain.local -Urlhttp://site2.domain.local -Zone 1"

but then again creating additional URLs in Intranet zone (Zone 1) returns error mentioned above.

Was anybody successful using Set-SPSiteUrl for multiple URLs per zone, does this maybe work only in multi-tenancy mode (our environment is not multi-tenancy).

Thanks in advance,
Bojan

SharePoint Server 2010 SP1 Office Web Apps with Office 2013 Installed

$
0
0

Hello,

We're having an issue with people who have Office 2013 installed and are trying to open shared office documents from SharePoint. This problem does not come up for people with Office 2010 installed.

The error they get is: "To open this workbook, your computer must have a version of Microsoft Excel installed and your Web browser must support opening files directly from Excel in the browser."

This has only happened to people running Office 2013 on their computer. They can open the file in the browser, but as soon as they try to "Open in Excel" or Word, etc they receive that error. Also these files are opened using Internet Explorer, so that shouldn't be a problem. 

I am working on upgrading SharePoint 2010 to SP3, but am not convinced that this is all I need to do for this to work properly. Any ideas/suggestions are greatly appreciated!

Is AX 2012 Compatible with Sharepoint 2013

$
0
0

We current have Dynamics ax 2012 and use Sharepoint 2010 for the enterprise portal.

Can we upgrade our Sharepoint installation to 2013 and still host the enterprise portal on ths instance of sharepoint?

New-SpIdentityProvider Add FBA users with Powwershell

$
0
0

Hi

i´m trying to add FBA users to a sites using power shell, and i´m using:

$web = Get-SPWweb http://url

$user = New-SPUser -UserAlias (New-SpClaimsPrincipal -Identity name@example.com -IdentityType $ip ).ToEncodedString() -Web $web

where as found in get-help New-SPClaimsPrincipal

$ip = New-SPIdentityProvider -ASPNetMembershipProvider "myMembershipProvider" -ASPNetRoleProvider "myRoleProvider"

but i could not found New-SpidentityProvider on my powershell

Thanks

language pack url for sharepoint server 2013

$
0
0

hellow all ,

i need hindi language pack for sharepoint server 2013 . i searched on internet but can not find

please any one suggest the url to download. 

Thanks in Advance.


Classic mode web application in SharePoint 2013 Error occurs

$
0
0

while creating Classic web applicatiuon using powershell commands following error occure

PS C:\Users\centraluser> New-SPWebApplication -Name "SharePoint - 100" -Applicat
ionPool "SharePoint100" -AuthenticationMethod "NTLM" -ApplicationPoolAccount (Ge
t-SPManagedAccount "wse\centraluser") -Port 100 -URL "http://w8-sp13-en"
WARNING: The Windows Classic authentication method is deprecated in this
release and the default behavior of this cmdlet, which creates Windows Classic
based web application, is obsolete. It is recommended to use Claims
authentication methods. You can create a web application that uses Claims
authentication method by specifying the AuthenticationProvider parameter set in
 this cmdlet. Refer to the http://go.microsoft.com/fwlink/?LinkId=234549 site
for more information. Please note that the default behavior of this cmdlet is
expected to change in the future release to create a Claims authentication
based web application instead of a Windows Classic based web application.
log4net:ERROR XmlConfigurator: ConfigureFromXml called with null 'element' param
eter
log4net:ERROR XmlConfigurator: Failed to find configuration section 'log4net' in
 the application's .config file. Check your .config file for the <log4net> and <
configSections> elements. The configuration section should look like: <section n
ame="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /
>
New-SPWebApplication : Object reference not set to an instance of an object.
At line:1 char:1
+ New-SPWebApplication -Name "SharePoint - 100" -ApplicationPool
"SharePoint100" - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...PWebApplication:
   SPCmdletNewSPWebApplication) [New-SPWebApplication], NullReferenceExceptio
  n
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWeb
   Application

PS C:\Users\centraluser>


Sharepoint 2013 Host Named Site Collections Basics

$
0
0

Hello

I would like to update information about Host named Site Collection (HNSC) and also have a place where all the doubts can be answered. So i will check Q&A to keep this discussion up-to-date.

First of all the process to create a HNSC. After some try and fail times i found the most appropriate method to create HNSC sites is the one explained from Critical Path Training, LLC:

1st ensure you delete the standard web application created by the configuration wizard the one created on port 80. delete all web app, content database.

2nd DNS modifications:

if your web server is on test.local, please add a Host entry on this domain with name * and ip the same as your webserver. This way any request to a http://*.test.local is going to be redirected to the webserver/sharepoint.

3rd run the following script (some modifications from original please modify your values at the beginning):

# =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= # Script: SetupSharePointForHNSC.ps1 # # Author: Critical Path Training, LLC # http://www.CriticalPathTraining.com # # Description: Configures a SharePoint 2013 install for hosting Host-Named Site Collections (HNSC). # This involves creating a Web Application in SharePoint that has no host header bindings. # Using DNS, all requests are mapped to this Web Application. You then create the site collections # via PowerShell as you can't create HNSC's via the browser (Central Administration). # # Optional Parameters: # $WebApplicationName - Name of the Web application to create to host HNSC's. # DEFAULT - "SharePoint HNSC Host - 80" # $AppPoolName - Name of the app pool to create to host the HNSC Web Application. # DEFAULT - "SharePoint Default HNSC AppPool" # $ManagedAccountUsername - Username of the managed account to create for the app pool's identity. # DEFAULT - WINGTIP\SP_Content # $AdminAccountUsername - Administrator of the domain. # DEFAULT - WINGTIP\Administrator # $WfeName - SharePoint WFE name. # DEFAULT - WINGTIPALLUP # $DeleteCACreatedWebApp - Flag indicating if the default Web Application ceated by CA # should be deleted. # DEFAULT - TRUE # $CreateDefaultSiteCollections - Flag indicating if two default site collections should be created. # These are intranet.wingtip.com (team site) & dev.wingtip.com (developer site). # DEFAULT - TRUE # =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= param( [string]$WebApplicationName = "SharePoint HNSC Host - 80", [string]$AppPoolName = "SharePoint Default HNSC AppPool", [string]$ManagedAccountUsername = "MACHINE1\SP_Content", [string]$AdminAccountUsername = "MACHINE1\Administrador", [string]$WfeName = "MACHINE1", [switch]$DeleteCACreatedWebApp = $true, [switch]$CreateDefaultSiteCollections = $true ) $ErrorActionPreference = 'Stop'

#not used now $appHostDomain = "apps.test.local" Write-Host Write-Host "Configuring SharePoint Server 2013 Hosting Named Site Collection" -ForegroundColor White Write-Host " Script Steps:" -ForegroundColor White Write-Host " (0) Validating parameters..." -ForegroundColor White Write-Host " (1) Verify SharePoint PowerShell Snapin Loaded" -ForegroundColor White Write-Host " (2) Deleting default Central Administration Created Web Application" -ForegroundColor White Write-Host " (3) Verifing / Creating New App Pool Managed Account" -ForegroundColor White Write-Host " (4) Creating New Web Application to Service HNSC's" -ForegroundColor White Write-Host " (5) Creating Default Site Collections" -ForegroundColor White Write-Host # # verify parameters passed in # Write-Host "(0) Validating parameters..." -ForegroundColor White if ($WebApplicationName -eq $null -xor $WebApplicationName -eq ""){ Write-Error '$WebApplicationName is required' Exit } if ($AppPoolName -eq $null -xor $AppPoolName -eq ""){ Write-Error '$AppPoolName is required' Exit } if ($ManagedAccountUsername -eq $null -xor $ManagedAccountUsername -eq ""){ Write-Error '$ManagedAccountUsername is required' Exit } if ($WfeName -eq $null -xor $WfeName -eq ""){ Write-Error '$WfeName is required' Exit } # Load SharePoint PowerShell snapin Write-Host Write-Host "(1) Verify SharePoint PowerShell Snapin Loaded..." -ForegroundColor White $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.PowerShell'} if ($snapin -eq $null) { Write-Host " .. Loading SharePoint PowerShell Snapin" -ForegroundColor Gray Add-PSSnapin "Microsoft.SharePoint.PowerShell" } Write-Host " Microsoft SharePoint PowerShell snapin loaded" -ForegroundColor Gray Write-Host Write-Host "(2) Deleting default Central Administration Created Web Application..." -ForegroundColor White if ($DeleteCACreatedWebApp -eq $true){ Write-Host " .. searching for default Web App, created by Central Administration..." -ForegroundColor Gray $defaultWebApp = Get-SPWebApplication | Where-Object {$_.DisplayName -eq $WebApplicationName} if ($defaultWebApp -eq $null) { Write-Host " .. failed to find default Web App" -ForegroundColor Yellow Write-Host " Skipping this step" -ForegroundColor Yellow Write-Host " ACTION: you should check Central Administration to see if a default Web App is present; having two default Web Apps is going to cause problems" -ForegroundColor Yellow } else { Write-Host " Found default web app, name = " $defaultWebApp.DisplayName -ForegroundColor Gray Write-Host " .. deleting default Web App..." -ForegroundColor Gray Remove-SPWebApplication -Identity $defaultWebApp -DeleteIISSite -RemoveContentDatabases -Confirm:$false Write-Host " Default Web App deleted" -ForegroundColor Gray } } else { Write-Host " Skipping this step per parameter passed in" -ForegroundColor Gray } Write-Host Write-Host "(3) Verifing / Creating New App Pool Managed Account..." -ForegroundColor White Write-Host " .. Checking for existing managed account for user $ManagedAccountUsername..." -ForegroundColor Gray $managedAccount = Get-SPManagedAccount -Identity $ManagedAccountUsername -ErrorAction SilentlyContinue if ($managedAccount -ne $null) { Write-Host " Found existing managed account for $ManagedAccountUsername, skipping this step" -ForegroundColor Gray } else { Write-Host " .. creating new managed account for $ManagedAccountUsername..." -ForegroundColor Gray Write-Host " .. obtaining reference to $ManagedAccountUsername account that will be a managed account for apps and Web Applications..." -ForegroundColor Gray $securePassword = ConvertTo-SecureString "Password1" -AsPlainText -Force $contentAccountCredentials = New-Object System.Management.Automation.PSCredential($ManagedAccountUsername, $securePassword) Write-Host " .. creating managed account for $ManagedAccountUsername..." -ForegroundColor Gray $managedAccount = New-SPManagedAccount $managedAccountCredentials Write-Host " $ManagedAccountUsername is now a managed account in SharePoint" -ForegroundColor Gray } Write-Host Write-Host "(4) Creating New Web Application to Service HNSC's..." -ForegroundColor White Write-Host " .. obtaining Active Directory claims authentication provider..." -ForegroundColor Gray $authProvider = New-SPAuthenticationProvider Write-Host " .. creating a new web application..." -ForegroundColor Gray $hnscWebApp = New-SPWebApplication -Name $WebApplicationName -AuthenticationProvider $authProvider -ApplicationPool $AppPoolName -ApplicationPoolAccount $managedAccount -DatabaseName "WSS_Content_HNSCDefaultHost" Write-Host " New HNSC Web Application created" -ForegroundColor Gray Write-Host " .. creating default site collection at root without a template..." -ForegroundColor Gray $rootSite = New-SPSite -Name "Root HNSC Site Collection" -Url "http://machine01" -HostHeaderWebApplication $hnscWebApp -OwnerAlias $AdminAccountUsername Write-Host " Root site created" -ForegroundColor Gray Write-Host Write-Host "(5) Creating Default Site Collections..." -ForegroundColor White if ($CreateDefaultSiteCollections -eq $false) { Write-Host " .. per parameter passed in, skipping this step" -ForegroundColor Gray } else { # create default team site Write-Host " .. creating default team site..." -ForegroundColor Gray $teamSite = New-SPSite -Name "Wingtip Intranet" -Url "http://intranet.network.com" -HostHeaderWebApplication $hnscWebApp -Template "STS#0" -OwnerAlias $AdminAccountUsername Write-Host " Default team site created" -ForegroundColor Gray # create default developer site Write-Host " .. creating developer site..." -ForegroundColor Gray $developerSite = New-SPSite -Name "Wingtip Developer Site" -Url "http://dev.network.com" -HostHeaderWebApplication $hnscWebApp -Template "DEV#0" -OwnerAlias $AdminAccountUsername Write-Host " Developer site created" -ForegroundColor Gray } Write-Host Write-Host "Finished configuring SharePoint Server 2013 for HNSC! Script details are as follows:" -ForegroundColor Green Write-Host Write-Host "=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" -ForegroundColor White Write-Host "Root Site Collection Details" -ForegroundColor White Write-Host "Site URL: " $rootSite.Url -ForegroundColor White if ($CreateDefaultSiteCollections -eq $true) { Write-Host Write-Host "Default Team Site Collection Details" -ForegroundColor White Write-Host "Site Title: " $teamSite.RootWeb.Title -ForegroundColor White Write-Host "Site URL: " $teamSite.Url -ForegroundColor White Write-Host Write-Host "Developer Site Collection Details" -ForegroundColor White Write-Host "Site Title: " $developerSite.RootWeb.Title -ForegroundColor White Write-Host "Site URL: " $developerSite.Url -ForegroundColor White } Write-Host "=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=" -ForegroundColor White Write-Host

Now you have one WEB Application where you can host multiple (up to 200.000) site collections, and one database content where all your site collection is stored. The system (as Trevor below says) create a partition in the Web APP database using a Subscription ID field for this purpose.


Well once you have your Web APP and you site collections it's time to add the URL Zones to this Site collections and adjust your DNS zones.

Lets say that our SharePoint Web/App server is on a private network and we have a NAT server that exposes a 90.90.90.90 IP (dev.network.com) to our private machine 10.10.10.10 (machine1) and want to use http://dev to reach the http://dev.network.com site collection created before

We use the following Shell command to create an alternate URl on the intranet zone:

$site = Get-SPSite "http://dev.network.com" (this url is on the default zone because was the one we use to create the collection

Set-SPSiteURL -Identity $site -Url http://dev -Zone 1 (0 for default, 1- for intranet, 2- etc)

And now lets introduce the ip resoluction for dev. We have two options in the hosts file or in the internal DNS of our site.


Now the questions and things to consider (please help)

why if i open a chrome/IE/Safari/firefox in the same machine with http://dev the applications as again and again for credentials? where is the mistake?

Thanks





Upgrade Path

$
0
0
Is it possible to upgrade Sharepoint Services 3.0 directly to Sharepoint Foundation 2013?  Or, do I have to upgrade to Sharepoint Foundation 2010 to upgrade to Foundation 2013?

Accessing Sharepoint 2013 across two domains (domain trust)

$
0
0

I have just installed SharePoint 2013 in our domain.  I have two web servers sat on windows 2012 and a backend SQL 2008 r2 database.  We have a 2 way domain trust set up and I want people in both domains to be able to access sharepoint but I can't seem to configure it so.

However if for example I go to the C drive on my web server and view the properties of a folder and under security I try and add a user in for domain B I can so it does lead me to beleive that this is a sharepoint issue but how do I configure it so I can see that second domain?

We also have in place a sharepoint 2010 pilot environment and that can see users from domain b so maybe i'm missing something in my 2013 environment or Microsfot have changed something.

any advice would be much appreicated.

PerformancePoint Dashboard Designer Bug

$
0
0

When I create a PerformancePoint report using PP Dashboard Designer and click preview, I get an error.  The error says my rdl cannot be found.

In Designer the report URL is: http://webapp.mysite.com/mysite/report.rdl

In the error I have http://webapp.mysite.com/mysite/mysite/report.rdl

for some reason it is duplicating the site name in the rdl path.  Does anyone know what is causing this or how to prevent it?

Thanks,

Vincent


Vincent

Configured education services in SP 2013

$
0
0
Can any one configured education services in SP 2013? i can't find any documentation on msdn.

Error Operation is not valid due to current state of object while creating a new web application Sharepoint 2013

$
0
0
I am getting error "Operation is not valid due to current state of object" while i try creating new application through central admin. I am logged in as administrator.

On tracking correlation ID in Sharepoint Log file, I found 


Application error when access /_admin/extendvs.aspx, Error=Operation is not valid due to the current state of the object.   at Microsoft.SharePoint.Administration.SPProvisioningAssistant.DoAdditionalWssWebApplicationProvisioning(SPIisSettings[] settingsCollection, Boolean adminSite)     at Microsoft.SharePoint.Administration.SPWebApplication.ProvisionIisWebSitesAsAdministrator()     at Microsoft.SharePoint.Administration.SPWebApplication.ProvisionIisWebSites()     at Microsoft.SharePoint.Administration.SPWebApplication.Provision()    at Microsoft.SharePoint.ApplicationPages.ExtendVirtualServerPage.BtnSubmit_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Not able to create User Profile Connections in SharePoint 2013

$
0
0

Hi,

After installing SharePoint 2013 successfully , we created User Profile Service Application i.e. User profile Service & User profile Synchronization Service are running. Also , FIM service is running. The issue is : "While creating a new connection by clicking in User Profile synchronization Connections ,able to populate the AD connections (Populate containers) but after clicking on OK , getting anerror - Thread is Aborted". No error is logged in SharePoint ULS and in Event Viewer.

Any help would be highly appreciated !!!

Regards,

Vipul Jain


OWA 2010 when I clicked the "Options", it logged off automatically

$
0
0

Hello All!

Recently I migrated our exchange server from 2003 to 2010, it works well. But when I use OWA to log in, in the control panel, when I clicked the "Options"button, it showed "change password","Create rule"..., when I choose each one of the above actions, the OWA logged off itself, and in the loggin page, whatever user name or PWD I inputted, it did not allow me to login the OWA again.

any suggestions? Thank you very much.

What are my options for server side anti virus software on the SharePoint 2013 farm

$
0
0

Seems Forefront is only going to continue for Cloud hosted farms.  Does anybody have details of third partys who have a SharePoint 2013 on-prem compatible product now or in the pipeline.

Many thanks.


Brian T

Office Web Apps 2013 key not found error

$
0
0

I am getting an odd error after I install OWA - the test page works fine, but when I hit the default page to view the pages in browser I am getting the following error -


Server Error in '/op' Application.



The given key was not present in the dictionary.

Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.

Exception Details:
System.Collections.Generic.KeyNotFoundException: The given key was not
present in the dictionary.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:
[KeyNotFoundException: The given key was not present in the dictionary.]
   Microsoft.Office.Web.Apps.Environment.WacServer.AFarmTopology.GetMachine(String machineName) +111
   Microsoft.Office.Web.Apps.Environment.WacServer.WSServiceInstanceFinderAdapter..ctor() +364

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
   Microsoft.Office.Web.Common.EnvironmentAdapters.HostEnvironment.LoadAdapterInstance(AdapterLoadInformation adapterInfo, Boolean readAppConfigOnly) +154
   Microsoft.Office.Web.Common.EnvironmentAdapters.<>c__DisplayClass16.<BuildInstance>b__15() +168
   System.Lazy`1.CreateValue() +14389240
   System.Lazy`1.LazyInitValue() +91
   Microsoft.Office.Web.Common.ServiceInstanceFinder.RefreshList(Object state) +279

[OfficeServiceException: ServiceInstanceFinderAdapter did not return data on first request]
   Microsoft.Office.Web.Common.ServiceInstanceFinder.RefreshList(Object state) +1330
   Microsoft.Office.Web.Common.ServiceInstanceFinder..cctor() +282

[TypeInitializationException: The type initializer for 'Microsoft.Office.Web.Common.ServiceInstanceFinder' threw an exception.]
   Microsoft.Office.Web.Common.HttpHelper.AppendOfficeHeaders(HttpContext context) +37
   Microsoft.Office.Web.OpenFromUrl.OpenFromUrlHttpModule.BeginRequest(Object source, EventArgs e) +698
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

Installed Sharepoint 2013 Foundation on WIndow 2010 server -- Issues activating sandbox solutions

$
0
0

I have several Sharepoint 2010 Foundation solutions(wsps).   They activate withou issues in Office/365 sites that have been upgraded to Sharepoint 2013 (although I am told its not exactly Sharepoint 2013 but close).   However on a new Sharepoint 2013 Foundation site I installed on a Windows Server 2012 server I can not activate these solutions (although there are other simpler wsp that I could activate).

The activation error is Sorry Something went wrong. unknown exception in sandbox worker process.  Here is the ULS log trace

-  - An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0 - userCodeWrapperType.FullName = "Microsoft.SharePoint.UserCode.SPUserCodeFeatureCallOutWrapper", userAssemblyGroup = ".UserCodeAssemblyGroupId = ", GroupId = "5CC4316D56C049059A2B3F8A2DF77937-64H18khiUct086o7UWw5NISbr1upFDAyV9bSukL+QXk="", .RootDirectoryPath = "C:\ProgramData\Microsoft\SharePoint\UCCache\8CF9F53D8AAFD55\5CC4316D56C049059A2B3F8A2DF77937%2D64H18khiUct086o7UWw5NISbr1upFDAyV9bSukL%2BQXk%3D-2"", siteCollectionId = a09390a5-6ab3-42f7-bd76-b927f57c838a - Inner Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException: An attempt to connect to the remote activator failed with exception 'System.Runtime.Remoting.RemotingException: Cannot resolve 'channel' template reference: 'http client'.   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ReportUnableToResolveTemplateReferenceError(ConfigNode node, String referenceName, RemotingXmlConfigFileData configData)   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsChannelNode(ConfigNode node, RemotingXmlConfigFileData configData, Boolean isTemplate)   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsNode(ConfigNode node, RemotingXmlConfigFileData configData)   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessApplicationNode(ConfigNode node, RemotingXmlConfigFileData configData)   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigNode(ConfigNode rootNode)   
 at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseDefaultConfiguration()   
 at System.Runtime.Remoting.RemotingConfigHandler.LoadMachineConfigIfNecessary()   
 at System.Runtime.Remoting.RemotingConfigHandler.FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI)   
 at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink& chnlSink)   
 at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)   
 at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)'.   
 at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)   
 at System.Runtime.Remoting.Activation.LocalActivator.Activate(IConstructionCallMessage ctorMsg)   
 at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)   
 at System.Runtime.Remoting.Activation.ActivationServices.Activate(RemotingProxy remProxy, IConstructionCallMessage ctorMsg)   
 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)   
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   
 at Microsoft.SharePoint.SPSite_SubsetProxy..ctor()     -
 -- End of inner exception stack trace ---    Server stack trace:    
 at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)   
 at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)   
 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)   
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)   
 at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)   
 at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)   
 at System.Activator.CreateInstance(Type type, Object[] args, Object[] activationAttributes)   
 at Microsoft.SharePoint.SPSite.__CreateInstance_SPSite(Boolean forStaticMethod, Object[] constructorParameters)   
 at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken__Inner(Byte[] userCodeToken)   
 at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken(Byte[] userCodeToken)   
 at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.SetBinaryTokens(Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)   
 at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)   
 at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)   
 at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)   
 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteInternal(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)   
 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxy.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)   
 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)   
 at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)    Exception rethrown
 at [0]:    
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   
 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult result)   
 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext executionContext)


Earllibby

RBS with SharePoint 2013 and SQL 2012 Almost Working

$
0
0

I am deploying a new Windows Server 2012 box with SharePoint Foundation 2013 and SQL Server 2012 Express.  I would like to get RBS working.  I have succesfully done this in the past with SPS 2010 and SQL 2008 but the 2013 / 2012 mix is giving me a bit of trouble.  Here is what has been done so far, all of these steps have worked.

- Ran SQL queryies to provision the filestream

- Installed the rbs.msi via the command prompt with correct instance name and database name

- Used power shell to enable RBS for my content database

This is a single server, single database setup.  When I execute the PowerShell command $rbss I do not get any errors, output says that rbs is enabled and the provder name is my new filtestream.  I can still upload documents to SharePoint.  However, none of the documents actually go to my d:\blobstore folder location that was provisioned in my sql queries.  I have not adjusted the default file size for rbs.  The instructions I followed were from here:http://technet.microsoft.com/en-us/library/ee748631.aspx

Please let me know where I can start to look to resolve this issue, any input is helpful.  Thank you.



Viewing all 1179 articles
Browse latest View live


Latest Images