Error on production server

Hi,
My project works fine on the development machine but once I publish and copy the folder over to the production IIS, it does not work.
I'm using WS2008R2 with IIS 7 thedevelopmentmachine has VS2015 installed on it.
It works perfectly fine in a normal non-syncfusion asp.net mvc application (prod and dev).
I find the same problem in this forum (https://www.syncfusion.com/forums/123467/404-error-on-production-server-frustrating), but the solution does not work for me.
You find below the screenshot of the issue.

Regards,

Attachment: Pictures_6d411265.rar

7 Replies

SP Sastha Prathap Selvamoorthy Syncfusion Team November 10, 2017 01:15 PM UTC

Hi Anis, 

We are unable to check the reported problem from our end since we need some more necessary information from your side . Hence kindly share with us the following details which would be helpful for us to provide the prompt solution for the reported problem at the earliest. 
 
  1. Confirmation for the assemblies that have been placed at the bin folder of the application which is hosted in IIS.
  2. Exact console error that you have faced while hosting the application.
  3. Data source details(OLAP/Relational)  and mode details(ClientMode/ServerMode) that have been using in your application.
  4. Browser details that you have using wile run the hosted sample at your end.

Regards, 
Sastha Prathap S. 



AN Anis replied to Sastha Prathap Selvamoorthy November 22, 2017 01:21 PM UTC

Hi Anis, 

We are unable to check the reported problem from our end since we need some more necessary information from your side . Hence kindly share with us the following details which would be helpful for us to provide the prompt solution for the reported problem at the earliest. 
 
  1. Confirmation for the assemblies that have been placed at the bin folder of the application which is hosted in IIS.
  2. Exact console error that you have faced while hosting the application.
  3. Data source details(OLAP/Relational)  and mode details(ClientMode/ServerMode) that have been using in your application.
  4. Browser details that you have using wile run the hosted sample at your end.

Regards, 
Sastha Prathap S. 


Hi,
I check everything  and I don't figure out the problem. I attach bellow the IIS folder and a sample in the second reply.

Regards,
Anis  

Attachment: IIS_5cdc36ff.rar


AN Anis November 22, 2017 01:23 PM UTC



AN Anis November 23, 2017 11:25 AM UTC

Hi,
I found that there is a problem in the theme "ej.web.all.min.css", when I use "@Styles.Render("~/Content/ej/web/bootstrap-theme/ej.web.all.min.css")" in "_Layout.cshtml" , it works (screenshot 1) but there are problems in the filters (it shows all the data no matter which values I select, exp: I want to see the data of the client A so I click on the client field and deselect all and just select the client A, but it shows me all customer data), and if I change the theme to another, it does not work (screenshot 2).

Regards,
Anis

Attachment: Screenshot_12_206b7961.rar


MM Manikandan Murugesan Syncfusion Team November 23, 2017 05:21 PM UTC

Hi Anis, 
 
We have checked your sample and unable to reproduce reported problem at our end. Please refer below screenshot. 
 
 
 
 
 
So, please let us know the below details. 
  • Does the issue occur in both the development machine and production server?
  • If, yes please send the sample that replicating the problem.
 
 
 
Thanks, 
Manikandan. 



AN Anis November 24, 2017 10:24 AM UTC

Hi,
First, I have a problem in the view on the production server (it doesn't show/works propely, just for syncfusion controls), then I have the filters problem in developement and production machine.
You found the sample with this problems here

Regards,
Anis


MM Manikandan Murugesan Syncfusion Team November 27, 2017 09:23 AM UTC

Hi Anis, 

Thanks for the sample. 

We have analyzed your sample and the reported problem occurred due to the unwanted spaces in the data source. Please refer below screenshot. 
 

And, you can resolve the problem by removing the spaces using “trim ()” method. Please refer below code snippet. 
Code Snippet: [javascript] 
function onLoad(args) { 
     $.ajax({ 
             type: "POST", 
             url: "../Home/GetData", 
             contentType: 'application/json; charset=utf-8', 
             dataType: 'json', 
             async: false, 
             success: function (val) { 
                  for (var i = 0; i < val.length; i++) { 
                       val[i]["Defaut"] = val[i]["Defaut"].trim(); 
                       val[i]["Section"] = val[i]["Section"].trim(); 
                       val[i]["Customer"] = val[i]["Customer"].trim(); 
                       val[i]["Order"] = val[i]["Order"].trim(); 
                  } 
                  args.model.dataSource.data = val; 
              }, 
      }); 
} 

Meanwhile, we have modified your sample. Please find the sample in below link. 

Please let us know if you have any other queries. 

Thanks, 
Manikandan. 


Loader.
Up arrow icon