This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server ExtensionsJanuary 29, 2008 11:38
“This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions. If it is not available in the list, re-install ASP.NET v2.0.” But on my machine Visual Studio 2005 and .NET2 are installed, so that’s a bit strange. Checking out the IIS extensions panel is indeed not showing the v2.0 version. To solve the issue open your command prompt en navigate to: Now run the following command at the command prompt: Source: Office online - Windows SharePoint Services 2.0 IT Documentation Tags: .NET, error, internet information services, migration, visual studio 2005, web server extensions.InfoPath IXMLDOMDocument: Reference to undeclared namespace prefixOctober 30, 2007 12:00
Trying to set a query property in the DOM of a data source I received the error “Reference to undeclared namespace prefix: ‘tns’”. The reason of this error is that the xml contains multiple namespaces and that you have to explicitly define the namespace to use. By default the DOM property you can access from the XDocument are of the type IXMLDOMDocument. But working with this type, does not allow you to set the required namespace for your selections. To get around the issue convert the IXMLDOMDocument to a IXMLDOMDocument2 which makes it possible to define a “SelectionNamespaces” property. If you fill this property with the required documentElement’s namespace, the xpath selection of your node will succeed and the error is gone. Below is an example of the Data source’s IXMLDOMDocument2 content (xml) and some demo code to select the required node. Tags: data source, Infopath, interop, IXMLDOMDocument, namespace prefix, node, xml. |
||