During the package phase of a VSeWSS deployment, an exception is thrown. From the logs:
2009/11/02 11:59:46 Error
System.ArgumentException: An item with
the same key has already been added.
at
System.ThrowHelper.ThrowArgumentException(ExceptionResource
resource) at
System.Collections.Generic.Dictionary2.Insert(TKey...
I have a WSS 3.0 site with FBA and a custom user management web part. To track user email address, I have been using the Email property of the MembershipUser object. I just realized today that if you go into People and Groups and look at the email address for a user, the email address is blank, and can be edited there independent of the ...
Is it a popular techinque to use the Model View Presenter (MVP) design pattern when creating Web Parts for SharePoint? It seems (to me) that this pattern is applied more often in the custom application space. So, if you have any thoughts on this, please share...
[Edit]
Perhaps the more important question is, if MVP is less popular in ...
Hi games,
I have 5 different infopath forms.on sharepoint site , i want to upload them in single document library. But when i am going to do this it is overwriting existing form. What i have to do. Is that possible to upload all 5 forms in single Document library ? I do not want to create 5 different Document libraries for 5 forms . plea...
Hi
i want to retrive some data from sharepoint database . what i have to do. how can i make query on sharepoint database?
...
Our company is split into divisions. These divisions work for client companies and are then further split into account teams that work on projects for a product of the clients.
So the structure goes Division > Clients > Accounts > Projects. And this is mirrored in the setup of our sharepoint installation. At each stage from Division to ...
I need to show an "Exit" popup window in MOSS pages. How can I achieve this?
...
I want to get data from SharePoint List using CAML and filtered by Title with ignore case like
<Query>
<Where>
<Eq>
<FieldRef Name='Title' />
<Value Type='Text'>Car</Value>
</Eq>
</Where>
</Query>
But with ignore case so if i have an item with title: car the caml should return it
how can I do this?
...
I'm running a MOSS2007 Sharepoint website with .NET 3.5 Ajax. I'm using the SmartPart webpart to host a user control that contains an update panel.
I've added the script manager to the /_catalogs/masterpage/default.master file and it works fine when I log in as myself. But when I log in as a normal user I get the error message The contr...
Hello.
I`d like to know which properties/functions must have which privileges to be used. Is there such a list?
For example, when developing code, how can a newbie know which properties or functions will work for site members, visitors or owners?
I`v been developing for a while, but still stumble at this one.
Thank you.
...
Hello.
I`v developed custom webpart. I can add it to page and site owners can view page with no problems.
However Site visitors/users get redirected to access denied error page. Sure, I must be doing some stuff normal users are not allowed to.
But the thing that bugs me is that when I place breakpoint in webpart constructor or even va...
I am not server admin on one of our production systems, neither do I have SQL permissions because of this I need to ask someone to install a WSP package, its annoying.
Is there a way I can copy a list instance from one server to another by just using the SharePoint GUI, I am root admin on 1 machine (dev) and site admin on another (test/...
after moving my configuration db to a different DB server I had some difficulties to get the farm up and running again.
now my eventlog is full of errormessages, that the config-db is not reachable on my old db server.
Operation / Servers in Farm ... /_admin/FarmServers.aspx is still showing the old db server as config db server
I coul...
I recently upgraded my SharePoint development machine to VSeWSS 1.3 and have noticed a behavior that I didn't think existed before. I have two custom web parts that use several common assemblies, and both will live in the same site. I'm trying to create a third 'common' web part that copies these files to the Bin folder and adds safe con...
I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns (grouped to match each page) etc. I have also created a site collection, some sites and pages based on my template.
Now I need to update some of my page templates and make the changes affect the exist...
hi,i ve some problem in accessing last record from sharepoint list through CAML query,can any one help me in this regrad;i have a sample list called 'MainHeads' which contains the information like HeadID,Category,and headName....
Mehboob
Pakistan
...
Following up on my previous question here, in which I answered how to create a folder in a document library. I now need to create a folder in a list, however it seems the webDav approach is not working.
Does anyone have a code snippet for creating a folder in a list using web services or webdav?
Thanks
In the following code no error ...
I have a list, that has a custom content type, the list also contains subfolders
How can I add an item to the list using web services, in a specific sub folder?
...
I would like a reliable way to get the root folder address of a list using web services?
Is it possible or do I need to revert to some string manipulation, which is subject to errors?
Here is the object model equivalent:
SPWeb myWeb = SPContext.Current.Web;
Debug.WriteLine("MyWeb lists : ");
foreach (SPList aList in myWeb.Lists)
...
My original question here answers how to check if an item exists in a list, but this doesn't work for items in sub folders in the list.
How can I check if an item exists, regardless of what subfolder its stored in?
Failing this, how can I check if an item exists , even if this means somehow passing the subfolder value to the query som...