1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Error while Upgrading to sitefinity3.7 to Sitefinity4.0

Error while Upgrading to sitefinity3.7 to Sitefinity4.0

7 posts, 0 answered
  1. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    05 Apr 2011
    Link to this post
    Hi

    I am getting error while migrating my Site from sitefinity 3.7 to 4.0  during migrating pages  from migration menu

    During migrating Pages I am getting following error page


    Server Error in '/Faronics40' Application.

    String or binary data would be truncated.
    The statement has been terminated.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
    The statement has been terminated.

    Source Error:

    Line 297:			}
    Line 298:
    Line 299: m_PageManager.SaveChanges();
    Line 300:
    Line 301: var settingsId = pageGroupContent.Pages[0].Id;

    Source File: C:\sitefinitymigration-5017\Sitefinity4.0\Classes\MigrationPages.cs    Line: 299

    Stack Trace:

    [SQLException: String or binary data would be truncated.
    The statement has been terminated.]
    Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute() +361
    OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute() +53
    OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes) +1812

    [DataStoreException: Insert of '21558530-baa76651-539b-4258-8b82-b65ba06d3e0a' failed: Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
    The statement has been terminated.
    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
    at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
    at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
    INSERT INTO [sf_page_data] ([html_title_], [html_title_bg], [html_title_de], [html_title_en], [html_title_es], [html_title_fr], [html_title_ja], [keywords_], [keywords_bg], [keywords_de], [keywords_en], [keywords_es], [keywords_fr], [keywords_ja], [addtnl_rls_rdrct_t_default_one], [allow_multiple_urls], [buffer_output], [cache_duration], [cache_output], [cache_profile], [comments_count], [crawlable], [culture], [enable_event_validation], [enable_session_state], [enable_theming], [enable_view_state], [enable_view_state_mac], [error_page], [external_page], [head_tag_content], [include_script_manger], [is_auto_created], [last_control_id], [localization_strategy], [locked_by], [maintain_scroll], [master_page], [multiple_navigation_nodes], [page_languagelink_id], [require_ssl], [response_encoding], [sliding_expiration], [template_id], [theme], [trace], [trace_mode], [translation_initialized], [ui_culture], [url_evaluation_mode], [validate_request], [view_state_encryption], [description_], [description_bg], [description_de], [description_en], [description_es], [description_fr], [description_ja], [title_], [title_bg], [title_de], [title_en], [title_es], [title_fr], [title_ja], [url_name_], [url_name_bg], [url_name_de], [url_name_en], [url_name_es], [url_name_fr], [url_name_ja], [allow_comments], [allow_track_backs], [app_name], [approve_comments], [content_id], [content_state], [date_created], [default_page_id], [draft_culture], [email_author], [expiration_date], [last_modified], [last_modified_by], [original_content_id], [ownr], [post_rights], [publication_date], [source_key], [status], [vrsion], [views_count], [visible], [votes_count], [votes_sum], [voa_version]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    (set event logging to all to see parameter values) Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
    The statement has been terminated.
    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
    at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
    at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)]
    DynamicModule.ns.Wrapped_OpenAccessPageProvider_ffe9548908f24c65b47711ff09497125.CommitTransaction() +137
    Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges() +51
    Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent) in C:\sitefinitymigration-5017\Sitefinity4.0\Classes\MigrationPages.cs:299
    Migration.MigrationModule.ImportPages() in C:\sitefinitymigration-5017\Sitefinity4.0\MigrationModule.cs:812
    Migration.MigrationModule.DoMigration(String sourceUrl, String checkedModule) in C:\sitefinitymigration-5017\Sitefinity4.0\MigrationModule.cs:854
    Migration.PublicControls.BackendOverviewControl.BeginMigrationButton_Click(Object sender, EventArgs e) in C:\sitefinitymigration-5017\Sitefinity4.0\PublicControls\BackendOverviewControl.cs:268
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +96
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +102
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4625





    Please Guide me why this error is coming and way to get rid of it

    Thanks,
    Gaurav
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    05 Apr 2011
    Link to this post
    Hi Gaurav,

    Seems the error is coming from the fact that a field in your database exceeds the allowed limits. Could you please check if you have any template names which have too much characters?

    All the best,
    Victor Velev
    the Telerik team

  3. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    05 Apr 2011
    Link to this post
    Hi Victor

    Can you please tell from which table it is fetching data because in Stack Trace I found that it is Showing error because of this value  21558530-baa76651-539b-4258-8b82-b65ba06d3e0a , It seems to be GUID but it is not valid GUID
    so it will be great help for me if I will get the Table name to which I should check.Also I have checked none of any template names which have too much characters.Also none of my Database contains Such values.
    Along with I am also facing problem while migrating Users from Sitefinity 3.7 tables
    It is giving Sql Time Out . My Sitefinity 3.7 database have approx 60,000 users
    Please help me to solve this Problem

    Thanks
    Gaurav
  4. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    06 Apr 2011
    Link to this post
    Hi Victor

    I am not able to Create the Migration Tab by using Sitefinity Migration Tool 0.6 Beta 2 .
    I have cross check my Steps many times I am not missing any steps
    I am following the steps from http://sitefinitymigration.codeplex.com/documentation

    But when I was using the previous version it was creating the Migration Tab . But Unable to migrate the Large number of users and also having other problem so can you please guide me how to create the Migration Tab using Sitefinity Migration Tool 0.6 Beta 2

    Thanks,
    Gaurav
  5. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    06 Apr 2011
    Link to this post
    Hello Gaurav,

    The value you are getting is not a valid GUID. Could you please try and remove  " 21558530- " and try again. The rest of the value is a valid GUID. Also can you tell me which changeset you are using because a colleague of mine has made some optimizations in the last changeset.

    All the best,
    Victor Velev
    the Telerik team

  6. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    06 Apr 2011
    Link to this post
    Hi victor

    In My database there is no such record that contains such records . Or else can you guide me how  and from where to remove the 21558530 .
    and I have downloaded the latest patch from
    http://sitefinitymigration.codeplex.com/releases/view/60594#DownloadId=206341 link
    Also I have tried with change set 7918
    by Lupi

    this is  my web.config

    <?xml version="1.0"?>
    <!--
            Note: As an alternative to hand editing this file you can use the
            web admin tool to configure settings for your application. Use
            the Website->Asp.Net Configuration option in Visual Studio.
            A full list of settings and comments can be found in
            machine.config.comments usually located in
            \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
      <configSections>
        <sectionGroup name="madam">
          <section requirePermission="false" name="formsAuthenticationDisposition" type="Telerik.Sitefinity.Utilities.MS.Madam.FormsAuthenticationDispositionSectionHandler, Telerik.Sitefinity.Utilities" />
          <section requirePermission="false" name="basicAuthentication" type="Telerik.Sitefinity.Utilities.MS.Madam.FormsAuthenticationDispositionSectionHandler, Telerik.Sitefinity.Utilities" />
          <section requirePermission="false" name="userSecurityAuthority" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        </sectionGroup>
      </configSections>
      <appSettings>
        <add key="TestLocalization" value="false"/>
      </appSettings>

      <system.web>
        <siteMap defaultProvider="SitefinitySiteMap">
          <providers>
            <add name="SitefinitySiteMap" type="Telerik.Sitefinity.Web.SitefinitySiteMap, Telerik.Sitefinity" taxonomyProvider="OpenAccessDataProvider" pageTaxonomy="Pages" rootNode="FrontendSiteMap" pageProvider="OpenAccessDataProvider"/>
          </providers>
        </siteMap>
        <membership defaultProvider="Default">
          <providers>
            <clear/>
            <add name="Default" type="Telerik.Sitefinity.Security.Data.SitefinityMembershipProvider, Telerik.Sitefinity"/>
          </providers>
        </membership>
        <globalization uiCulture="auto" culture="auto" resourceProviderFactoryType="Telerik.Sitefinity.Localization.ExtendedResourceProviderFactory, Telerik.Sitefinity"/>
        <!--
                            Set compilation debug="true" to insert debugging
                            symbols into the compiled page. Because this
                            affects performance, set this value to true only
                            during development.
                    -->
        <compilation debug="false" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
          </assemblies>
          <buildProviders>
            <remove extension=".svc"/>
            <add extension=".svc" type="System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
          </buildProviders>
        </compilation>
        <!--
                            The <authentication> section enables configuration
                            of the security authentication mode used by
                            ASP.NET to identify an incoming user.
                    -->
        <authentication mode="Forms"/>
        <customErrors mode="Off"></customErrors>
        <!--
                            The <customErrors> section enables configuration
                            of what to do if/when an unhandled error occurs
                            during the execution of a request. Specifically,
                            it enables developers to configure html error pages
                            to be displayed in place of a error stack trace.

                    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                            <error statusCode="403" redirect="NoAccess.htm" />
                            <error statusCode="404" redirect="FileNotFound.htm" />
                    </customErrors>
                    -->
        <pages>
          <controls>
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
            <add tagPrefix="sitefinity" namespace="Telerik.Sitefinity.Web.UI.Fields" assembly="Telerik.Sitefinity"/>
          </controls>
        </pages>
        <httpHandlers>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
          <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
          <add verb="*" path="Telerik.Sitefinity.FilesDownloadHandler.ashx" type="Telerik.Sitefinity.Modules.Files.FilesDownloadHandler, Telerik.Sitefinity"/>
          <add verb="*" path="Telerik.Sitefinity.LibrariesRadUploadHandler.ashx" type="Telerik.Sitefinity.Modules.Libraries.Web.LibrariesRadUploadHandler, Telerik.Sitefinity"/>
          <add verb="*" path="Telerik.Sitefinity.ThumbnailUploadHandler.ashx" type="Telerik.Sitefinity.Modules.Libraries.Web.ThumbnailUploadHandler, Telerik.Sitefinity"/>
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
          <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
          <add verb="*" path="Telerik.Sitefinity.AsyncImageUploadHandler.ashx" type="Telerik.Sitefinity.Modules.Libraries.Web.AsyncImageUploadHandler, Telerik.Sitefinity"/>
          <add verb="*" path="Telerik.Sitefinity.AsyncFileUploadHandler.ashx" type="Telerik.Sitefinity.Workflow.AsyncFileUploadHandler, Telerik.Sitefinity"/>
          <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" validate="false" />
        </httpHandlers>
        <httpModules>
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="Sitefinity" type="Telerik.Sitefinity.Web.SitefinityHttpModuleIIS6, Telerik.Sitefinity"/>
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
          <add name="SitefinityAnalyticsModule" type="Telerik.Sitefinity.Analytics.Server.DependencyResolution.Module.DependencyRegistrarHttpModule, Telerik.Sitefinity.Analytics.Server.DependencyResolution"/>
          <add name="SitefinityAtompubModule" type="Telerik.Sitefinity.Security.SitefinityAtompubModule, Telerik.Sitefinity" />
        </httpModules>
      </system.web>
      <system.serviceModel>
        <extensions>
          <behaviorExtensions>
            <!--<add name="openAccessWorkflowPersistence" type="Telerik.Sitefinity.Workflow.Data.OpenAccessWorkflowPersistenceElement, Telerik.Sitefinity" />-->
            <!--<add name="openAccessWorkflowTracking" type="Telerik.Sitefinity.Workflow.Data.OpenAccessTrackingBehaviorElement, Telerik.Sitefinity" />-->
          </behaviorExtensions>
        </extensions>
        <bindings>
          <basicHttpBinding>
            <binding name="basicHttpBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">
              <security mode="None"/>
            </binding>        
          </basicHttpBinding>
        </bindings>   
        <behaviors>
          <endpointBehaviors>
              <behavior name="EndpointMigrationServiceBehavior">
                  <webHttp/>
              </behavior>
            <behavior name="SitefinityWebApp.Sitefinity.Services.Content.EventsAspNetAjaxBehavior">
              <enableWebScript/>
            </behavior>
          </endpointBehaviors>
          <serviceBehaviors>
              <behavior name="MigrationServiceBehavior">
                  <serviceMetadata httpGetEnabled="true"/>
                  <serviceDebug includeExceptionDetailInFaults="true"/>
              </behavior>
            <behavior>
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="true"/>          
              <!--<openAccessWorkflowTracking applicationName="/workflow" />-->
            </behavior>
            <behavior name="Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsPermissionsServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
            <behavior name="Telerik.Sitefinity.Analytics.Server.GoogleAnalyticsPlugin.Services.AccountsServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
            <behavior name="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.DashboardDataBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
            <behavior name="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.MapDataServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
            </behavior>
            <behavior name="Telerik.Sitefinity.Web.Services.LocalizationBehavior" ></behavior>
          </serviceBehaviors>
        </behaviors>
        <services>
            <service behaviorConfiguration="MigrationServiceBehavior" name="MigrationService">
                <endpoint address="" binding="webHttpBinding" contract="IMigrationService" behaviorConfiguration="EndpointMigrationServiceBehavior"/>
            </service>
          <service name="SitefinityWebApp.Sitefinity.Services.Content.Events">
            <endpoint address="" behaviorConfiguration="SitefinityWebApp.Sitefinity.Services.Content.EventsAspNetAjaxBehavior" binding="webHttpBinding" contract="SitefinityWebApp.Sitefinity.Services.Content.Events"/>
          </service>
          <service behaviorConfiguration="Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsPermissionsServiceBehavior" name="Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsPermissionsService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" contract="Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsPermissionsService"/>
          </service>
          <service behaviorConfiguration="Telerik.Sitefinity.Analytics.Server.GoogleAnalyticsPlugin.Services.AccountsServiceBehavior" name="Telerik.Sitefinity.Analytics.Server.GoogleAnalyticsPlugin.Services.AccountsService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" contract="Telerik.Sitefinity.Analytics.Server.GoogleAnalyticsPlugin.Services.AccountsService"/>
          </service>
          <service behaviorConfiguration="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.DashboardDataBehavior" name="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.DashboardData">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" contract="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.DashboardData"/>
          </service>
          <service behaviorConfiguration="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.MapDataServiceBehavior"
                   name="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.MapDataService">
            <endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding"
                      contract="Telerik.Sitefinity.Analytics.Server.Infrastructure.Services.MapDataService" />
          </service>
        </services>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
      <!--
                    The system.webServer section is required for running ASP.NET AJAX under Internet
                    Information Services 7.0.  It is not necessary for previous version of IIS.
            -->
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>

        <modules runAllManagedModulesForAllRequests="true">
          <remove name="WebDAVModule" />
          <remove name="UrlRoutingModule"/>
          <remove name="ScriptModule"/>
          <remove name="RadUploadModule"/>
          <remove name="Sitefinity"/>
          <remove name="SitefinityAnalyticsModule"/>
          <remove name="SitefinityAtompubModule"/>
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="Sitefinity" type="Telerik.Sitefinity.Web.SitefinityHttpModule, Telerik.Sitefinity"/>
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
          <add name="SitefinityAnalyticsModule" type="Telerik.Sitefinity.Analytics.Server.DependencyResolution.Module.DependencyRegistrarHttpModule, Telerik.Sitefinity.Analytics.Server.DependencyResolution"/>
          <add name="SitefinityAtompubModule" type="Telerik.Sitefinity.Security.SitefinityAtompubModule, Telerik.Sitefinity" />
        </modules>
        <handlers>
          <remove name="WebDAV" />
          <remove name="ScriptHandlerFactory"/>
          <remove name="ScriptHandlerFactoryAppServices"/>
          <remove name="ScriptResource"/>
          <remove name="UrlRoutingHandler"/>
          <remove name="WildCard"/>
          <remove name="WildCard32"/>
          <remove name="Telerik.Web.UI.DialogHandler"/>
          <remove name="Telerik.RadUploadProgressHandler"/>
          <remove name="Telerik.Sitefinity.FilesDownloadHandler"/>
          <remove name="Telerik.Sitefinity.LibrariesRadUploadHandler"/>
          <remove name="Telerik.Sitefinity.AsyncImageUploadHandler"/>
          <remove name="Telerik.Sitefinity.AsyncFileUploadHandler"/>
          <remove name="Telerik.Web.UI.SpellCheckHandler"/>
          <remove name="Telerik_Web_UI_WebResource_axd" />
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="WildCard" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
          <add name="WildCard32" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
          <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
          <add name="Telerik.RadUploadProgressHandler" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
          <add name="Telerik.Sitefinity.FilesDownloadHandler" path="Telerik.Sitefinity.FilesDownloadHandler.ashx" verb="*" type="Telerik.Sitefinity.Modules.Files.FilesDownloadHandler, Telerik.Sitefinity"/>
          <add name="Telerik.Sitefinity.LibrariesRadUploadHandler" path="Telerik.Sitefinity.LibrariesRadUploadHandler.ashx" verb="*" type="Telerik.Sitefinity.Modules.Libraries.Web.LibrariesRadUploadHandler, Telerik.Sitefinity"/>
          <add name="Telerik.Sitefinity.ThumbnailUploadHandler" path="Telerik.Sitefinity.ThumbnailUploadHandler.ashx" verb="*" type="Telerik.Sitefinity.Modules.Libraries.Web.ThumbnailUploadHandler, Telerik.Sitefinity"/>
          <add name="Telerik.Sitefinity.AsyncImageUploadHandler" path="Telerik.Sitefinity.AsyncImageUploadHandler.ashx" verb="*" type="Telerik.Sitefinity.Modules.Libraries.Web.AsyncImageUploadHandler, Telerik.Sitefinity"/>
          <add name="Telerik.Sitefinity.AsyncFileUploadHandler" path="Telerik.Sitefinity.AsyncFileUploadHandler.ashx" verb="*" type="Telerik.Sitefinity.Workflow.AsyncFileUploadHandler, Telerik.Sitefinity"/>
          <add name="Telerik.Web.UI.SpellCheckHandler" verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" path="Telerik.Web.UI.WebResource.axd" preCondition="integratedMode" type="Telerik.Web.UI.WebResource" />
        </handlers>
      </system.webServer>
      <madam>
        <userSecurityAuthority
            realm="Sitefinity"
            provider="Telerik.Sitefinity.Utilities.MS.Madam.FormsUserSecurityAuthority"
            exposeClearTextPassword="false "/>
        <formsAuthenticationDisposition>
          <discriminators all="1">
            <!-- This discriminator helps detect redirection to the Forms login page. -->
            <discriminator
                inputExpression="Response.RedirectLocation"
                pattern="login.aspx\?returnurl\=" type="Telerik.Sitefinity.Utilities.MS.Madam.RegexDiscriminator" />
            <discriminator type="Telerik.Sitefinity.Utilities.MS.Madam.Discriminator" all="false">
              <discriminator
                  inputExpression="Request.Url"
                  pattern="atompub/.*" type="Telerik.Sitefinity.Utilities.MS.Madam.RegexDiscriminator" />
            </discriminator>
          </discriminators>
        </formsAuthenticationDisposition>
        <basicAuthentication>
          <discriminators all="1">
            <discriminator type="Telerik.Sitefinity.Utilities.MS.Madam.Discriminator" all="false">
              <discriminator
                  inputExpression="Request.Url"
                  pattern="atompub/.*" type="Telerik.Sitefinity.Utilities.MS.Madam.RegexDiscriminator" />
            </discriminator>
          </discriminators>
        </basicAuthentication>
      </madam>
    </configuration>

    Thanks
  7. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    08 Apr 2011
    Link to this post
    Hi Gaurav,

    Do you have the following line in your SystemConfig.config file, situated in ~/App_Data/Sitefinity/Configuration

    <add title="Migration" description="" resourceClassId="" type="Migration.MigrationModule" startupType="OnApplicationStart" version="1.0.0.0" name="Migration" />

    This line should be there under <applicationModules> if the module was installed correctly. If it's not you could try putting a breakpoint in the Install() method inside MigrationModule.cs and see if it executes properly.

    Greetings,
    Liubomir
    the Telerik team

7 posts, 0 answered