Tag Info

Hot answers tagged

6

SPContentDatabase.ForceDeleteSite http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.forcedeletesite.aspx use this method to force a delete: SPWebApplication spWebApplication = SPWebApplication.Lookup(new Uri("http://mywebapplication")); // insert the webapplication ...


5

Based on your question, there are two areas to address: How to help your particular problem How to handle workflow errors in general with SPD For your particular problem: I see something that may improve your process based on your description. You mention your general workflow as the following steps: item changes workflow reads fields workflow does ...


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.


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

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


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

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

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

Default.aspx is a Site Page and inline C# or VB code is not allowed in Site Pages. So you need to replace the code block (i.e. <%= backUrl.ClientID %>) with the literal id of the element.


2

There are a couple of ways you can do this from the event receiver. The nice thing about an an event receiver is that you can get the instance of the list that the receiver is working on and from there easily access the Items Collection. From there you can iterate through the list and perform a check by item. There are plenty of tutorials to show you how ...


2

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 ...


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

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

as you are installing as standalone, service running under Network Service account in workgroup environment is not supported. check these two blogs and fix the issue. http://kancharla-sharepoint.blogspot.com/2012/07/service-running-under-network-service.html http://kancharla-sharepoint.blogspot.com/2012/07/the-sddl-string-contains-invalid-sid-or.html


1

The correlation id is unique to your request/operation to your SharePoint farm this will always be unique, so googling for it will never give anything usefull. Read Get the Real SharePoint Error using the ULS Logs for how to get the real error message


1

I can't test this, but this and you didn't include your errored statement so I can only give you the tools to solve your problem. For reference, here is the documentation on the IF Function in SharePoint: http://office.microsoft.com/en-au/windows-sharepoint-services-help/if-function-HA001161010.aspx In case that link ever dies in the future, here's the ...


1

I am unable to find the exact reason for the error: However pls go through the following points: 1) How to update a Readonly field. First set Readonly to false and update the field and then revert it back as: Field.ReadOnlyField = false; Field.Update(); 2) Updating the Lookupfield: new SPFieldLookupValue(1, "ASP.Net");


1

Plese check if security token service and its app pool are in good condition. then restart iis


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

The status code says Bad Request, so the server wouldn't even start processing it. Most likely this is related to bloated or corrupted cookies. Try clearing browser cookies.


1

You cannot edit and should NEVER try to edit the standard master page file, what you wanna do is to make a copy of the standard masterpage and do your edits there.


1

This particular resource string isn't one of the strings externalized in the RESX files in the 15 HIVE. The only way to really change it would be to create a custom form in InfoPath or in Visual Studio.


1

you need to debug item["Category"].ToString(); and find out what is the value? "Value Does not fall within the expected Range" that denotes the casting is wrong or your looking at index 2 when there is only index o and 1. so how are you getting the value? string val = em["Category"].ToString(); but....what I belive is that your code is fine and ...


1

how about setting up the host, your getting 404 beacuse you dont have access, the mysite is setup and exists, you just need it as a trusted site: http://www.sharepoint2013.me/Blog/Post/274/Configure-My-Site-trusted-host-locations-in-SharePoint My Site host site collection The My Site host site collection is a special site collection that displays ...


1

make sure your getting the list from the correct site ;) based from the error you have given the webpart is trying to get a list from a specific site but it cannot find it! Unable to get a cached list with id '68d0fae2-7c96-41be-b1b3-1ce1211471af' from web '/[site]/[subsite]' 3c7d54dd-9f73-4022-bc0d-ca049c3fd2fe to explain what might be going ...



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