E
Eray
Hello. I have been using infopath 2007 for a long time without problem. Last
week i installed visual studio web 2008 expres edition and after that i
started getting a security error regardless what kind of code that i write
with infopath forms. I create a form and put some really simple codes behind
that form such as messagebox.show however as soon as i run the code by
clicking a button on the form i get the error below. I uninstalled visual st
web 2008, i uninstalled .net 3 but still i have exactly same thing. I tried
to reinstall office but doesnt solve the problem. I am thinking that .net 3.0
did something which infopath doesnt like. i really do not want to reinstall
everyting included windows but right now it seems that there is no option.
Do you have any ideas about that or have you seen anything like that before?
Thank You
ERROR
----------------------------------
System.Security.SecurityException was unhandled by user code
Message="Request failed."
Source="Microsoft.Office.InfoPath.Client.Internal.Host"
StackTrace:
at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
at Microsoft.Office.InfoPath.MsxmlNavigator.MoveToFirstChild()
at MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
at System.Xml.XPath.XPathNavigator.SelectSingleNode(XPathExpression
expression)
at System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath,
IXmlNamespaceResolver resolver)
at Template1.FormCode.CTRL2_5_Clicked(Object sender, ClickedEventArgs
e)
at
Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
week i installed visual studio web 2008 expres edition and after that i
started getting a security error regardless what kind of code that i write
with infopath forms. I create a form and put some really simple codes behind
that form such as messagebox.show however as soon as i run the code by
clicking a button on the form i get the error below. I uninstalled visual st
web 2008, i uninstalled .net 3 but still i have exactly same thing. I tried
to reinstall office but doesnt solve the problem. I am thinking that .net 3.0
did something which infopath doesnt like. i really do not want to reinstall
everyting included windows but right now it seems that there is no option.
Do you have any ideas about that or have you seen anything like that before?
Thank You
ERROR
----------------------------------
System.Security.SecurityException was unhandled by user code
Message="Request failed."
Source="Microsoft.Office.InfoPath.Client.Internal.Host"
StackTrace:
at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
at Microsoft.Office.InfoPath.MsxmlNavigator.MoveToFirstChild()
at MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
at System.Xml.XPath.XPathNavigator.SelectSingleNode(XPathExpression
expression)
at System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath,
IXmlNamespaceResolver resolver)
at Template1.FormCode.CTRL2_5_Clicked(Object sender, ClickedEventArgs
e)
at
Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)