Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

System.IO.PathTooLongException when opening InfoPath Form that is submitted successfully to Forms Library

$
0
0
Hi,
 
I have a very simple InfoPath form designed and published to SharePoint Forms Library. After I submit the form and trying to open the link in the forms library, I get an Forms Services error and the 12/logs has the following related entries. The path it is trying to open is long but there is no error in another development sharepoint farm.

Thanks in advance.


11/20/2008 18:15:40.00  w3wp.exe (0x13F0)                        0x1A78 Forms Server                   Forms Services Runtime         82fp Warning  Exception occurred during request processing. (User: <domain\username>, Form Name: , IP: , Request: http://<server_url>/_layouts/FormServer.aspx?XmlLocation=/sites/sr2/Simple+Form+Library/Test+User+1120-1.xml&Source=http://<server_url>/sites/sr2/Simple%2520Form%2520Library/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: , Type: PathTooLongException, Exception Message: The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less (and no more than 128 characters for any single file or folder name in the URL). Please type a shorter file or folder name.) 

11/20/2008 18:15:40.02  w3wp.exe (0x13F0)                        0x1A78 Forms Server                   Forms Services Runtime         8gec Exception Unhandled exception when rendering form System.IO.PathTooLongException: The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less (and no more than 128 characters for any single file or folder name in the URL). Please type a shorter file or folder name.     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetContainingList(String bstrUrl, String bstrFileUrl, Boolean bFile, Boolean bIsDocLib)     at Microsoft.SharePoint.Library.SPRequest.GetContainingList(String bstrUrl, String bstrFileUrl, Boolean bFile, Boolean bIsDocLib)     at Microsoft.SharePoint.SPWeb.GetItem(String strUrl, Boolean bFile, Boolean cacheRowsetAndId)     at Microsoft.SharePoint.SPFile.get_Item()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormI... 

11/20/2008 18:15:40.02* w3wp.exe (0x13F0)                        0x1A78 Forms Server                   Forms Services Runtime         8gec Exception ...nvocation.DetectOpenAction(HttpContext context, FormServerPageQueryParameters queryParameters, SolutionMetaInformation solutionMetaInformation, InfoPathException& error)     at Microsoft.Office.InfoPath.Server.Controls.FormServerPage.NewEditingSession(SPSite contextSite, FormServerPageQueryParameters queryParameters)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart eventLogStart)     at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c__DisplayClass3.<LoadDocumentAndPlayEventLog>b__1()     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, Finally... 

11/20/2008 18:15:40.02* w3wp.exe (0x13F0)                        0x1A78 Forms Server                   Forms Services Runtime         8gec Exception ...Block finallyBlock) 

Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>