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[^]