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 57
Web Platform Evangelist.

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 57
Web Platform Evangelist.

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 57
Web Platform Evangelist.

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

11/16/2011 7:53:08 AM
Gravatar
Total Posts 17

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

Hi Guruprasad,

Any help would be highly appreciated. Please read my pre-posts and see if you help.

 

 

Thanks in advance,

Reena

11/16/2011 7:59:32 AM
Gravatar
Total Posts 57
Web Platform Evangelist.

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

Hi Reena,

I've completely read your posts, you can reach me through skype for any help. My Skype ID: GuruprasadMe

11/16/2011 8:48:18 PM
Gravatar
Total Posts 17

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

Hi Guruprasad,

Accessing your help via skype will not be feasible for me during the hectic office hours. Would be highly grateful if you do this here itself.

 

Thanks ,

Reena

11/17/2011 6:59:52 AM
Gravatar
Total Posts 57
Web Platform Evangelist.

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

Hi Reena,

Its not about assisting here, that's not quite simple to understand it clearly, so its better if i can take a look at the issue found in the deployment scenario. That's why i suggested skype, if not, you can reach me over the phone at +91-996-236-4108. Shall be happy to assist with what i can do and upto my knowledge! Thank You. :-)

11/17/2011 7:14:06 AM
Gravatar
Total Posts 18439

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

Hi,

I'm still convinced that my previous answer on the other thread was the solution. I'm adding more screen shots here to show all the steps and make it clearer:

step 1

step 2

step 3

step 4

make sure "Verify that file exists" is not checked for .aspx extension, if it is checked then IIS will return a 404 for requests where the .aspx file does not exist on disk which is the case for mojoPortal urls.

It is the same problem as this thread from last year, and these screen shots were sent to me by that user once he finally resolved it.

Hope that helps,

Joe

11/17/2011 11:06:24 PM
Gravatar
Total Posts 17

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

Hi Joe,

First of all a big thanks to you for taking out all the time to help me. I had exactly followed what you had suggested me to do. But it didn't solve help me solve the problem. Any other suggestion?

 

 

Thanks,

Reena

11/20/2011 11:58:03 PM
Gravatar
Total Posts 17

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

Hi Joe,

I tried hosting the site on the local server which didn't have Windows 2003 R2 but Windows 2003 and to my surprise it worked. But the question still remain unresolved as to how to host it on the server I have been trying to host on? Is Windows 2003 R2 creating problems?

 

Thanks,

Reena

11/21/2011 11:03:55 AM
Gravatar
Total Posts 18439

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

I do not believe it has anything to do with operating system version, it has to be something about configuration on that server.

Does that server have lots of things installed on it?

Custom isapi filters or things like that can be a factor. 

There can also be problems with ASP.NET if you install Cold Fusion on the server, it can break some of the handler mappings.

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