Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Worksite SDK error with GetDocumentTypeFromPath
GShaw
Hi,
I'm trying to get the Document type from a file and have used the following code
Sub ImportFile(ByVal fname As String, ByVal Dest As IManFolder, ByVal sess As IManSession)
Dim dt As IManDocumentType
dt = Dest.Database.GetDocumentTypeFromPath(fname)
....
End Sub
however I get the following exception
System.Runtime.InteropServices.COMException was unhandled
ErrorCode=-2147213029
Message="[NRTDatabase ][GetDocumentTypeFromPath ]Cannot load library "SCCFI.DLL " "
Source="iManage.NRTDMS.2"
The library does exist although if I try to register it with regsvr32 I get
load library("sccfi.dll") failed - The specified module could not be found
Version info
8.1.9.4407
OIVT File Identification
Copyright © Stellent, Inc. 1991-2007
Any help most appreciated
Find more posts tagged with
Comments
dabird
This is a third party DLL by Stellent that is used for determining the file type. I verified that this is the version that shipped with DeskSite 8.2 SP1 and WorkSite Web 8.2 SP1 Patch 001. Have you tried importing the same file through one of the clients and found that the file type is correct?
Your assembly should be in the same directory as the Stellent DLLs. With DeskSite, I believe they are in the bin directory for the application (I'm on the web team, so if this is incorrect some please correct this). For WorkSite Web, the INSO DLLs are installed in the system32 directory. If you are running your code on a WorkSite Web box, you can drop your assembly in the bin directory for WorkSite Web.