I am having a problem using a web part that saves data to a custom list. Everytime I try to save and close from the site it gives me the error "This form cannot be saved when previewing this page." This is a simples web part and simple list i have no idea what the problem is, can anyone help me?
Here is the code for the web part:
<WebPartPages:ListFormWebPart webpart="true" runat="server" __webpartid="{30EA3BDD-5EBB-4E2A-9B31-C15C167ACF59}">
<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
<Title />
<FrameType>None</FrameType>
<Description />
<IsIncluded>true</IsIncluded>
<PartOrder>1</PartOrder>
<FrameState>Normal</FrameState>
<Height>379px</Height>
<Width>486px</Width>
<AllowRemove>true</AllowRemove>
<AllowZoneChange>true</AllowZoneChange>
<AllowMinimize>true</AllowMinimize>
<IsVisible>true</IsVisible>
<DetailLink />
<HelpLink>http://bhsharepoint/sites/Facilities_Mgmt/_vti_bin/help/1033/sts/html/dlistwps.htm</HelpLink>
<Dir>Default</Dir>
<PartImageSmall />
<MissingAssembly />
<PartImageLarge />
<IsIncludedFilter />
<ExportControlledProperties>false</ExportControlledProperties>
<ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
<ListName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">{246B1F21-11AE-4E6D-9358-D455EB2B75AE}</ListName>
<FormType xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">6</FormType>
<ViewFlag xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">1</ViewFlag>
</WebPart></WebPartPages:ListFormWebPart>