We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Publishing to web hosting provider

Thread ID:

Created:

Updated:

Platform:

Replies:

131828 Jul 28,2017 11:16 PM Aug 2,2017 08:14 AM ASP.NET Core 3
loading
Tags: Rotator
Leon
Asked On July 28, 2017 11:16 PM

On development environment everything is working perfect. Once I publish to production in a web hosting company. None of the syncfusion controls are displaying on the screens. The image below is an example of the error message:

 
Any ideas ? I am publishing ASP.net core app using web deployment.

Thanks

Arun Palaniyandi [Syncfusion]
Replied On July 31, 2017 09:21 AM

Hi juan, 

Thanks for contacting Syncfusion support. 

We have validated this issue and tried to reproduce in Staging  server as you mentioned and we can able to reproduce the issue. After analyzing, we found that this issue occurred due to the Syncfusion themes and scripts references are not added in the staging and production environment. Hence, you have to add the required Syncfusion themes and scripts in your Staging, Production environment also to resolve this issue. 



Layout.cshtml 
 
<head> 
…… 
    <environment names="Development"> 
        <link rel="stylesheet" rel='nofollow' href="~/lib/bootstrap/dist/css/bootstrap.css" /> 
        <link rel="stylesheet" rel='nofollow' href="~/css/site.css" /> 
        <link rel='nofollow' href="~/lib/syncfusion-javascript/Content/ej/web/bootstrap-theme/ej.web.all.min.css" rel="stylesheet" /> 
        <link rel='nofollow' href="~/lib/syncfusion-javascript/Content/ej/web/responsive-css/ej.responsive.css" rel="stylesheet" /> 
 
    </environment> 
    <environment names="Staging,Production"> 
        <link rel="stylesheet" rel='nofollow' href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/css/bootstrap.min.css" 
              asp-fallback-rel='nofollow' href="~/lib/bootstrap/dist/css/bootstrap.min.css" 
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /> 
        <link rel="stylesheet" rel='nofollow' href="~/css/site.min.css" asp-append-version="true" /> 
               <link rel='nofollow' href="~/lib/syncfusion-javascript/Content/ej/web/bootstrap-theme/ej.web.all.min.css" rel="stylesheet" />    // Need to add these theme reference in here too 
        <link rel='nofollow' href="~/lib/syncfusion-javascript/Content/ej/web/responsive-css/ej.responsive.css" rel="stylesheet" /> 
    </environment> 
</head> 
<body> 
 
 
    <environment names="Development"> 
        <script src="~/lib/jquery/dist/jquery.js"></script> 
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> 
        <script src="~/js/site.js" asp-append-version="true"></script> 
        <script src="~/lib/jsrender/jsrender.min.js"></script> 
        <script src="~/lib/syncfusion-javascript/Scripts/ej/web/ej.web.all.min.js"></script> 
    </environment> 
    <environment names="Staging,Production"> 
        <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js" 
                asp-fallback-src="~/lib/jquery/dist/jquery.min.js" 
                asp-fallback-test="window.jQuery"> 
        </script> 
        <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/bootstrap.min.js" 
                asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js" 
                asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"> 
        </script> 
        <script src="~/js/site.min.js" asp-append-version="true"></script> 
                <script src="~/lib/jsrender/jsrender.min.js"></script>    // Need to add these script reference in here too 
        <script src="~/lib/syncfusion-javascript/Scripts/ej/web/ej.web.all.min.js"></script> 
    </environment> 
</body> 


  
 We have also hosted the application in our staging server for your reference below: 


Please check the shared information and if the shared details still do not meet your requirement, send us more information to help us provide a solution.  
            
Regards, 
Arun P

Leon
Replied On August 1, 2017 09:06 AM

Perfect....this is working now.

Thanks for your help.



Arun Palaniyandi [Syncfusion]
Replied On August 2, 2017 08:14 AM

Hi Juan, 
 
We are glad that your issue has been resolved. 
 
Please let us know if you have any queries in future. 
 
Regards, 
Arun P. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;