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

Reply via email to