Let’s say you are trying to delete a content type for some reason or another, and you get a message that you can’t delete it because the content type is in use. Let’s also say that you went the extra step and deleted all lists using that content type and you STILL get the message…..What’s […]
If you are working in SharePoint Management Shell and you get this error message, it probably has more to it, like: “Verify that the local farm is properly configured….” Have no fear, it’s a simple solution that will get you back so that you can add your solution, etc.
If you ever come across the error “the folder name is not valid” when trying to open a known good site in SharePoint Designer 2010, the answer/fix may be simpler than you think. At least it was for me
When you’re working with creating and checking cookies, you need to delete the cookies during your testing process. It’s not easily evident where to find the cookies on a Win 7 computer.
Instead of doing each of the steps mentioned above, one by one – Just go to Site Actions/Manage Content and Structure Go to the library where your file is and, using the down arrow beside the file name, just choose and click ‘Publish’. Your done – no check-in/no Approval.
If you have tried to set the width of a control (like a table) in code, you probably have received an error since it’s expecting an integer/unit. However, it’s very possible to set the width as a percentage, and probably a little easier than you would think.
If you can’t find ‘Term Store Management’ under the Site Administration section in Site Settings, there’s a very simple PowerShell fix for this due to the fact that a feature has not been enabled on the box.
Sometimes, you do so many other things, you can come up with a total blank and forget how to do some of the simpler things you learned in the beginnings of your SharePoint developer life. I recently drew a complete blank on how to add an existing list to another page, so I thought that […]
To be able to grab the current user in SharePoint, you would use: SPContext.Current.Web.CurrentUser So, in order to assign it to a variable in your code, you would do something similar to this: VB.Net: Dim sME As String = SPContext.Current.Web.CurrentUser.ToString C#: string sME = SPContext.Current.Web.CurrentUser.ToString;
If you have just created an ASPX document, with inline code, and you get this error from running it, all you need to do is to go to your web.config file, and in the SharePoint/SafeMode/PageParserPaths section, add an entry for your page, including the path: <PageParserPaths> <PageParserPath VirtualPath=”/YourPath/YourPage.aspx” CompilationMode=”Always” AllowServerSideScript=”true” /> </PageParserPaths>
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF