Sorry.. I'm very new to this.
I'm trying to pull 3 stock quotes from the following xml source which looks like:
https://www.otciq.com/otciq/showOutsideQuotes?securityId=78788&token=8bDVNg&format=mddl
(The above is just an example)
I'm getting the following error
Error: XML/XSL is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, 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.NetworkCredential.get_Password() at DotNetNuke.Modules.Xml.Components.Utils.GetSha256HashCode(NetworkCredential credential) at DotNetNuke.Modules.Xml.Providers.XmlDataProvider.HttpRequest.Provider.GetCacheKey(String contentUrl, NetworkCredential credential) at DotNetNuke.Modules.Xml.Providers.XmlDataProvider.HttpRequest.Provider.GetXmlContent(String contentUrl, NetworkCredential credential, Boolean useCache) at DotNetNuke.Modules.Xml.Providers.XmlDataProvider.HttpRequest.Provider.Load(Int32 moduleId, Int32 portalId, Hashtable settings) at DotNetNuke.Modules.Xml.Components.XmlBaseController.get_XmlSource() at DotNetNuke.Modules.Xml.Components.XmlBaseController.Render(TextWriter output) at DotNetNuke.Modules.Xml.XmlModule.Page_Load(Object sender, EventArgs e) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.SecurityPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---
i tried adding the following:
But this did not work..
Any help would be greatly appreciated...
Thanks...