Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsError: Request for the permission of type Error: Request for the permission of type 'System.Net.WebPermission
Previous
 
Next
New Post
1/12/2008 11:43 PM
 

I am using Godaddy hosting and they installed (automagically) DNN for me about two weeks ago.

Everything is working fine - but I can't get the News Feed module to work.

I have added the module and I am trying to add one of these feeds:
http://www.google.com/search?q=national+homeless+news&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&safe=active
or
http://news.search.yahoo.com/news/rss?p=%2Bdallas+%2Bhomeless&ei=UTF-8&vm=r

This is the message that is returned by the module:
News Feed Is Not Available At This Time. Error message:Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

When I open the Event Viewer I see:
InnerException: 'times' is an unexpected token. The expected token is '"' or '''. Line 13, position 19.

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: 'times' is an unexpected token. The expected token is '"' or '''. Line 13, position 19. ---> System.Xml.XmlException: 'times' is an unexpected token. The expected token is '"' or '''. Line 13, position 19. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.Xsl.XslTransform.Load(XmlReader stylesheet, XmlResolver resolver, Evidence evidence) at DotNetNuke.Common.Utilities.XmlUtils.GetXSLContent(String ContentURL) at DotNetNuke.Modules.News.RssModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Any ideas?

Even if I try it with a different feed (http://www.dotnetnuke.com/About/NewsRoom/tabid/703/moduleid/1344/RSS.aspx) it doesn't work.

 

 

 

 
New Post
1/14/2008 11:26 AM
 

I know that a while back I heard that GoDaddy had a proxy that didn't allow websites to communicate outside of their network to get feeds.  I am not 100% sure if that is still the case, but it looks like the cause of your error.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/16/2008 9:11 PM
 

I've had the exact same problem for months... and except for Mitch... I've been ignored in these forums (as well as a lot of other people wiwth the same issue.)  Apparently, the Project Lead, Peter Donker,  can't take the time to acknowledge any of us regardless of the source of the problem, so thank you very much for your reply, Mitch.

The host for several of my clients is GoDaddy, as well as my own site.  In my own site, I tried an experiment with IFrame.  A newsfeed will display in that but there's no capability to format the results (i.e., it looks the same as if you pasted the feed link in your browser's address bar).. 

I inserted code for a Spring Widget into a text/html module.  It can get a news feed just fine, and while it looks cool you're stuck with their formatting.  Neither is a good solution.

I'm not disputing what you say, Mitch (as I have received inconsistent replies from GoDaddy) , but it would seem that if GoDaddy has a proxy not allowing websites to communicate outside of theri network then my experiments with IFrame and SpringWidgets wouldn't have worked either.

 
New Post
1/25/2008 9:32 AM
 

Have you ever gotten an update on this? I am using GoDaddy and am having the same issue. I haven't tried bypassing their proxy but I might just to see what happens.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsError: Request for the permission of type Error: Request for the permission of type 'System.Net.WebPermission


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out