I have a customer trying to create UCF connection using DFS.NET libraries(UCF.NET).
Documentum Foundation Services with UCF Client for .NET Integration
Version Early Access 2. August 10, 2009.
Here is the code:
******************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emc.Documentum.FS.DataModel.Core;
using Emc.Documentum.FS.DataModel.Core.Profiles;
using Emc.Documentum.FS.DataModel.Core.Query;
using Emc.Documentum.FS.Runtime.Context;
using Emc.Documentum.FS.Services.Bpm;
using Emc.Documentum.FS.Services.Core;
using Emc.Documentum.FS.Services.Core.Lifecycle;
using Emc.Documentum.FS.Services.Search;
using Emc.Documentum.FS.Runtime.Ucf;
namespace UCFTest
{
class Program
{
static void Main(string[] args)
{
try
{
Uri ucfServerUri = new Uri("http://server:port/services/core/");
UcfConnection ucfConn = new UcfConnection(ucfServerUri);
System.Console.WriteLine("-----------------------------------------");
System.Console.WriteLine("ucfConn.GetJsessionId: " + ucfConn.GetJsessionId());
System.Console.WriteLine("ucfConn.GetUcfId : " + ucfConn.GetUcfId());
System.Console.WriteLine("-----------------------------------------");
}
catch (System.Exception e)
{ System.Console.WriteLine(e.Message);
}
}
}
}
When it runs it throws the following. If he takes the same code and runs it through Java it works fine. I'm still coming up to speed on the .NET stuff, so looking for some thoughts and ideas.
---------------------------------------------------------------
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.1873
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1873 (QFEN-1.050727-1800)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
Deployment url : http://rkvsund35.devlab.rkv.nasd.com:9095/services/ucf-1243931048656//Emc.Documentum.Ucf.Client.Impl.application?ucf.home=C:\Documents and Settings\shakiroa\Documentum\ucf-net&ucf.app=shared&ucf.appHostName=SHAKIROA-01&version=6.5.0.226
Server : Apache-Coyote/1.1
X-Powered-By : Servlet 2.4; JBoss-4.2.0.GA_CP01 (build: SVNTag=JBPAPP_4_2_0_GA_CP01 date=200709131706)/Tomcat-5.5
IDENTITIES
Deployment Identity : Emc.Documentum.Ucf.Client.Impl.application, Version=6.5.0.0, Culture=neutral, PublicKeyToken=0acf8fbdaa69ecaa, processorArchitecture=x86
APPLICATION SUMMARY
* Online only application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://rkvsund35.devlab.rkv.nasd.com:9095/services/core/../ucf-1243931048656//Emc.Documentum.Ucf.Client.Impl.application?ucf.home=C:\Documents and Settings\shakiroa\Documentum\ucf-net&ucf.app=shared&ucf.appHostName=SHAKIROA-01&version=6.5.0.226 resulted in exception. Following failure messages were detected:
+ Activation failed.
+ Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [2/3/2010 12:38:08 PM] : Activation of http://rkvsund35.devlab.rkv.nasd.com:9095/services/core/../ucf-1243931048656//Emc.Documentum.Ucf.Client.Impl.application?ucf.home=C:\Documents and Settings\shakiroa\Documentum\ucf-net&ucf.app=shared&ucf.appHostName=SHAKIROA-01&version=6.5.0.226 has started.
* [2/3/2010 12:38:09 PM] : Processing of deployment manifest has successfully completed.
ERROR DETAILS
Following errors were detected during this operation.
* [2/3/2010 12:38:09 PM] System.Deployment.Application.DeploymentException (Activation)
- Activation failed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, Uri activationUri, Boolean isActivatingExtension)
at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, Uri activationUri, Boolean isActivatingExtension)
at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, Uri activationUri, Boolean isActivatingExtension)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.UnauthorizedAccessException
- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, Uri activationUri, Boolean isActivatingExtension)
COMPONENT STORE TRANSACTION DETAILS
* Transaction at [2/3/2010 12:38:09 PM]
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0