I have been working on a SharePoint 2010 solution on a server using Visual Studio. Unfortunately the server decided to die on me. Fortunately I have the solution backed up using source control and had another server ready to go. After changing the necessary site url property on the project in visual studio, I used the deploy option in the build menu and it seemed everything was successful.
However, none of the features show in the site collection features, site features or farm features. The folders and files exist in the features under the 14 hive and the assembly is in the gac.
Having no luck with this I tried packaging the wsp, uploading and activating it manually (something ive not done before). This throws up an immediate error with a correlation id allowing me to find something in the logs.
Some of the logs seemed to be complaining because of farm-scoped features. As I have never done a manual deploy before I dont know if I have to do the differently scoped features separately (visual studio used to do it all at the same time for me).
The only other error I can see is "Missing one or more of the following attributes from the root node in solution Bistech___Provision_Sites.wsp: assembly '', type ''"
The solution is not a sandboxed solution and I have all the permissions etc i need (farm admin, site collection admin...)
I hope someone can help because I am out of my depth on this one!!
I had created two SP List.One for storing questions and one for storing answers(which option answered).I was able to store the option which answered by a user.But I want to create a graohical result based on the ansewrs(which option answered).When I click on a link buttn it shows the graphical result.Can u tell me the code for this?
I want to create polls.I had created two SP list.One for storing question and options one for storing ans(which option had answered).I was able to store the result into the List.How can I create the grpahical result based on the giving answers? when ever I click on a link button Show Results ,it should show the graphical result
In MOOS 2007 aspx pages works only on detach from page layout otherwise it's throws error:"The file or folder name contains characters that are not permitted. Please use a different name." And if i click any Existing pages from the Web Application Sub Sites that also will throw the above error.
I have a problem that I'm really stuck with for sometime here.
I have setup a Team site with some document management stuff but its just not possible to access it from the intranet, whenever I do that I get the login dialog. Enter the username/password and it asks again and after the 3rd time, the dialog goes away with only a blank (white) screen in the browser.
Hello all. I have a SharePoint 2010 site collection, which has several sites (each in turn containing several sub-sites). I have a requirement to create a WebPart that displays an URL to the last modified document on the entire site collection.
My initial approach is to create a timer (SPJobDefinition) that iterates through the entire site collection, open each list, extracting the last modified document and compare it with the next list, and so on. Then, once I have the URL, store such URL somewhere (a property bag or a record on a list).
However, this seems too much work for this task. I was wondering if there is an easier way to accomplish this, or if someone has done so before, to give me hints on a better approach.
Thanks in advance. Any suggestion will be really appreciated.
Well, it's for planing Sharepoint solutions. I made up my mind about this topic. But I like to know what do you think about.
First point: In a workshop I was told by a guy who set up sharepoint solutions for some big companies (for the guys in US: small companies, just about 3000 to 5000 workstations) that I should set up more collections. Sharepoint was designed for having thousands of websitecollections for each application, he said.
Second point: In a book written by a so called guru I read that everything should go into websites and only if there is a strong separation there should be a new websitecollection.
I tried to figure out who's right. Well, as I know only websitecollections can be backedup on their own but there is more administrative effort. Websitecollections can be placed on different databases and - as the SQL Server isn't able to handle one database on multiple servers - the only way to seperate them on different servers. Big databases get really slow (in case of the SQL Server) and because of multimedia documents the propagandizes maximum of 200 GB is a problem anyway.
So, what do you think? Should I set up collections for every department and for special applications? I think so, but I don't know if I'm right.
Hope you can tell your sentiments to this questions.
I have built a visual web part and was wanting to use the jquery ui dialog control to display messages to the user. I was calling these dialogs from my vb.net code, which I have done before in regular aspx pages but never in a visual web part or user control.
The issue I was running into was that when the dialog was called it only shows up for a second and then disappears. This is usually when the rest of the page is rendering. What could I be doing wrong?
I have a custom menu control that's content is read from the physical path of an XML file. What I need to do is first write the xml to this physical location path then load the menu's XmlPath(Menu1.XmlPath = @"C:\temp\MenuData.xml"). How can I do this in a WebPart?
add this xml into the layouts mapped folder and then in your web part read the xml. It will solve the permission issues on reading the physical file from some other folder and easy to package and distribute across your multiple wfe servers.
We really need to get you into thinking in terms of document libraries instead of touching the 14 hive. This is what you will also do with your images, Silverlight web parts, and much more. Document libraries are more than just ftp over http. They are file storage for applications as well. Here is a code sample blog for reading xml into a web part. http://www.jdxyw.com/?p=631[^]
Great example for reading a library document but what I need to do is open my template menu.xml file, then modify the xml with the new menu data, then write it back to the source (library document), then finally set it as the source for my custom menu control contextMenu.xmlPath = "libraryFile.xml". Is this possible or am I missing something. I am new to SP and still a little lost.
I am up against a couple of deadlines for grad school and work at the same time. Here is what I can tell you fast. What you want is possible. I would setup the coding research tasks as follows: code doc lib url as property of web part (this gives you a flexibility for where doc lib can be--not hard coded). Rt click on doc in lib get url directly to item in library. http://zimmergren.net/technical/how-to-custom-web-part-properties-toolpart[^]
Hi All, this my first time asking a question on here, so here goes..
We currently run SharePoint 2010 foundation environment using the product as document repository with approval settings activated.
At this stage everything runs smoothly with approvals expect notifying the document uploaded that there document has been either Approved or Rejected.
Now I know we can use the built in Alert Function with SharePoint but some of our sites have a huge amount of document libraries to which we don’t want our users and myself to go through each one and setup and alert for it.
I have gone down the Workflow road with SharePoint Designer and checked out what can be done; basically I found that I can only do this strictly for Document libraries one at a time which is the same for the alert function. Having said that my knowledge of workflows with SPD is kinda limited so if I’m missing something here let me know?
SO..this brings me to a question, I would like to know IF it is possible to setup alerts at sites levels. I would like to create alerts for document approval/rejection per site can this be done with say custom code?
I have searched google for answers but it looks like this cannot be done without custome code?
AFAIK there is no central place to configure alerts (I think I understood your requirements ) for all the doc libs, I would suggest to use Powershell to iterate all libraries and enable alerts on them.
Rajesh, thank you for your response, I did think to go down the powershell road but not sure where to start, although I did see an article http://salaudeen.blogspot.com.au/2011/11/managing-alerts-using-powershell.html but this doesnt really explain how to do this for ALL document librarys for a particular site? any ideas?
I don't have the time now to research this, but I believe it's possible. I would look at some site workflows and how to associate them via code with the resources you are looking for, probably fed from an xml file or something. In other words, you may not be able to follow traditional methods, but I am sure that there is a component useful from an api perspective that can do this. You may also look for a third party component at codeplex or for a fee from the Bamboo Solutions people or something like that. Keep at it and I think you find a way. This also sounds like a common need, so you may discover a market for this as well.
I have a infopath form that is published in Sharepoint 2007. I am trying to figure out how to edit the infopath form. I didn't publish the form in which the previous guy that worked here did. When I click on the form it opens up as a webpage. I want to attach a document to the existing infopath form. Any ideas on how to edit a infopath form then republished it to sharepoint?
I have a list named "Designation" that contains a Designation Code and Designation Name. I have another list named "Employee" that contains Employee Name and Designation Name (as a Lookup Field). I am able to insert values to "Employee" list using the following code.
I have installed SharePoint server 2010 in my server (windows 2008 R2), on that time I have provided an administration privilege to that installation account (AD Account) (identity account).
The same account I have used in multiple areas like Central admin, Web front End, DB installation, SMTP configuration etc.
I have seen the account is referring in multiple services and app pools are run in this same account.
Now I need to change the privilege from administration to least.
I don’t have any idea about the impact.
And how to do the following activities/ analyzer
1.What are all the areas it will impact 2.How to change the privilege 3.What is the procedure (which one is a first ,which one is a second activity) 4.What are all the steps need to follow 5.Where ever need to change that details 6.Is it possible to change the password for this account? 7.Account swapping is possible? 8.It is possible to changes from this account to any other new least privilege account. Kindly help me for these activities are successfully complete.
Thanks for your help. I can put the script in the ascx file just fine. The problem is that when I try to access document.getElementById('<%# input1.ClientID %>'.value I get the error input not found. It seems that the input control on the ascx can not be found.
Perhaps you are not familiar with Dev toolbar operations. Click the HTML tab, then the arrow below it. Move to the IE window to highlight an element and click on it. You should see the details of the rendered element in the tool window. You can the find the ID that has been given to the rendered element.
Using JQuery you can find an element using a selector, such as
This will find any element whose id ends with myElement, regardless of the name mangling applied by ASP.NET
Failure is not an option; it's the default selection.
I used the Dev toolbar and it showed the id of the rendered element as 'txtMsg' which was the actual id in the VS markup. That is what I was using with the getElementById which it could not find. Now, I am confused.
I have created a SharePoint WebPart and added the Telerik.Web.UI to it's references. When I try to open the webpart in SP I get the error: Could not load file or assembly "Telerik.Web.UI" or one of it's dependencies. I have added the Telerik dll to the webpart's bin directory and added a referance in the project. Also, I have added the <@References ... tag to the beginning of the ascx file and added a using Telerik.Web.UI in the ascx.cs file.
Note that a webpart is just a user defined control loaded into the WebPart's controls container. This is my first time doing a webpart is there something I'm missing?