Posts Tagged ‘task’

“Select file was not found” error

Thursday, September 10th, 2009

I blogged about it long time ago but lost that post in a server crash. This error occurs when you try to attach a file in InfoPath task form. There are several solutions. One is as following:

Open WrkTaskIP.aspx from the following location:

C:\Program File\Common Files\Microsoft Shared\web server extensions\12\Template\Layouts

Locate following tag:

<asp:Content ContentPlaceHolderId=”PlaceHolderMain” runat=”server”>

Insert following line before the end tag “</asp:Content>”:

<script type=”text/javascript”>aspnetForm.encoding = “multipart/form-data”;</script>