J
jogannon
With reference to the elegant solution described in the following:
http://enterprise-solutions.swits.n...form-into-word-2007-document-xslt-c-sharp.htm
I am able to publish an InfoPath form to a .msi and send it to another user,
with the document.docx and the transform.xsl files stored and the correct
path(s) noted in the code behind the "Convert" button. However, when I want
to publish this same form to a SharePoint (WSS) document library, I get the
proverbial error:
URI formats are not supported.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.File.InternalCopy(String sourceFileName, String
destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName,
Boolean overwrite)
at ProdMgrWSRTemplate.FormCode.CTRL61_5_Clicked(Object sender,
ClickedEventArgs e) in E:\Documents and Settings\Administrator\My
Documents\Visual Studio
2005\Projects\ProdMgrWSRTemplate\ProdMgrWSRTemplate\FormCode.cs:line 46
at
Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
I tried this originally using the url for another document library in the
same site. Then I went back to the physical path. Both produce the same
error. Ideally, I would like to be able to install and maintain this
solution as the SharePoint site collection admin, but it appears from what I
have read, that you must specify the user of the IIS server, underlying WSS,
having permissions to access these files where they are physically stored.
Any suggestions would be most grateful. Thanks,
http://enterprise-solutions.swits.n...form-into-word-2007-document-xslt-c-sharp.htm
I am able to publish an InfoPath form to a .msi and send it to another user,
with the document.docx and the transform.xsl files stored and the correct
path(s) noted in the code behind the "Convert" button. However, when I want
to publish this same form to a SharePoint (WSS) document library, I get the
proverbial error:
URI formats are not supported.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.File.InternalCopy(String sourceFileName, String
destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName,
Boolean overwrite)
at ProdMgrWSRTemplate.FormCode.CTRL61_5_Clicked(Object sender,
ClickedEventArgs e) in E:\Documents and Settings\Administrator\My
Documents\Visual Studio
2005\Projects\ProdMgrWSRTemplate\ProdMgrWSRTemplate\FormCode.cs:line 46
at
Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
I tried this originally using the url for another document library in the
same site. Then I went back to the physical path. Both produce the same
error. Ideally, I would like to be able to install and maintain this
solution as the SharePoint site collection admin, but it appears from what I
have read, that you must specify the user of the IIS server, underlying WSS,
having permissions to access these files where they are physically stored.
Any suggestions would be most grateful. Thanks,