Issues after uploading to Arvixe

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/28/2013 11:05:38 AM
Gravatar
Total Posts 7

Issues after uploading to Arvixe

I created my website in my development environment using WebMatrix.  It handled all the code download and setup.  

Everything runs fine in development.  I am trying to host it at Arvixe as you guys recommend and I am having issues.  I backed up my database and restored it on the Arvixe server.  I changed my connection string to point to the Arvixe SQL Server and ran the website in development and it ran fine.  I assumed that all was well with the database.

I then copied all the files in my wwwroot folder to the wwwroot folder on the Arvixe hosting site.  I set the permissions on the wwwroot folder to read only and let it cascade to all lower folders.  I then set the permissions on app_data and data to read and write and cascaded again.

When I try to go to the website I get the error

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

I went into the webconfig file and set the customerror to off.  When I went back to the site, I got the same error.

I checked the currentlog.config file and nothing is showing up there.

It makes me think it is not even getting to the webconfig file.

What am I missing?  I just copied the files in the WebMatrix Project root folder.  Do I need to do some kind of build in Visual Studio?  

I am running Visual Studio 10, so I am assuming when WebMatrix created the mojoportal project it downloaded the .Net 4 version.

Need help quickly.  I have two days to get the site up and running and I have had an open ticket with Arvixe for 6 hours now and no response. 

2/28/2013 11:24:51 AM
Gravatar
Total Posts 18439

Re: Issues after uploading to Arvixe

Is your Arvixe web control panel configured for .NET 4?

If it fails to load web.config it is most likely a framework mismatch or a typo in web.config or user.config (which is where your db connection string should be).

In general I'm not a fan of the approach of creating site content on a local machine then uploading it. I would have just installed it at Arvixe and created the content there after installation. There is a site setting to close a site so that no-one can see the pages except the admin so that the content can be created before launching publicly.

But it should be a solvable problem once the error details are known.

Hope that helps,

Joe

2/28/2013 11:45:11 AM
Gravatar
Total Posts 7

Re: Issues after uploading to Arvixe

 

Thanks for the quick response.

My original attempt was to install it on there site and configure there, but the installation kept failing and when I entered a support ticket, they said they preferred I develop locally and upload.

When I look at the site settings I see this:

ASP.NET 1.1: Disabled
ASP.NET 2.0: Enabled
ASP.NET 4.0: Enabled

How can I confirm that my site files are configured for .net 4?

2/28/2013 11:45:50 AM
Gravatar
Total Posts 2202

Re: Issues after uploading to Arvixe

If you get an error in Arvixe's Control Panel when trying to view your website properties, the .NET Framework version mismatch is the most likely culprit. To get around the problem, go to the File Manager in the Control Panel, rename your web.config to something else like web-net4.config and then go back to the website properties and set the .NET version to 4.0 under the "Extensions" tab. At this point, the Control Panel will automatically create a new web.config file. Go back to the file manager and delete the web.config file that was created by the Control Panel and rename your web-net4.config file to web.config. Your site should be operational at this point.

HTH,
Joe D.

2/28/2013 12:34:27 PM
Gravatar
Total Posts 7

Re: Issues after uploading to Arvixe

That got me farther than before.  I wasn't able to view the properties before. I changed it from .NET 2 to .Net 4.  I went back and replaced the web.config created by Arvixe with my earlier file.  When I go to the website now, I get

 

This webpage is not available

The webpage at http://www.broadcastsports.org.petunia.arvixe.com/ might be temporarily down or it may have moved permanently to a new web address.
Error 103 (net::ERR_CONNECTION_ABORTED): Unknown error.

This was my attempt using their pointer.  Get the same error using www.broadcastsports.org.

I went into the web.config file and turned off the customerrors and I still got the same message.

In checking the currentlog.config file after I attempt to open the website, I get these three lines:

 

2013-02-28 12:29:23,964 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started. 
2013-02-28 12:29:24,339 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task 
2013-02-28 12:29:24,339 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread 

 

Anymore thoughts would be appreciated.

2/28/2013 12:43:23 PM
Gravatar
Total Posts 18439

Re: Issues after uploading to Arvixe

Did you update the db connection string in Web.config or user.config? It should be in user.config

​If it has the wrong connection string in user.config it is probably timing out trying to connect to it.

2/28/2013 12:47:11 PM
Gravatar
Total Posts 18439

Re: Issues after uploading to Arvixe

Also you said you restored the db at Arvixe. Doing that usually orphans the db user so you would need Arvixe to help you either restore the db user or create a new one that is a dbo (database owner), the user from your local db is not going to work and the one listed in the Arvixe control panel was likely orphaned when the db was restored.

2/28/2013 12:47:35 PM
Gravatar
Total Posts 7

Re: Issues after uploading to Arvixe

Guys, thanks for all your help.  I just got it working.  I owe you a beer.

 

2/28/2013 12:47:50 PM
Gravatar
Total Posts 18439

Re: Issues after uploading to Arvixe

Actually your site appears functional to me now.

2/28/2013 12:50:52 PM
Gravatar
Total Posts 7

Re: Issues after uploading to Arvixe

Joe Audette, just sent you a beer.  Enjoy.  I may be back with more questions on Site Membership Pro later today.

 

Joe Davis, you need a beer link.

 

 

2/28/2013 12:55:12 PM
Gravatar
Total Posts 18439

Re: Issues after uploading to Arvixe

Glad its working! Thanks for the beer!

Cheers,

Joe

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