DNN Deployment Issue
Last Post 06/21/2011 11:24 AM by Joseph Craig. 31 Replies.
Author Messages
Abhishek Trivedi
Nuke Active Member
Nuke Active Member
Posts:30


--
02/02/2010 4:44 AM
    Hi All,

    I read lots of help from the articles in this site, but didn't find the exact answer so at last needed to register on it .

    Ok, I have one problem regarding Deployment of DNN site on production server.

    I am using DNN 5.x and everything works fine on local machines.

    Now problem arrise when i tried to deploy the site to production server.

    I configured the site on server with portal alias like http://serverIP:portno/appname  ,

    i also add this site name to the portal alias table also enable the line in config file for



    but dont know why it displays Installation wizard every time i try to open the site.

    DNN is already installed and also pointed to same database then dont know what is the issue?

    Looking forward to quick help as u all guys does everytime.

    Thanks,
    Abhishek Trivedi

    Joseph Craig
    DNN MVP
    Posts:11667


    --
    02/02/2010 8:55 AM
    What you used was not the correct form for the portalalias. Remove the http:// and it should work.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    02/02/2010 10:55 PM

    Hello Sir,

    Thanks for your quick reply.

    first of all it was my typo, i have not included http:// in my portal alias.

    i got some partial solution yesterday, now i have home page open, but i can not access internal links.

    hoping for your help.

    Thanks,

    Abhishek Trivedi

    Joseph Craig
    DNN MVP
    Posts:11667


    --
    02/03/2010 12:08 AM
    What does or does not happen?  Is there a URL that I could look at?

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    02/03/2010 1:56 AM
    Thanks Again for ur reply. Now let me clear my question. I have set up site on production server as http://IpAddress: PortNumber/Default.aspx i have also add portal alias for that as IpAddress: PortNumber in the portal alias table. now issue is i can browse the home page and the images only i can't access any of other pages(virtual pages that we create in DNN) also cant open Login page. i dont know what to do with it. Waiting for ur reply. Thanks, Abhishek Trivedi
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    02/03/2010 2:27 AM
    When you transferred your site from the local to production server, did you also transfer across all of the DotNetNuke files from your local server? double check your web.config file has the same settings from your local installation.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    02/03/2010 3:11 AM
    I also try to reproduce same thing on local and eventually i did. Here i am mentioning u the steps. I am using Windows Server 7. Dotnetnuke 5.1.4 (1) Create new website in IIS with port number other than 80 (2) Point that new website to your application (3) Grant All Unassigned user to this port (4) Browse the site It opens the home page. But if i click on any link that points to the other page, for ex Login Page it shaws me 404 error. Pls help me as i have too short time now. Waiting for ur reply. Thanks Abhishek Trivedi
    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/01/2010 1:19 AM
    Hi........abhishek facing the same problem? have u found any solution? Thanks in Advance Amit
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    05/01/2010 1:33 AM
    Hi Amit, I had left using portNumber, instead of that i have used virtual directory, and all things works good. Hope this would be helpful to u, if u have any other questions let me know. Thanks, Abhishek
    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/01/2010 3:45 AM
    Hi Abhishek, thanks very much for your quick response. But, prob is that i can't remove port number as on that server already another live website work. so that not work for me. one other issue that if you can solve for me. it is......... When i try to upload on my other production server.....it works fine but in case when i click on logo or register any user and click on register(i.e. when enver NavigateURL() is of DNN ) is use it redirect to other server. I mean to say...... I upload my site on say 192.168.100.200 and when run my site in live using say 152.254.256.20 it is working fine as per our setting both are interlink. But when click on logo it redirect to 192.168.100.200 as website in physically on this server. Is there any way that i can control NavigateURL() and add some setting which redirect the site to other address... I try to edit NavigateURL() function but does not work for me. Any help will be great. Thanks Amit 1.
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    05/01/2010 4:05 AM
    Hi Amit, As far as i understand your problem, it may be due to portal alias problem, that causes the site to redirect to original server it belongs to. so please create instance of the server where you want to run your site to portalalias table and pls dont forget to enter in modified and inserted id fieled of that table. this way is from database, you can also add alias from the host settings. Thanks, Abhishek
    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/01/2010 5:29 AM
    Thanks again, I have done all the settings already as u said. but not working. I have to write 2 IPS as i told you in last post otherwise not working. One is our live IP from provider. and other is our local host id which where files are uploaded. and both have interlink via router. Any idea about other setting ? Thanks Amit
    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/01/2010 5:36 AM
    Hello abhi, Let me ask you one more query may be you can help me.I am a begineer in DNN. I have custom module having category master in our project. Its a very simple logically just insert, update and delete. There is a grid in this page having edit button. Now when i login as host and if i select view mode and click on edit button it is not redirect to edit page. and if i select edit mode from top and do the above things it is working fine. Now when i give to my client he is only view the page and edit the category table , i don't wont to give changes of layout to my client or normal user for this page. Any solution if possible plz. Is there any solution to hide control panel for just normal user. I am using DNN 5.3. i attach page layout may be for more helpful for you to guide me. Thanks in advance, Amit.
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    05/01/2010 6:03 AM

    HI,

    you need to create another user contrl with in your module folder and register that user control from admin side as type = edit and give its key=Edit.

    i think this should work for you.

     

    Thanks,

    Abhishek

    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/01/2010 6:37 AM
    i know three files are created for view, edit, setting etc. and i know if i select manifest and then the custom module .dnn file it will install in my website.
    but i don't know about this type=edit and key=edit . can u plz give me idea where can i find that.?
    And what about hide the Control panel in dnn 5.3. if you know.
    Thanks very much
    Amit
    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/03/2010 8:13 AM
    hi abhishek, still waiting for you response. in follwoing image you can see page index ( a very simple thing) is only working if i select Edit mode from top if i select View Mode from control panal. it is not working . Plz help if you have any idea.
    Abhishek Trivedi
    Nuke Active Member
    Nuke Active Member
    Posts:30


    --
    05/04/2010 12:06 AM

    Hi Amit,

    To hide the control panel u need give rights to your module. Control panel will be visible only for admin and host user.

    You can do so by open the page inside which your module reside then click settings and then give rights to the appropreate users.

    And to have edit module, u can do so by edit your module definition then add definition if not already added then add user control(can be type edit,setting).

     

    Hope that helps you.

     

    Thanks,

    Abhishek Trivedi

    tatva
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    05/04/2010 1:01 AM
    hi abhishek, thanks for you kind response and spent your valuable time for this. I get the point about control panal, but if possible plz discuss in detail the module edit option, bcoz when i install my custom module i register it with DNN 5.3 using select mainfest and then module .dnn file so that module defination not come in picture. If possible for you give me some useful link or just images on my personal email - amitb.patel@server1.com Many thanks for your help, Amit Patel.
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    02/28/2011 7:30 AM
    Hi there,

    I have some problem with the portal alias in DNN 5.06.when I addup a portal alias to my DNN website,only the home page is shown with that portal alias name; as soon as I click on other tabs it acquires it's original IP alias. I have tried to delete the original IP alias from the table but as soon as the website reloads automatically a row is entered in the table with same original IP alias'

    Kindly help me out
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    03/03/2011 10:25 AM
    I don't know of anything that automatically adds portal aliases.

    Besides having an entry in the portalalias table, you must have IIS configured for the correct domain, too.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/03/2011 10:28 PM
    Hi Joseph,
    Thanks for Your reply.Every thing is installed correctly, the thing is only the home page opens up with the portal alias as soon as I click on any other page it's start showing the original IP address( i.e. system's IP address) in the address bar; even if I delete this IP from the alias table, it automatically adds up this IP as soon as the website is reloaded or I click on page other than the homepage.
    And my problem is why doesn't it show the other pages with that portal alias?
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/03/2011 10:35 PM
    One more thing, Is there any way to add up more Payment Processors to the payment settings?
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/03/2011 11:27 PM
    Hi Tatva,

    Your and mine problem seems to be alike . All what happening to me, is same what you have listed in the post
    {

    Hi Abhishek, thanks very much for your quick response. But, prob is that i can't remove port number as on that server already another live website work. so that not work for me. one other issue that if you can solve for me. it is......... When i try to upload on my other production server.....it works fine but in case when i click on logo or register any user and click on register(i.e. when enver NavigateURL() is of DNN ) is use it redirect to other server. I mean to say...... I upload my site on say 192.168.100.200 and when run my site in live using say 152.254.256.20 it is working fine as per our setting both are interlink. But when click on logo it redirect to 192.168.100.200 as website in physically on this server. Is there any way that i can control NavigateURL() and add some setting which redirect the site to other address... I try to edit NavigateURL() function but does not work for me. Any help will be great. Thanks Amit 1.
    }.
    Did you find an solution for that.
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    03/05/2011 8:48 AM
    If the site is redirecting to another site, that usually means that there is an entry in the portalalias table that points to the other site.

    There can be cases where you have links that are hard coded with the URL of the other site. You need to change those to relative links.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/07/2011 2:51 AM
    There is no such any case the URL is hard coded(those pages I am clicking on are Inbuilt pages like host settings etc. The portal alias remains correct until I click on any other page other than home page) as far as the table data is concerned, there is only a single entry which is the portal alias that I require and the other one is the actual IP of the server (on which the website is physically deployed) which is automatically added to the alias table


    Also I wanted to know, how to add more payment processors to the DNN host/Admin settings?
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    03/08/2011 7:29 PM
    Adding additional payment processors: I can't think of a way to do it without doing some custom programming.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/10/2011 4:09 AM
    Thanks for nothing
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    03/10/2011 8:45 AM
    I assumed that your message was related to the "core" payment processors.

    If you look at some of the ecommerce solutions for DotNetNuke, I believe that most of them offer additional payment processors, but these work only inside of those modules. If you are looking for a "store" or something to handle subscriptions to a website, then there are choices.

    What is your specific application?

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    03/11/2011 3:30 AM
    For my project I need to add WorldPay gateway. and want that one in the same drop down in which paypal is shown
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    03/15/2011 6:51 PM
    In that case, you'll need some custom development.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    chirag
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    06/21/2011 9:46 AM
    Can anyone tell me that how can I restrict unregistred user from viewing my website pages means I don't want to do it seperately for each page I want to do it for all of the pages at one time
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    06/21/2011 11:24 AM
    You will need to do this with some SQL. Check the tutorial titled How to Update the DotNetNuke Page Settings Using SQL Queries.

    When you do this, you will need to modify the table TabPermission.

    My suggestion is that you make a backup of your database before doing this, just in case you need to undo everything.

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---