New answers tagged

1

Please verify following things Current logged in user is in Administrator group of SharePoint server. Please try once Recycling IIS by IISRESET it worked for me in past And please refer this link it may help you Error occurred in deployment step 'Recycle IIS Application Pool'


0

Click on the project name in solution explorer and press F4 key, It will open project property. Go to site Url property and then erase old property and write your office 365 base url like https://xyz.sharepoint.com press tab and save solution, it will open new authentication window. Enter credentials and click on log in.


0

It is a filesystem issue, unselect the file in Explorer View, that's what blocking any 3rd party application from editting it. Explorer has locked the file for its own Explorer purposes. Best is set a Drive mapping to you SharePoint folder and use that in VS and close Windows Explorer. ...


0

Okay so eventually I found a way for performing this check given a principal id and the very limited activities provided in the Visual Studio workflow designer. Basically you have to set a boolean value to False in Variables to act as a flag for the principal id being a user (I called it isUser). You then need to create a sequence within a TryCatch which ...


0

The "canceled" status isn't related to "ystem Account vs WF". I would recommend you to check sharepoint logs... there you will be able to check the detailed error message. Without log messages is difficult to imagine what is happening. EDIT: The default log path: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS If you have more ...


0

OK, found the problem. I was making some test with a module and a feature in development environment. I was changing the url where the file of the module were dployed. When I open SharePoint Manager 2010, I found the some file in diferentes places. I delete all missing files. Then worked perfectly.


1

I found the solution to my problem. I changed my code to use the ListItemCollection instaed of FileCollection and used a CAML query to filter. Also, since I still need the File object (for the server relative Url), I loaded it in the context: public IEnumerable<ListItem> FindBy(string fileName, ClientContext clientContext) { var documentLibrary = ...


1

You can use Visual Studio 2012, 2013 or 2015 (including Community Edition) to develop against any SKU of SharePoint 2013. The discussion that follows is a bit of an over-simplification but I think it answers the question. For the most part, customizations with SharePoint Designer effect one place or thing. For example, if I add a content type to a site, it ...


1

You're missing semi-colons. Also, why are are you calling location.reload twice? $(document).ready(function () { $('#btnViewReport').click(function () { location.reload(true); }); });


1

SharePoint Designer workflows have a limited amount of actions you can take. Visual studio allows you to define your own logic, and to create state workflows in addition to sequential workflows. You can also write event receivers which detect when an action has been taken and runs code at that time. For example, when you delete an item, there's no way to do ...


1

Inspired by Arsalan Adam Khatri's answer I found a solution: 1) First create a page to handle the redirection: LayoutPageRedirect.aspx <html> <head> <META http-equiv="refresh" content="0;URL=./_layouts/folder/HomePageCustom.aspx"> </head> </html> 2) Then create a module to deploy this file <?xml version="1.0" ...


1

You can create a delegate control that would check if the current page is welcome page of the site. If Yes, then it would redirect to your application page using C# Response.Redirect(SPContext.Current.Web.Url + "/_layouts/YourApplicationPage.aspx"); JavaScript window.location.href = _spPageContextInfo.webAbsoluteUrl + ...


2

You cannot set Application pages as Welcome Page, only Site pages located either at the root web or from a Pages library. But you can use a Redirect Page or redirection from your home page to layouts page. Please refer to Possible to have the default landing page of my Sharepoint Site be an applicaiton page? How to Set an Application Page as a default ...


2

Blob cache has nothing to do with this. It caches files from database on frontend servers. Your Silverlight application is already on the disk and would not benefit from caching. If you've removed the file form _layouts folder, but you can still see the Silverlight app, it's probably cached by the browser. Browsers tend to be quite persistent when it comes ...


0

Did you "clean" your silverlight applet? right click on it, properties and delete all (not sure it's the right path). then after that, purge cache in IE and reload the page.


0

You probably will not see any difference. But if you need to update your solutions, or add something new... you will see that some advanced features (Like test automation stuff, as said by klewgenius) will be missing. ANyway, for basic sharepoint development, considering webparts, event receivers, even workflows... you will see no changes. Specially ...


1

Microsoft Fakes doesn't work on VS Professional. Consider that if you are doing Unit Testing and using SPEmulators you will need to use VS Ultimate/Premium.



Top 50 recent answers are included