Hi,
this issue is driving me mad and i hope somebody knows a solution.
I use sharepoint 2007 and infopath 2007, im trying to run a really simple browser based form, i have only one button and text field. I have build many infopath 2007 forms, but never discovered this issue before.
I publish this form very simple just publishing to a sharepoint site with a form library, if i do this task on one of my develoepr machines it runs perfect no errors and i can see the form in my browser. I have also browser enabled everything.
But when do exactly the same think on my production environment, i get a file not found notification :-(. Now i turn debuggin on in my web.config file and recieve this exception:
File Not Found. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass4.<GetFileHash>b__3()
at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetFileHash(String physicalFilePath)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetHash(String urlPath, String physicalPath)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetFilePath(LocalizedServerFile file)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderCssReferenceIfNeeded(HtmlTextWriter writer)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderContents(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
If i look at my event viewer i see this event:
Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver in Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.
: There is no file with URL 'test2' in this Web.
For more information, see Help and Support Center at
I have not any clue what this means?? And there is not much regarding this topic in google. The funny think is if i turn of the open as web page button under advanced settings the form opens fine directly inside infopath 2007.
Please somebody help, this issue is way to weird. All features and services are turned on, and i use the enterprise edition of sharepoint 2007!!
Thanx in advance