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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0PayPalSubscription.aspx -- UNsubscribe?PayPalSubscription.aspx -- UNsubscribe?
Previous
 
Next
New Post
7/16/2008 5:47 PM
 

RDO wrote

To try to narrow down what may be causing the problem, I started removing code, section by section and re-trying the redirect. I got it all the way down to

Imports System
Imports DotNetNuke

Namespace YourCompany.Modules.PGT
    Partial Class ViewPGT
        Inherits Entities.Modules.PortalModuleBase
        Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
            Response.Redirect("http://www.microsoft.com")
        End Sub
    End Class
End Namespace

Still the same thing. If logged in as Host or Admin, it works, for any other user, it only refreshes the page....

 

If you are using an ImageButton, I think you'll have to change your eventargs to:  ByVal e As System.Web.UI.ImageClickEventArgs

I don't know how that would be different according to what user you are logged in as, though.  Can you redirect to an 'internal' page when logged in as a regular user or are you just having problems redirecting to an 'external' site?  Also, when you click the button are you sure it's doing a refresh or is it just not taking you to the new site?

 
New Post
7/16/2008 5:49 PM
 

RDO wrote

Ok Guys, Im back again.

CJ, I thought my issue with having the "Text=" still listed in my ImageButtons was causing the problem with the page not redirecting. After I deleted that, it worked, but not for good. I know this sounds weird and does not make sense but... It seems to be working when it wants to...... I can click the button, and it works, refresh, and it dosnt,  refresh a few times and it will work again...... AHHHHH Anyway, right now my .vb has 2176 lines of code. Can this cause a problem? Is it actually possible for the compiler to "miss" its sub and go past it? I am totally lost, I have never had a code work sometimes then not others....

 

Thanks

I don't think it's possible for a compiler to 'miss' parts of code.  2100 lines of code really isn't a lot compared to what a lot of businesses are building these days.

With what you describe, it sounds like a permissions issue, but I'm not sure if it is on the System side or the DNN side.

 

 
New Post
7/17/2008 10:34 AM
 

I don't recall the exact formula to the limit but I do know that the length of the role name plays a factor because user roles are stored in the cookie. It would be simply too demanding on the database to query every role for every module in real time.

Longer role names=lower maximum role count

Again, the only way is to test it is with real values.

I hope this is of some help to you.


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0PayPalSubscription.aspx -- UNsubscribe?PayPalSubscription.aspx -- UNsubscribe?


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