Abhishek Trivedi
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 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 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 Posts:4945
|
|
Abhishek Trivedi
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 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 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 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 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 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 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 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 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 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 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 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 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 |
|
|