Tag Info

Hot answers tagged

6

Every change you make in that config files have no effect on the web application. You have to go the web.config file that is generated once the web application is created. So edit the web.config file in C:\inetpub\wwwroot\wss\VirtualDirectories\your port number and modify the parameters you have indicated in that web.config file: customErrors mode must ...


4

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


4

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


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

Since you are trying to update item on ItemUpdated event you will get this error because another Update event was already in progress so you need to turn off EventFiring before calling SystemUpdate(). Example: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPWeb web = properties.OpenWeb()) { var list = ...


3

Uninstall windows update KB2844286. Over the weekend I had to do this to two servers (much to my annoyance) but it did fix this problem. A server reboot was required. http://social.technet.microsoft.com/Forums/sharepoint/en-US/cc9a557b-93cd-40d5-965c-e0a2f107624d/unable-to-display-this-web-part-error-message-after-patch-kb2844286


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

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

I have recently just come across the same problem. when it will upload every file except executable files once i had allowed them on the Sharepoint server. After checking and ensuring both Config files and max file size settings on the server are correct to accept the executable. This can be done by following the link directly below. ...


2

The user you are running Visual Studio with should at least have read permissions on pages of the SharePoint web where you are trying to deploy your app. (Easiest would be to add the user to the visitors or members group like described here: ...


2

Go to your hive folder: Then into Template\1033\workflow and find WSS.ACTIONS Inside there will be a reference to a custom DLL, find it and remove it and your designer should start working again. Make sure you take a backup of the file first. Happy hunting.


2

I found the solution.. This is what I did - Navigate to Document Library -> Library Settings -> Advanced Settings -> and changed the 'Default open behavior for browser-enabled documents:' to 'Open in the client application'. and Excel sheets worked smooth :)! I tried the same issue on another server without enabling the excel services and all the other ...


2

When your provider hosted app is ready for Testing/Production then it's time to deploy the ASP.NET part like any other ASP.NET web application. A good starting point for learning this is ASP.NET/Web Forms/Overview/Chapter 10. Deployment. When the ASP.NET part is deployed then you should change the StartPage in the AppManifest.xml to point to the new ...


2

Masterpages and pagelayout can only be deployed to SiteCollections, not sites/subsites. So your feature needs to be Site scoped. You can always in your FeatureReceiver set the masterpage on a specific SPWeb. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module ...


2

I don't know the solution but, have you tried to set feature scope to web, use default module definition and activation of this module on the Suche subsite? <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="MasterPageModule" Url="_catalogs/masterpage"> <File Url="MasterPage.master" Type="GhostableInLibrary" ...


2

In the first code snippet you have doubled the ' around getElementById. In the second code snippet you have forgotten the html: in front of getElementById Edit after James comment: If you are not using minimal download strategy, you do not have to use SOD.


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

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


1

Migrating directly from MOSS to 2013 is not a supported upgrade path. I would first upgrade the solution to 2010 before 2013 to follow Microsoft's upgrade path Here is a guide for this scenario from Technet, outlining the steps neccessary


1

Download and install SharePoint designer as if it was never on your computer. This should replace any missing files from the original install. Then uninstall it. http://www.microsoft.com/en-us/download/details.aspx?id=16573


1

When you publish the provider hosted app at that time you will have app file as well as web application project. you have to publish your web application and have to pass the URL of the web application to the app manifest file and after that put your app file to the appcatalog of your site and use the app.


1

You could replace error pages for WebApplication scope. To replace custom error page you will need: Create application page for custom page (for ex. error.aspx) and place it to the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\ directory (for english locale) Then if you prefer powershell run this script to ...


1

I have the same error. I noticed that the error occurs when the username has "." like in your screenshot. To be safe, you need to get the encoded claim value for the user and pass that into the EnsureUser method. Look these articles: First; Second. Or you can just add i:0#.f|myprovider| to the username so it looks like i:0#.f|myprovider|myuser and pass ...


1

I regularly have the same issue. There's a proposed solution by using SharePoint Designer to recreate the xslt of the Composed Looks list: http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/16461c60-4831-44bd-af11-1f6d99e44ab6 But I may have an easier solution: When you are saving the site template, just make sure that the "include ...


1

Please add your feature manifest to the question. You find it by double clicking your feature and at the top select "Manifest". From your warnings it seems like the feature manifest is corrupt. An easy fix should be to recreate the feature and readd your project items to it. Also there is a warning about using different version of an assembly. Make sure ...


1

Can you try out claims/kerberos? Neither classic/ntlm nor claims/ntlm supports delegation. Potentially this is causing the access denied. Also check out this post: Is Classic/NTLM based authentication a security riskfor Internet facing sites?


1

There is no issue in using 32 bit SPD on some machines and 64 bit on others. But my general recommendation would be to always use 32 bit, unless you have a very good reason to ruin your machine by installing 64 bit. The only reason to use Office 64 bit is if you're working with HUGE documents (usually excel or access) which are to big to load in the 32 bit ...


1

After much debugging, found that I had assigned credentials outside this code block. For some reason, it did not throw an error for invalid credentials, even though it was trying to execute a query without the valid username and password. Throwing a null reference exception threw me off. Here's the code if it helps anybody: myCred.UserName = ...


1

You can write a List Item Receiver (Synchronous). More specific "Item Adding" event receiver, where you can get the current file name & check it against the existing items & show a message. UPDATE: public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); if ...



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