Need help to setup site from localhost to the server

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/14/2011 11:14:15 PM
Gravatar
Total Posts 17

Need help to setup site from localhost to the server

Hello Joe,

I am in urgent need of your help. I have a website which i developed using mojoPortal on my local machine and which is running well and now want to host it on the server. With the help of your documentation as that you have provided I have done the following:

1)Taken the backup of the database on my local and restored it on one server say Y where i have my database.

2)I have zipped the whole application not published it and extracted it on another server say X where i want to host it .I have extracted the application inside C:/inetpub/wwwroot/mojoportal

3)I have then configured it on the IIS by making a virtual directory as UptownMojo giving the Application Protection as ASPNET4 and Execute Permissions as Scripts and Executables with Group or user name as NETWORK SERVICE.

4) I have then deleted all the systemfiles as directed from inside WEb folder(from both Data and Sites folders)

5)I have established the connection with the database in the webconfig and the user config.

6)I have also given write permissions to the Group/username NETWORK SERVICE for both Data and App_Data folders.

After following all these steps i am only able to view the Default page and when i navigate to another pages which are all working fine  on my local show page 404 error. At this point it is not possible for me to populate the database on the server. How do i resolve this. Your help would be highly appreciated. Thanks in advance.

Reena

 

 

 

11/15/2011 6:27:32 AM
Gravatar
Total Posts 18439

Re: Need help to setup site from localhost to the server

Are you seeing the mojoPortal 404 page or the IIS 404 page?

Is the site at a public url where I can see it?

11/15/2011 6:54:40 AM
Gravatar
Total Posts 17

Re: Need help to setup site from localhost to the server

Hi,

A big thanks for reverting back so fast to help me. I am getting IIS 404 page error when i navigate it from default page. The admin however is working fine.

The site is at public url which is as:

http://devweb.tsgdomain.com/uptownmj/

 

Thanks

Reena

11/15/2011 7:19:07 AM
Gravatar
Total Posts 17

Re: Need help to setup site from localhost to the server

Hi Joe,

Just for your information i just saw that the site seems to be working when i concatenate something like default.aspx?pageid=1,2,3,4 etc with http://devweb.tsgdomain.com/uptownmj/. It seems to be working fine. I tried implementating the extensionless urls as well but didnt help. You can access the admin as well with http://devweb.tsgdomain.com/uptownmj/Secure/Login.aspx with admin@admin.com and admin as Username and Password.

 

 

Thanks

Reena

11/15/2011 7:39:23 AM
Gravatar
Total Posts 18439

Re: Need help to setup site from localhost to the server

Hi,

What is happening is, the pages are dynamic, ie they don't really exist on disk and IIS is returning a 404 before .NET code can handle the request.

If you look around in the IIS settings, somewhere you will see a checkbox to turn off IIS 404, I can't remember exactly where it is in IIS 6 but it is there, if you look around you should be able to find it.

Hope that helps,

Joe

11/16/2011 4:55:29 AM
Gravatar
Total Posts 17

Re: Need help to setup site from localhost to the server

Hi Joe,

Following your suggestion what i did is:

1).Opened the IIS Manager and from the Web Service Extensions---> Clicked  the "All Unknown CGI Extensions"

2). To enable this Web service extension (which is disabled by default), clicked it to Allow.

But still to my surprise it didnot help i am still getting IIS Page 404.

How do i resolve this?

 

Thanks,

Reena

 

11/16/2011 6:33:55 AM
Gravatar
Total Posts 58
"Digg-in yourself to achieve excellence!" Follow #GPsays

Re: Need help to setup site from localhost to the server

Hi Reena,

If i(Also being a MojoPortal Developer/Enthusiast) can take up this call with Joe i feel i can go ahead and help you in this issue upto my experience on both IIS 6 and 7, 7.5,

what i see here is, you are running website on IIS 6 on Windows Server 2003 R2, if im correct. But Can you please check whether you have installed any 3rd party URL Rewriters or any other Web Server like Apache, etc. forwarding to the same port number 80.

Also I see that you've used Zone Edit for configuring the Name servers, I'm not used to it, so what i recommend is, can you check on a similarly configured Windows Server 2003 R2 in your testing environment(that is just configured with a domain)???

11/16/2011 6:42:41 AM
Gravatar
Total Posts 18439

Re: Need help to setup site from localhost to the server

See my answer on your other thread

11/16/2011 6:49:56 AM
Gravatar
Total Posts 58
"Digg-in yourself to achieve excellence!" Follow #GPsays

Re: Need help to setup site from localhost to the server

Hi Joe,

Came across an error respective to this thread and his peer thread,

I got an email update for the update of this thread as http://www.mojoportal.com/Forums/Thread.aspx?thread=9265&mid=34&pageid=5&ItemID=7&pagenumber=1#post38446

but when i click on it, it took me to "Access Denied Page"

but the same page was accessible from your link

See my answer on your other thread.

why is this so? I guess this must be a BUG right?

11/16/2011 6:56:11 AM
Gravatar
Total Posts 18439

Re: Need help to setup site from localhost to the server

Yes, there is a bug in the forums currently in that links to deleted posts result in access denied when they really should have a friendlier post not found message. I already have a ticket in our project tracker to fix this and plan to fix it soon.

Best,

Joe

11/16/2011 7:01:44 AM
Gravatar
Total Posts 58
"Digg-in yourself to achieve excellence!" Follow #GPsays

Re: Need help to setup site from localhost to the server

That sounds great Joe,

Thanks for the reply,

Also a small suggestion from my end that, if there's a feature on this Rich Text Editor having a "Attach an Image" would help any Mojo user to show his/her error and spot it accurately to get his/her help and might help the thread followers too!

Thank You in Advance.

Guruprasad Balaji

You must sign in to post in the forums. This thread is closed to new posts.