IIS 8.5 Server 2012R2

Dear All

For mor then one day I try now to get my test application running on Server Side.

I have a Server 2012R2
IIS8.5 installed.
All features are allowed as well.

If I run my code out of VisualStudio it is working as ecpected, but after deploying it to the Server it won't run anymore.

I already have checked permissions of folders
MimeTypes
RequestFiltering
The folder has full acces to everyone.

I could break it down to this step.


        function setRecordDoubleClick(e) {
           var txtBoxCallLog = $("#<%=txtBoxCallLog.ClientID%>")[0].value;
           var interactionIDKey =  e.row[0].cells['0'].innerText
           
           var data = ej.DataManager({
               url: "/Default.aspx/GetIntearctionByID",
               adaptor: new ej.WebMethodAdaptor()
           })
           var query = new ej.Query();
           query.addParams("interactionIDKey", interactionIDKey);
                var execute = data.executeQuery(query)
                        .done(function (e) {
                            var data = e.result;
                            $("#<%=txtBoxCallLog.ClientID%>")[0].value = data;
                            
                        });
           
        }

maybe someone can give me a hint where I have to look for.

Thanks Martin

2 Replies

MS Martin Sickel September 16, 2016 07:45 AM UTC

After some extra hours I found it:

                 var data = ej.DataManager({
                    //url: "/Default.aspx/GetIntearctionByID",
                    url: '<%=ResolveUrl("Default.aspx")%>' + '/GetIntearctionByID',
                    adaptor: new ej.WebMethodAdaptor()

I had to change url.

Thanks



KK Karthick Kuppusamy Syncfusion Team September 19, 2016 11:29 AM UTC

Hi  Martin, 
 
We are happy to hear that your requirement is achieved. 
 
Regards, 
K.Karthick. 


Loader.
Up arrow icon