Stability Issues

Topics: Troubleshooting
May 17, 2011 at 5:07 PM

 I still have regular issues with stability on my site.  It is frequently offline (multiple times daily) with various errors . At the moment it's "An unexpected exception occurred while binding a dynamic operation."  Eventually the errors will go away without me doing anything.  I still can't enable Lucene without things going down (perhaps due to GoDaddy's multiple instances trying to lock the same files.  It seems like I'm forced to give up GoDaddy, but I have to think that there are people using it just fine too.  How can it go down so frequently?

Coordinator
May 17, 2011 at 5:20 PM

People seem to have especially bad experiences with GoDaddy. Is there a recurring pattern that you can see in the log files (look in App_Data\logs)?

May 17, 2011 at 7:06 PM

The thousands of files makes it difficult to find things!  The vast majority of them are zero-length.  I've sent you a recent one to look at.  Everytime I try to install a module I get "None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.Packaging.Controllers.PackagingServicesController' can be invoked with the available services and parameters."  Sporadically I just get "\ not found" exceptions.  Othertimes I get the "binding a dynamic operation" message.  So many ways to fail with GoDaddy.

Coordinator
May 17, 2011 at 7:08 PM

Yes, the log thing is http://orchard.codeplex.com/workitem/17774. Thanks.

May 17, 2011 at 7:41 PM

Honestly at this point, the inability to activate modules is the biggest deal (though constant crashes is bad too...).  It was preventing me from starting up Lucene, but now that I"m moving away from GoDaddy I need enable Import-Export.  It claims that it's enabled, but when I go to the admin page (http://{host}/Admin/ImportExport/Import) I get the "none of the constructors found with policy" message.  If we can resolve that one issue then I can pack up and move to a new hoster.

Coordinator
May 17, 2011 at 7:44 PM

Is this SqlCe? If so, just bring all your files home.

May 17, 2011 at 7:46 PM

I wish.  I don't remember why I did this, but I'm on SQL Server 2008 on GoDaddy.  With DiscountASP it's an upgrade for SQL Server so I went with CE there.

Coordinator
May 17, 2011 at 7:51 PM

Well, can you export the database? Are they providing tools for that?

May 17, 2011 at 7:58 PM

I just did that actually and have it running on my home machine.  I'll try to run the import/export module from here.  Does that "constructors with policy" error relate to requiring full trust?

Coordinator
May 17, 2011 at 7:59 PM

I don't know, sorry.

May 17, 2011 at 8:10 PM

Fixed it.  It's that old "recipe disabled by default" issue.  http://orchard.codeplex.com/discussions/253529

This really has to be addressed.  There is no way to run the command tool on the remote host (as far as I know) yet it's disabled and no one seems to know how to manually update it via database queries or other means.  On my home machine I have it working now by running the tool, so I was able to enable import/export

Coordinator
May 17, 2011 at 8:12 PM

Yes, there is, you can enable the web command line from the experimental module and run it from there.

May 17, 2011 at 8:20 PM

But I can't enable the experimental module either!  I can't enable *any* module until Recipes is enabled.

Coordinator
May 17, 2011 at 8:24 PM

Even if you upload it manually and only then enable it?

May 18, 2011 at 5:40 AM

After a few errors I was able to enable it!  I have the Recipe module enabled now, which has enabled me to get a few things running.  It hasn't helped with stability, but at least I can export.  Now I'm fighting how long an import takes with a 1MB file and it times out.  Always something.  :-(

Coordinator
May 18, 2011 at 5:49 AM

That's http://orchard.codeplex.com/workitem/17833, although the title mentions Azure.