HomeHomeDotNetNuke Forg...DotNetNuke Forg...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 (DotNetNuke 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 (DotNetNuke 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
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsLinksLinksLinks 5.0.0 BetaLinks 5.0.0 Beta


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
Start  Professional Edition Trial
Have Someone Contact Me

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

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.