question

sarang-farhangi avatar image
sarang-farhangi asked ·

ASP.Net- C# sample code to FAX PDF documents



I am new to FAX sending using ringcentral .I got the above error message while working with the code. 

I added the below line to web config.

<add assembly="'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" tagPrefix="extension"/>

still the error exists.

Do we need to replace the clientid and clientsecret id with our registered username and password? 

Please help me to proceed with.
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
Please check  https://github.com/dotnet/standard/issues/542

I was able to fix a similar issue by following the instructions there.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

sarang-farhangi avatar image
sarang-farhangi answered ·
we are using 4.5.2 framework . Tried the code in this link but the same error is still there
3 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Did you try this:  https://github.com/dotnet/standard/issues/542#issuecomment-339516364?

Add <Reference Include="netstandard" /> to csproj file.

If it doesn't work, could you please provide me with a hello world style app with which I can reproduce the issue?
0 Likes 0 · ·

I added the reference here. But still issue is there
This is my code,

using RingCentral;
using System;
using System.Threading.Tasks;
using System.Web.UI;

namespace ringcentral {
public partial class _Default : Page {


protected void Page_Load(object sender, EventArgs e) {

}


public static async Task a() {
RestClient rc = new RestClient("clientId", "clientSecret");

await rc.Authorize("username", "extension", "password");


}


}
}
0 Likes 0 · ·
Really sorry for the late reply. This forum blocked all the IP addresses from My country and I had difficulty login.

I cannot reproduce it. 

Could you please zip your sample project and send it to tyler.liu@ringcentral.com ?  I will try it on my laptop as soon as I receive it. Thanks.
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.