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. Image for the cookie policy date

Publishing to web hosting provider

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

5 Replies

AP Arun Palaniyandi Syncfusion Team July 31, 2017 01:21 PM UTC

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


LE Leon August 1, 2017 01:06 PM UTC

Perfect....this is working now.

Thanks for your help.




AP Arun Palaniyandi Syncfusion Team August 2, 2017 12:14 PM UTC

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. 



MI mistakiesh December 28, 2021 01:16 PM UTC

Thanks for sharing it with the screenshot, I had a similar problem back then but since I'm using php hosting their support system usually takes care of it. Can you let please let me know if you have taken another platform for your web hosting?



KR Keerthana Rajendran Syncfusion Team December 31, 2021 11:20 AM UTC

Hi Mistakiesh, 
 
Sorry, we couldn't understand your concern related to the web hosting. So, please let us know the exact issue/queries which you are facing in web hosting platforms with more information to proceed further. 
 
Regards, 
Keerthana R. 


Loader.
Up arrow icon