I've seen similar issues to this posted on this forum but none that matches the error I'm getting.
I'm able to submit a form from the DAT to DbxlDocumentService.asmx and have the database update but this doesn't work when opening the form from the document library that it has been published to (either with the infopath client or in the browser).
I'm under the impression that mapping to a sharepoint library from the Sharepoint tab in the DAT may solve this issue (but I'm open to suggestions if this isn't the case).
However, when I save after adding the mapping I get an error stating "An unhandled exception occurred while calling the SetDocumentType method", and the below log entry
As recommended elsewhere the identity accounts for the dbxl app pool is the same as the sharepoint app pool.
My error seems to differ from the others in that it refers to an invalid path "C:\WINDOWS\TEMP\DBXL\..."
Ultimately I just want to submit the form from the browser to the web service, and update the database, so if resolving the mapping issue is the answer then that's what I'm after.
Thanks in advance.
Event Type: Error
Event Source: Database Accelerator
Event Category: None
Event ID: 0
Date: 15/09/2010
Time: 11:44:20
User: N/A
Computer: EXTRANETSRV002
Description:
An error occurred while setting up a SharePoint collection mapping with the adminstrative tool. This could be a user error. In case it is a system problem, error details have been logged.
SharePoint URL:
https://extranet.XXX.com/demo/browsertestforms
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Invalid path: C:\WINDOWS\TEMP\DBXL\a43frhgl.34m\
at CabLib.Helper.ToShortPath(String s_Path, Boolean b_Terminate)
at CabLib.Extract.ExtractStream(Stream i_Stream, String s_Folder)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at CabLibWrapper.Wrapper.ExtractStream(Stream stream, String destinationDirectory, String singleFileName)
at Qdabra.Dbxl.WebService.Implementation.Util.TemplateTool.OpenTemplate(Byte[] templateContents, String singleFileName)
at Qdabra.Dbxl.WebService.Implementation.Util.TemplateTool.ProcessTemplateForSharePoint(String listUrl, Boolean browserEnable, String docTypeName, ICredentials ssoCredentials, String uniqueUrnToken, String& urn)
at Qdabra.Dbxl.WebService.Implementation.ServiceImplementation.SharePointXsnTemplateProvider.GetTemplate(String sharePointListUrl, ICredentials ssoCredentials, String uniqueUrnToken, String& urn)
at Qdabra.Dbxl.Domain.SharePointMethod.EnsureFormLibraryAndPublishXsn(String qdabraWebServiceUrl, DbxlSharePointListMap mapping, ICredentials ssoCredentials, DbxlDocumentTypeProperties docTypeProperties, ISharePointXsnTemplateProvider templateProvider, WindowsIdentity userIdentity)
at Qdabra.Dbxl.Domain.SharePointObjectModel.EnsureFormLibrary(String qdabraWebServiceUrl, DbxlSharePointListMap mapping, DbxlDocumentType docType, ISharePointXsnTemplateProvider templateProvider, WindowsIdentity userIdentity)
at Qdabra.Dbxl.WebService.Implementation.ServiceImplementation.UpdateSharePointListMappings(DocumentTypeInfo docTypeInfo, DbxlDocumentType docType, Session session)
Stack Trace:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at CabLibWrapper.Wrapper.ExtractStream(Stream stream, String destinationDirectory, String singleFileName)
at Qdabra.Dbxl.WebService.Implementation.Util.TemplateTool.OpenTemplate(Byte[] templateContents, String singleFileName)
at Qdabra.Dbxl.WebService.Implementation.Util.TemplateTool.ProcessTemplateForSharePoint(String listUrl, Boolean browserEnable, String docTypeName, ICredentials ssoCredentials, String uniqueUrnToken, String& urn)
at Qdabra.Dbxl.WebService.Implementation.ServiceImplementation.SharePointXsnTemplateProvider.GetTemplate(String sharePointListUrl, ICredentials ssoCredentials, String uniqueUrnToken, String& urn)
at Qdabra.Dbxl.Domain.SharePointMethod.EnsureFormLibraryAndPublishXsn(String qdabraWebServiceUrl, DbxlSharePointListMap mapping, ICredentials ssoCredentials, DbxlDocumentTypeProperties docTypeProperties, ISharePointXsnTemplateProvider templateProvider, WindowsIdentity userIdentity)
at Qdabra.Dbxl.Domain.SharePointObjectModel.EnsureFormLibrary(String qdabraWebServiceUrl, DbxlSharePointListMap mapping, DbxlDocumentType docType, ISharePointXsnTemplateProvider templateProvider, WindowsIdentity userIdentity)
at Qdabra.Dbxl.WebService.Implementation.ServiceImplementation.UpdateSharePointListMappings(DocumentTypeInfo docTypeInfo, DbxlDocumentType docType, Session session) encountered a critical error and needs attention.
User: XXX\XXX
Url: /QdabraWebService/DbxlDocumentService.asmx