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 ForumsLinksLinksLinks 5.0.0 BetaLinks 5.0.0 Beta
Previous
 
Next
New Post
9/17/2010 5:49 AM
 
I've been using the 5.0 beta links for several months without issue and currently use it with a production DNN 5.5  site. I realize that its beta and shame on me for putting it into production, but its proved to be very stable and a big step up from the current release.   I recently installed an extension and received a compilation error immediately after a successful install of the extension.  The error is coming from line 90 of App_Code/Links/LinksController.vb.  The statement is: Dim proxy As new Net.WebProxy (DotNetNuke.Entities.Host.Host.ProxyServer, proxyport)  The error messageis BC30002: Type Net.WebProxy is not defined.

Has anyone else encountered this error?  Can anyone offer some insight or a possible solution?  I've got some ideas, but wanted to check here first.
 
New Post
9/17/2010 6:04 AM
 
most likely the order of namespace imports has been switched and results in a different resolution of relative addresses. Using a fully qualified name for Net.WebProxy should fix it.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
9/17/2010 6:35 AM
 
Thanks for you quick response Sebastian.  My skill set doesn't include VB.  Can you give me an example or some more detail on your suggestion.  It would be very much apprectiated.
 
New Post
9/17/2010 6:41 AM
 
sorry, I would need to have the code in front to provide you with a proper solution.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
9/17/2010 7:50 AM
 
Steve wrote:
Thanks for you quick response Sebastian.  My skill set doesn't include VB.  Can you give me an example or some more detail on your suggestion.  It would be very much apprectiated.

 Hello Steve,

try to change line 90 in the App_Code/Links/LinksController.vb file

From: Dim proxy As New Net.WebProxy(DotNetNuke.Entities.Host.Host.ProxyServer, proxyPort)

Into: Dim proxy As New System.Net.WebProxy(DotNetNuke.Entities.Host.Host.ProxyServer, proxyPort)


Kind regards

Alexander Zimmer

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsLinksLinksLinks 5.0.0 BetaLinks 5.0.0 Beta


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.

Copyright 2014 by DNN Corp | Terms of Use | Privacy | Design by Parker Moore Design