microsoft.public.sharepoint.portalserver.development
  Home FAQ Contact Sign in
microsoft.public.sharepoint.portalserver.development only
 
Advanced search
September 2008
motuwethfrsasuw
1234567 36
891011121314 37
15161718192021 38
22232425262728 39
2930      40
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft ... development Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Retrieve SPListItem with GUID         


Author: Paul Musso
Date: Sep 19, 2008 05:28

Hi,

You want to retrieve an SPListItem into a SPList. I have its GUID, but
if the item doesn't exists, i don't want to have an exception. Its this
behavior that i met when i used this type of code.

list.Items[new Guid(guids[3])];

It's throw an ArgumentException if item doesn't exists. I prefer a null
value instead.

Someone have a solution ?

--
Paul Musso
no comments
  file.Convert doesn't work for specific Approval         


Author: poidda
Date: Sep 18, 2008 20:20

This is a strange one which I hope someone can help.

I am trying to programmatically convert files when they are approved within
a document library , and add them to another document library. This all
works fine when the document is approved without using a workflow, but
doesn’t work when a workflow is activated.

Below is a simplified version of the function we are running. The
ItemUpdated Event is fired in both instances and steps through successfully.
Everything seems to work, except the html document is not created using
Approval Process 2. There are no errors in the log either.

public override void ItemUpdated(SPItemEventProperties properties)
{
base.ItemAdded(properties);

SPListItem item = properties.ListItem;

SPSite site = new SPSite(properties.WebUrl);
SPWeb web = site.OpenWeb();
SPFile file = web.GetFile(properties.AfterUrl);
Show full article (2.05Kb)
no comments
  How to write and use connection string in SharePoint         


Author: Saurabh
Date: Sep 18, 2008 04:16

Hi guys,

Actually i created a webpart, which binds data to dropdownlist
from some external database.
but when deploy and try to use that webpart , it gives me a error.

"User does not have permission to perform this action"

===========

my code look like this

Private Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
EventArgs)
Dim sqlRd As SqlDataReader
Try
Dim mConn As SqlConnection = New
SqlConnection("Server...
Show full article (1.62Kb)
no comments
  SPSite.Rename         


Author: tanutatu
Date: Sep 18, 2008 03:37

I have used this function in my code for renaming a host headed site
collection.

But it doesnt seem to throw any error in case there is one.
How do i do error handling in this case?

Regards
Tanushree
no comments
  Integrating ECM with Version Controls         


Author: Gangadhar
Date: Sep 18, 2008 00:18

Hi all,

Anyone can have any idea on How to intgrate ECM(Enterprise Content
Management) with Different Version controls like CVS, SVN and VSS. Is It
possible with Sharepoint 2007.
Please help me, if anyone have idea.

Thanks in advance
no comments
  Workflow: Target Item (not task) custom fields         


Author: dave.dolan
Date: Sep 17, 2008 13:33

I'm using InfoPath Forms services to create xml document items for a document
library. When I run a workflow on these documents, I can't seem to get any
of the properties they have (other than standard properties.) I'm using
Visual Studio to do the workflow, and I'm able to get this same info from a
task form using ItemMetaData.xml; however, I don't see any way to do this
same thing for the actual item. The Only way I've been able to read a
property (yet not set it) is by loading up the SPListItem.File property and
groking it as an XMLDocument. (No it's not in the .Xml property of the
SPListItem, because it's not in the item, it's in the file in that case.)
I'm a little bit unnerved here. I set (in the infopath editor) the field to
be a property, in the Property Promotion box...
Show full article (1.02Kb)
no comments
  Workflow: ERROR: request not found in the TrackedRequests         


Author: Miguel Isidoro
Date: Sep 17, 2008 11:57

Hi all,

I have a custom workflow that dynamically creates a document in a doclib. In
this doclib, I have a Out of the box MOSS Collect Feedback workflow that
starts everytime a document is added to the doclib. The problem is that
sometimes, the workflow doesn't start or if it starts, it doesn't create the
task. I've analised the log file and I see this error a lot:

ERROR: request not found in the TrackedRequests. We might be creating and
closing webs on different threads. ThreadId = 6, Free call stack = em
Microsoft.SharePoint.SPRequestManager.Release(SPRequest...
Show full article (3.90Kb)
no comments
  How can i get data in a KPI from an xml         


Author: prady
Date: Sep 17, 2008 08:33

Can we get data in KPI webpart from an xml file?
no comments
  2nd approval in a multi-approval workflow not working         


Author: bmutch
Date: Sep 17, 2008 08:06

In a VS 2008 Sharepoint multiple approval workflow, I can create the 2nd task
when the 1st approval in completed, but when I set the "approval" of that 2nd
task to "approve" it never runs the "invoking" code that is attached to the
OnTaskChanged event of that task. Can anyone tell me why it might not be
hitting the code?
thanks,
paccast
no comments
  Solution Deployment - not deploying global resources         


Author: Michael Leppan
Date: Sep 17, 2008 03:05

Please consider the following

I have a solution that gets deployed using the Central Administration >
Operations > Solution Management function in Sharepoint.

The resource files are getting copied to the C:\Program Files\Common
Files\Microsoft Shared\web server extensions\12\Resources folder, but....

The resource files are not getting to the local virtual directory of the
application - for example
C:\Inetpub\wwwroot\wss\VirtualDirectories\myApplication.com80\App_GlobalResources

This means that when the site is requested, it gives an error, unless I
manually copy over the resource files into this
(C:\Inetpub\wwwroot\wss\VirtualDirectories\myApplication.com80\App_GlobalResources)
directory.

I would like to know how to make it possible that when I click deploy
solution to [this] application.... the resource files get copied locally to
[this] application.

Any help would be welcome.

Thanks
Michael
no comments
1 2 3 4 5 6 7 8 9