Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "nitinrpatel"

Answer

Yes, I am able to share with all another programs.

Hello, It is Working Now. Thank you.

Hello, Still Facing Error. I have tried Manually to run fresh.bat file, it also gived error and close that windown.

Hello, I am also facing issue while using powertool. But I am able to build Powertool Service files are generated without any errors but while I am going to run refresh.bat file I am getting error. And not able to run project.

Hi, No there isn't block. I had taken look in that direction first.

Hello, This is my connection String for tenant, "Data Source=000.00.000.000;Initial Catalog=tenantDBName;Persist Security Info=True;User ID=00;Password=0000000000"

Hello,

this link is not useful for me. PLease provide another solution.

Hello,

  1. I am getting this issue while i am using my mobile app.
  2. here i have attached error image.

please help me ASAE.as I am getting this on my live server.

Hello, Can you guide me for download file code in service file. i am using thi code block for downliading file but getting error on "Response".

		public void ExportPdf(Telerik.Reporting.Report report)
		{
			Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
			Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
			instanceReportSource.ReportDocument = report;

			Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);

			string fileName = result.DocumentName + "." + result.Extension;
			string path = System.IO.Path.GetTempPath();
			string filePath = System.IO.Path.Combine(path, fileName);

			Response.Clear();
			Response.ContentType = result.MimeType;
			Response.Cache.SetCacheability(HttpCacheability.Private);
			Response.Expires = -1;
			Response.Buffer = true;

			Response.AddHeader("Content-Disposition",
								string.Format("{0};FileName=\"{1}\"",
											  "attachment",
											  fileName));

			Response.BinaryWrite(result.DocumentBytes);
			Response.End();
		}
Answer

Hello, I have made some changes in files to solve my issue. I had removed dependancy on "TwilioSmsSenderConfiguration" file and applied my credentials on "TwilioSmsSender" page as below.

public class TwilioSmsSender : ISmsSender, ITransientDependency
    {
        public async Task SendAsync(string number, string message)
        {
            try
            {
                TwilioClient.Init("AccountSid", "AuthToken");

                MessageResource resource = await MessageResource.CreateAsync(
                body: message,
                @from: new Twilio.Types.PhoneNumber("SenderNumber"),
                to: new Twilio.Types.PhoneNumber(number));
            }
            catch (Exception E)
            {
                throw new UserFriendlyException(E.Message);
            }
        }
    }
Showing 1 to 10 of 34 entries