More in this section

Forums / Developing with Sitefinity / Staging server problem

Staging server problem

4 posts, 0 answered
  1. Bill Deihl
    Bill Deihl avatar
    6 posts
    28 Sep 2007
    04 Aug 2008
    Link to this post

    I have a test website build on my dev box. It works fine.

    I pushed the site out to my staging server so my client can look at it and it won’t display.

    Thanks for any help.



    8/4/2008 6:35:13 PM [UNKNOWN]
    ID: 4b01adfe-d730-4e85-8065-6d8ab1389cef; Code: 3005; Occurrence: 8; Sequence: 16

    Application information:
     Machine name: ****
     OS Version: Microsoft Windows NT 5.2.3790 Service Pack 2
     Product Version: 3.2.1616.2
     Application Path: C:\Inetpub\wwwroot\****\
     Debug: True

    Process information:
     Process ID: 4052
     Process Name: w3wp

    Request information:
     Request URL: /Default.aspx
     Rewrite URL: http://*****/Default.aspx
     Url Referrer:  Is Authenticated: False
     Authentication Type:  User:  User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
     User Address: ***.***.***.***


    - L0 -------------------------------------------------------------------------------

    Exception Type: System.TypeInitializationException

    Message: The type initializer for 'Telerik.Cms.CmsWorkflowService' threw an exception.

    Source: Telerik.Cms

    Stack Trace:
       at Telerik.Cms.CmsWorkflowService.Initialize()
       at Telerik.Cms.CmsManager.OnInitialized()
       at Telerik.ManagerBase`1.Initialize()
       at Telerik.ManagerBase`1..ctor(String providerName)
       at Telerik.ManagerBase`1..ctor()
       at Telerik.Cms.CmsManager..ctor()
       at Telerik.Cms.Web.UrlHelper..cctor()
    - L1 -------------------------------------------------------------------------------

    Exception Type: System.Data.SqlClient.SqlException

    Message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

    Source: .Net SqlClient Data Provider

    Stack Trace:
       at Nolics.ORMapper.DataProviders.SQLDataProvider.Open()
       at Telerik.DataAccess.NolicsHelper.SetConnection(String connectionName, String providerName)
       at Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config)
       at Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
       at Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings)
       at Telerik.ManagerBase`1.SetProvider(String providerName)
       at Telerik.ManagerBase`1..ctor(String providerName)
       at Telerik.ManagerBase`1..ctor()
       at Telerik.Cms.CmsWorkflowService..ctor()
       at Telerik.Cms.CmsWorkflowService..cctor()


  2. Joe
    Joe avatar
    138 posts
    24 Sep 2012
    05 Aug 2008
    Link to this post
    Hey Bill,

    Thanks for contacting us. 

    The  first error about CMS Workflow service could be caused by Sitefinity in a Medium Trust environment. The Sitefinity module providers cannot get their database objects created in that trust level. To prevent this, you need to enforce database upgrade in full trust environment, in your local Web site. For more info on using Sitefinity in medium trust, please read section Medium Trust Support in our User Manual.

    The SQL Exception you're receiving is caused by Sitefinity not being able to connect to your database. This is likely caused by a faulty connection string, so please ensure that all the info is correct. At times, your server might have so much load that it cannot handle another application. You could try extending the timeout period in the connection string, so your application will have more time to try connecting to the database, as shown below this sentence:

            <add name="Sitefinity" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;connection timeout=30; AttachDBFilename=|DataDirectory|Sitefinity.mdf" providerName="System.Data.SqlClient"/>

    I hope that I have provided solutions for your technical issues. Feel free to contact us if your problems persist.

    Best Wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Bill Deihl
    Bill Deihl avatar
    6 posts
    28 Sep 2007
    05 Aug 2008
    Link to this post

    Thanks for the reply Joe.

    I tried the connection string change first. No help there.

    I added <trust level="Full" /> and the site came right up.

    It’s my own server so the trust level is not a problem to set.

    Are there any other issues I should be concerned about running in full trust.

    I appreciate your help.


  4. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    08 Aug 2008
    Link to this post
    Hello Bill Deihl,

    As Joe said, we have instructions about running the project in Medium Trust environment, which can be found in the User Manual, section Medium Trust Support.
    There are no restrictions in Full Trust, so everything should be fine if you're running your project in such environment.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered