HomeHomeDotNetNuke Forg...DotNetNuke Forg...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 7: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 7: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 C# MVP, MCITP
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 Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
1/16/2008 5: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 5: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
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsNews FeedsNews FeedsError: Request for the permission of type Error: Request for the permission of type 'System.Net.WebPermission


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Exact Target Exec Alert
r2integrated
Telerik JustCode Free

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.