Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

BalasubramanianK

@BalasubramanianK
About
Posts
201
Topics
83
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • System.net.http.httprequestexception Error while copying content to a stream' on 401 API Response
    B BalasubramanianK

    Hi, I have a web API method and it returns IEnumerable. Cases is a wrapper class of "Proc" Class. I am consuming this web API from my client. If Proc has count 0, I can able to get data in my client from Web API. When Proc has value (greater than count 0), I get error "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host". I am working in VS 2017 and .Net Core 2.1 Please advise Cases.cs public partial class Cases { public CaseDetails() { CaseProcedures = new HashSet(); } public int Id { get; set; } public int UniqueNumber { get; set; } public HashSet Proc { get; set; } } Proc.cs public partial class Proc { public int Id { get; set; } public int CasesId { get; set; } }

    Balasubramanian K.

    Web Development csharp asp-net dotnet visual-studio json

  • TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080
    B BalasubramanianK

    Hi, I have an windows application. On button click, I call a service called ServiceA (ServiceA is in my local machine). From ServiceA's method, I hit database and retrieve some records. After retrieved, I call another WCF service called ServiceB (ServiceB is availabled in another machine within network). I have added ServiceB's proxy files in my ServiceA's project. endpoints and bindings are added in wwwroot\web.config. When I try to consume ServiceB's method, I am getting the following error. Could not connect to http://tde017:8080/AdapterService/AdapterService.svc. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Previously, it throws with the port number 80. I configured the another port 8080. Now error is throwing with 8080. But, If I consume the serviceB directly from my windows application, I am getting response. If I go through another service, I am getting error. I tried many scenarios. But, still I could not get solution. Any one help me on this.... Thanks in advance. Regards, Bala

    Balasubramanian K.

    C# help csharp database wcf sysadmin

  • TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 172.21.101.157:8080
    B BalasubramanianK

    Hi, I have an windows application. On button click, I call a service called ServiceA (ServiceA is in my local machine). From ServiceA's method, I hit database and retrieve some records. After retrieved, I call another WCF service called ServiceB (ServiceB is availabled in another machine within network). I have added ServiceB's proxy files in my ServiceA's project. endpoints and bindings are added in wwwroot\web.config. When I try to consume ServiceB's method, I am getting the following error. Could not connect to http://tde017:8080/AdapterService/AdapterService.svc. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Previously, it throws with the port number 80. I configured the another port 8080. Now error is throwing with 8080. But, If I consume the serviceB directly from my windows application, I am getting response. If I go through another service, I am getting error. I tried many scenarios. But, still I could not get solution. Any one help me on this.... Thanks in advance. Regards, Bala

    Balasubramanian K.

    .NET (Core and Framework) help csharp database wcf sysadmin

  • How to deploy thorugh command prompt?
    B BalasubramanianK

    Hi, I have tried to deploy my web application (VS2010 + C#) by adding the project output and building a msi setup. But, I want to do these steps through command prompt. Our command scripts will do all the stpes to deploy in server. That command prompt scripts should do the following things 1. Getting latest version of my solution 2. Adding web deployment project and adding project outputs there 3. Building and deploying in a server.. How to do these things thorugh command prompt only? Thanks in advance.

    Balasubramanian K.

    C# sysadmin csharp tutorial question announcement

  • How to deploy through command prompt only?
    B BalasubramanianK

    Hi, I have tried to deploy my web application (VS2010 + C#) by adding the project output and building a msi setup. But, I want to do these steps through command prompt. Our command scripts will do all the stpes to deploy in server. That command prompt scripts should do the following things 1. Getting latest version of my solution 2. Adding web deployment project and adding project outputs there 3. Building and deploying in a server.. How to do these things thorugh command prompt only? Thanks in advance.

    Balasubramanian K.

    Web Development sysadmin csharp tutorial question announcement

  • How to deploy my website in server by command
    B BalasubramanianK

    Hi, I have tried to deploy my web application (VS2010 + C#) by adding the project output and building a msi setup. But, I want to do these steps through command prompt. Our command scripts will do all the stpes to deploy in server. That command prompt scripts should do the following things 1. Getting latest version of my solution 2. Adding web deployment project and adding project outputs there 3. Building and deploying in a server.. How to do that? Thanks in advance.

    Balasubramanian K.

    ASP.NET sysadmin csharp tutorial question announcement

  • How can I avoid back button after logged out
    B BalasubramanianK

    Thanks to all.

    Balasubramanian K.

    ASP.NET csharp asp-net question

  • How can I avoid back button after logged out
    B BalasubramanianK

    I am using Asp.Net 2.0. How can I avoid using back button after logged out from the page. Thanks in adv.

    Balasubramanian K.

    ASP.NET csharp asp-net question

  • Problem occurred in symbols
    B BalasubramanianK

    Hi All, I am working in Asp.Net 2.0 by code behind C#.Net. I want to show my report in crystal report (VS 2005). My report is getting opened, but, I could not get effect on page navigator symbol/ export symbol. If I click at the Next Page symbol, my page gets blank. The same thing is happening if I click any symbol of Business Objects. More over, at the top of the report, I am getting msg called "Object reference is not set to an instance" Pls help me to over come from this problem. Thanks in adv.

    Balasubramanian K.

    ASP.NET csharp help asp-net visual-studio business

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    Actually, I pass 4 parameters only. If I pass the same into report directly, I can able to view the report. Through coding, I am trapped. However, you have spent your time for me. Thanks a lot.

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    It returns true. I am getting the business objects' symbols(Export, print, Page nagivator, etc.) also at my page followed by my error.

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    "Expression has been evaluated and has no value" is the value I am getting at immediate window of rptDoc.Load(Server.MapPath("Reports/STTCertificateAnnual1.rpt"));

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Error Comes at showing the Crystal Report
    B BalasubramanianK

    All of my code lines are getting debug successfully without any error. But error has been shown at my page by debugging all of my lines. Thanks in adv.

    Balasubramanian K.

    modified on Wednesday, February 17, 2010 7:29 AM

    C# csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    This line throws error as "Load Report Failed"

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Error Comes at showing the Crystal Report
    B BalasubramanianK

    Hi All, I am using Asp.Net 2.0 with C#, Crystal Reports(VS 2005). I am trying to open a report by passing 4 parameters but it gives an error called "Object reference not set to an instance of an object.". While I debug, I did not get err at any line. It goes smooth but finally it gives an error. Can you guide me?. Pls find below my code

    crvSTT.RefreshReport();
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(Server.MapPath("Reports/STTCertificateAnnual1.rpt"));

    ParameterFields paramFields = new ParameterFields();

    ParameterField pfYear = new ParameterField();
    ParameterField pfBACode = new ParameterField();
    ParameterField pfFromClientCode = new ParameterField();
    ParameterField pfToClientCode = new ParameterField();

    pfBACode.ParameterFieldName = "pBACode";
    ParameterDiscreteValue pdvBACode;
    pdvBACode = new ParameterDiscreteValue();
    pdvBACode.Value = strUserId;
    pfBACode.CurrentValues.Add(pdvBACode);
    paramFields.Add(pfBACode);

    pfFromClientCode.ParameterFieldName = "pFromClientCode";
    ParameterDiscreteValue pdvFromClientCode;
    pdvFromClientCode = new ParameterDiscreteValue();
    pdvFromClientCode.Value = txtFromCC.Text;
    pfFromClientCode.CurrentValues.Add(pdvFromClientCode);
    paramFields.Add(pfFromClientCode);

    pfToClientCode.ParameterFieldName = "pToClientCode";
    ParameterDiscreteValue pdvToClientCode;
    pdvToClientCode = new ParameterDiscreteValue();
    pdvToClientCode.Value = txtToCC.Text;
    pfToClientCode.CurrentValues.Add(pdvToClientCode);
    paramFields.Add(pfToClientCode);

    pfYear.ParameterFieldName = "pYear";
    ParameterDiscreteValue pdvYear;
    pdvYear = new ParameterDiscreteValue();
    pdvYear.Value = "Current";
    pfYear.CurrentValues.Add(pdvYear);
    paramFields.Add(pfYear);

    crvSTT.ParameterFieldInfo = paramFields;
    crvSTT.ReportSource = rp.tDoc;
    crvSTT.DataBind();

    Thanks in Adv.

    Balasubramanian K.

    C# csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    "Expression has been evaluated and has no value" is the value I am getting at rptDoc.Load(Server.MapPath("Reports/STTCertificateAnnual1.rpt")); But the report is available in proper place. What I have to do to solve this?

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    "Object reference not set to an instance of an object." is the error I got at my page by came through all the steps of my codes.

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • Object reference not set to an instance of an object.
    B BalasubramanianK

    Hi All, I am using Asp.Net 2.0 with C#, Crystal Reports (VS 2005). I am trying to open a report by passing 4 parameters but it gives an error called "Object reference not set to an instance of an object.". While I debug, I did not get err at any line. It goes smooth but finally it gives an error. Can you guide me?. Here is my code.

    crvSTT.RefreshReport();
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(Server.MapPath("Reports/STTCertificateAnnual1.rpt"));
    ParameterFields paramFields = new ParameterFields();

    ParameterField pfYear = new ParameterField();
    ParameterField pfBACode = new ParameterField();
    ParameterField pfFromClientCode = new ParameterField();
    ParameterField pfToClientCode = new ParameterField();

    pfBACode.ParameterFieldName = "pBACode";
    ParameterDiscreteValue pdvBACode;
    pdvBACode = new ParameterDiscreteValue();
    pdvBACode.Value = strUserId;
    pfBACode.CurrentValues.Add(pdvBACode);
    paramFields.Add(pfBACode);

    pfFromClientCode.ParameterFieldName = "pFromClientCode";
    ParameterDiscreteValue pdvFromClientCode;
    pdvFromClientCode = new ParameterDiscreteValue();
    pdvFromClientCode.Value = txtFromCC.Text;
    pfFromClientCode.CurrentValues.Add(pdvFromClientCode);
    paramFields.Add(pfFromClientCode);

    pfToClientCode.ParameterFieldName = "pToClientCode";
    ParameterDiscreteValue pdvToClientCode;
    pdvToClientCode = new ParameterDiscreteValue();
    pdvToClientCode.Value = txtToCC.Text;
    pfToClientCode.CurrentValues.Add(pdvToClientCode);
    paramFields.Add(pfToClientCode);

    pfYear.ParameterFieldName = "pYear";
    ParameterDiscreteValue pdvYear;
    pdvYear = new ParameterDiscreteValue();
    pdvYear.Value = "Current";
    pfYear.CurrentValues.Add(pdvYear);
    paramFields.Add(pfYear);

    crvSTT.ParameterFieldInfo = paramFields;
    crvSTT.ReportSource = rptDoc;
    crvSTT.DataBind();

    Thanks in Adv :omg:

    Balasubramanian K.

    ASP.NET csharp asp-net visual-studio sysadmin debugging

  • How can I identify the application fully executed?
    B BalasubramanianK

    Yes. It is working fine now. Thanks

    Balasubramanian K.

    ASP.NET csharp question asp-net visual-studio debugging

  • How to identify the application has been executed or not?
    B BalasubramanianK

    I solved this problem. I used waitForExit.

    Balasubramanian K.

    C# csharp question asp-net visual-studio debugging
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups