500 Server Error with new .net 4.0 code on Rackspace Cloud...

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.
12/28/2010 12:59:31 PM
Gravatar
Total Posts 165

500 Server Error with new .net 4.0 code on Rackspace Cloud...

Hey Joe,

Was going to try 4.0 code, for some reason all I get is the 500 Server Error, and Rackspace tells me that the domain I'm trying this on is in the 4.0 test area.

I am using the medium trust web.config and made the changes I was to make.  I have a great deal of 3.5 sites running but wanted to try 4.0 out.

Can you suggest something that I maybe missing?

Mark

12/28/2010 1:01:58 PM
Gravatar
Total Posts 18439

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Hi Mark,

Start with Basic Troubleshooting to find out the error.

Hope it helps,

Joe

12/28/2010 1:04:56 PM
Gravatar
Total Posts 165

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Hey Joe,

Well, Can't get to the logs because it always supplies the 500 Server Error and I have set the customerror to off and still supplies the 500 Errors, that's why I'm at a lost.

http://www.meethesaunders.com.asp1-20.websitetestlink.com  is the URL of the test site.

12/28/2010 1:08:35 PM
Gravatar
Total Posts 18439

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

That means the error is probably related to Web.config, it cannot load Web.config therefore it can't use the settings to show the error detail. You will have to find out the error from your host. Typically this happens when the framework version is not correct like if using the 3.5 mojo files under .NET 4 or using the 4.0 mojo files under .NET 3.5, but it can also be cause by something as simple as a typo in your Web.config file. In any case the error should be logged on the server in the application log so the host should be able to find out the error detail.

Hope it helps,

Joe

12/28/2010 1:11:04 PM
Gravatar
Total Posts 165

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Thanks Joe... I'll give that a shot... I'll let you know the out come.

12/28/2010 1:43:33 PM
Gravatar
Total Posts 165

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Rackspace is saying it's a web.config error and says there are no errors on the server.  Supplied me with http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770149 URL to take a look at.

 

12/29/2010 7:33:25 AM
Gravatar
Total Posts 18439

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Hi Mark,

Can you zip up your Web.config file and email it to me at joe dot audette at g mail dotcom

I will make a small modification to it and send it back for you to try.

Best,

Joe

12/29/2010 8:39:44 AM
Gravatar
Total Posts 18439

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Sorry Mark,

I tried to help but we need more help from rackspace, it is not sufficient to say its a web.config error and point to the doc about breaking changes in .NET 4, I already know about those breaking changes and our Web.config file is correct for .NET 4.

We need rackspace to provide the error details to get further, just saying its a web.config error is not sufficient, we need the exact error. I would restore the original Web.config file (not the one I sent you but the one you sent me) then pressure rackspace for more details.

Best,

Joe

12/30/2010 8:53:47 AM
Gravatar
Total Posts 165

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Just to supply an update... Rackspace has informed me that there are no error logs for this domain on the server and that it's 100% web.config issue. 

I'm starting to step through the web.config but have not found one thing that looks like it's out of place.  I have to say I'm at lost on my next step.

Mark

12/30/2010 8:58:26 AM
Gravatar
Total Posts 165

Re: 500 Server Error with new .net 4.0 code on Rackspace Cloud...

Well Joe... I can't believe I going to say this, but I found it... There was no space between the word ConnectionString" and value= so it would not all the web.config to load.

But now I have to find out why it's not connecting to the DB and I'm golden.

Thanks for all your help,

Mark

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