Tag Info

Hot answers tagged

5

Under the website properties in IIS, GOTO > Traffic > Filtering and disable Verify Normalisation. This setting is preventing your site from displaying pages with escaped characters in the URLs. [update] In later versions of IIS it is in the general tab of the website properties, and not under Traffic.


4

You only see the last error because Set-Content overwrites the existing content, use Add-Content instead. If you want to have a more encompassing approach, like Robert suggested, there's a more PowerShell'y (?) way of doing this with Start/Stop-Transcript which takes all console output between the Start & Stop cmdlet calls and outputs it to a file.


4

When I've ran C# within PowerShell, I've done the assembly bit differently (I'm in O365, so only use CSOM): $path = "path to folder containing dll's (e.g.,ISAPI folder in 15 Hive)" $assemblies = @( "$path\Microsoft.SharePoint.Client.dll", "$path\Microsoft.SharePoint.Client.Runtime.dll" "System.Core" ) $cSharp = @" using System; using ...


3

It's an easy fix, at least this worked for me. Steps: Double click package in Visual Studio Go to Advanced tab Change the product version to 14.0 and you are good to go


3

Try adding Both Delegate controls and it should resolve your problem.


3

I think you have a mistake in code. Your string.Format returns only <where> Try code below query.Query = string.Format(string.Concat( "<Where>", "<Or>", "<Eq>", ...


3

This forum article helped me but I have to substitute for the missing "C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server" - C:\Program Files\Windows SharePoint Services\15.0\Data\Analytics_{some guid} Hi All, Recently an issue was reported to me where some of my site admins were facing an issue in setting up a SharePoint 2013 stand ...


3

This is because you are passing the full url instead of relative url Replace http://dev-env/sites/site/subsite/ With subsite i.e elevatedWeb.Webs.Add(title, title, strDescription, nLCID, WebTemplate, uniquePerms, bConvertIfThere);


2

I had the same problem and found this very simple solution which worked for me. http://social.technet.microsoft.com/Forums/sharepoint/en-US/4cadb1a7-d933-4b35-b115-2b5e2bb1d504/cannot-complete-this-action-the-url-pageshomeaspx-is-invalid-it-may-refer-to-a-nonexistent?forum=sharepointgeneralprevious The above link offers more detail, but simply put, this is ...


2

Have you check your user permissions? If yes then there should be some reasons in your central administration site. There should be the miss configuration of the apps. You could try to configure app in DNS server.


2

I found the answer on this blog: http://tech-karma.blogspot.be/2013/05/sharepoint-2013-online-app-403-response.html I changed the code so it doesn't download the file to disk but puts it in a MemoryStream public void PutInStream(ClientContext context, string fileNameInDocumentLib, Guid listID) { //Find the file by name ...


2

I solved this problem editing this file: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\web.config


2

If you pause the workflow, it gets picked up again the next time the workflow timer job runs. So even if you set it for a fraction of a second, it is effectively paused until the next time the timer job is set to run. The default configuration is 5 minutes I believe and it can be altered via powershell to reduce the time to a minute.


2

You mention that the form is stored in http://sharepoint/travel, but the error mentions the form residing in http://sharepoint/services. It could be that /travel and or /services are (in) different site collections using explicit managed paths. Get a listing of all Site Collections in that Web Application and see if this is the case.


2

Because there is no resources file specified in the call to the some resource key in your web part, SharePoint will look in the default places where you can place your resources files in the following order (given that your language is US-English). You must check all resources strings in your web part also ULS should have some string like "Localized ...


2

You may need to set "Update links on save" to false prior to adding your hyperlinks to the Excel spreadsheet. In Excel 2010: - uncheck "Update links on save" in Options > General > Web Options > Files tab In Excel 2013: - uncheck "Update links on save" in Options > Advanced > Web Options (under "General") > Files tab After changing the Excel setting, ...


2

Are you sure it was a subsite and not the main web site of the Site collection? You can use Central Administration to check your Site Collection -> Application Management -> Site Collections -> View all site collections and maybe you will find some answers there. And you can also try an iisreset. Please let me know how it goes.


2

For the sharepoint groups you getting 401, try below. Navigate to the sharepoint group settings page and set the property " Who can view the membership of the group?" to "Everyone".


2

Looking at your error that it's reporting: Go to the project: MyWebPart Go to the class: VisualWebPart1UserControl within that class you have a control that is called: FillFilterBoxes It is that control that is throwing the null value exception! The error clearly states 'Value cannot be null' so the default value needs not be null. What ...


1

Sorry. I corrected My Try catch Block and its seems To be Working Fine if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell } $destination = "C:\\Test\\" $web = Get-SPWeb -Identity "http://xyz:4444/" $list = $web.GetList("http://xyx:4444/Shared Documents/") function ProcessFolder { ...


1

There is a lot that can be wrong (particularly when you inherit a farm like this...) Have a look at the Alternate Access Mapping for the Web Applications in question. Are they in the same Zone? Also, looking at the URL it appears that the URL to Forms Server "vshoprspfe" is the part that is tripping up InfoPath. When you Published the form did you use ...


1

Might be a long shot but doesn't take more that a minute to try: If you have the form template (.xsn) that was created by designer you can save it as the source files (in designer 2010 it's in the publish options). Look at the manifest file in notepad and see if you can find a reference to the bad location. If found, change to the correct location and then ...


1

We ran the SharePoint 2013 Configuration Wizard and the central admin as well as the other sites are opening and working well.


1

The email address is not part of the person field. You will need to use a data connection to GetUserProfileByName to get the email address. Clayton Cobb wrote the ultimate tutorial here: http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/ No idea. A screenshot would be helpful. What is the exact formula that you used to create a unique ...


1

You could use Write-Output "Logging text" in your catches and then when you run the script you can run it as MyFancyScriptName.ps1 > C:\file.log


1

What @luckydeveloper answered is a solution but it is better you upgrade your solutions to SP2013 version aswell. You must make the package product version to 15.0. You are getting the error because your user controls .cs file has a CONTROLTEMPLATES which you have to convert to CONTROLTEMPLATES/15/. Check my thread on How to upgrade a SharePoint 2010 ...


1

I've came back to this problem after a while. No, I can not access any information on the other list. My setup is simple for test purposes. I have List1 and List2. List2 has only Title column (straight out of the box). List1 has Title, Lookup column and UserAndGroup column. All I do in the WF is try to log a message to Workflow history list containing the ...


1

Nevermind! An hour later it resolved itself. I don't know how, but it did.


1

Did a complete re-installation with the following power shell script to Configure the App Domain: net start spadminv4 net start sptimerv4 Set-SPAppDomain "<app domain name>" Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance ...


1

It must be caused by wepbarts in the page. Please check are there any incorrect webpart. You can check with ?contents=1 querystring. Like this: http://yourserver/yourpage.aspx?contents=1 If it existed incorrect webpart, just delete it.



Only top voted, non community-wiki answers of a minimum length are eligible