Thanks Wampers. I was trying to connect to a Twitter feed. I did some more testing with standard RSS and Atom feeds and they seem to work fine.
Maybe the feed is authenticated or the format is different? In any case, it's opened up a whole new world with the discovery of the RSSBus web part and then the free Twitter web part from the same site. :) http://www.lancerobinson.net/articles/10-diy-sharepoint-web-parts.aspx Regards, Paul Online Developer, ICT CEO Sydney From: [email protected] [mailto:[email protected]] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 11 February 2010 11:20 AM To: ozMOSS Subject: RE: RSS WebPart exception Hi Paul, R u trying to connect to a corporate (intranet) feed? In that case you might need to resort to Kerberos authentication or download the feed as an xml file and feed on that. Kind Regards, Wilson Wampers From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Thursday, 11 February 2010 07:49 To: ozMOSS Subject: RSS WebPart exception I'm getting an exception when applying changes to an RSS web part. I figured it was down to ISA so changed the proxy settings in the web.config to the following with no success. <proxy usesystemdefault = "true" bypassonlocal="true" /> The exception is as follows. Any ideas?? RssWebPart: Exception handed to HandleRuntimeException.HandleException System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint) at System.Net.HttpRequestCreator.Create(Uri Uri) at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlSecureResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenStream(Uri uri) at System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId) at System.Xml.DtdParser.ParseExternalSubset() at System.Xml.DtdParser.Parse(Boolean saveInternalSubset) at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at Microsoft.SharePoint.WebControls.XmlUrlDataSource.FetchData(String requestUrl) at Microsoft.SharePoint.WebControls.BaseXmlDataSource.Execute(String request) at Microsoft.SharePoint.WebControls.BaseXmlDataSource.GetXmlDocument() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetHierarchicalDocument(IHierarchicalDataSource ds) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetHierarchicalXPathNavigator(IHierarchicalDataSource ds) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String viewPath) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform() The action that failed was: Demand The type of the first permission that failed was: System.Net.WebPermission The first permission that failed was: <IPermission class="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1"> <ConnectAccess> <URI uri="http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd"/> </ConnectAccess> </IPermission> The demand was for: <IPermission class="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1"> <ConnectAccess> <URI uri="http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd"/> </ConnectAccess> </IPermission> The only permitted permissions were: <PermissionSet class="System.Security.PermissionSet" version="1"> <IPermission class="System.Security.Permissions.SiteIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Site="twitter.com"/> <IPermission class="System.Security.Permissions.UrlIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Url="http://twitter.com/CEO_RE"/> <IPermission class="System.Security.Permissions.ZoneIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Zone="Internet"/> </PermissionSet> The method that caused the failure was: System.Object GetEntity(System.Uri, System.String, System.Type) Regards, Paul Online Developer, ICT CEO Sydney
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
