System.InvalidOperationException: 'Unable to generate a temporary class (result=1)' SALESFORCE

Viewed 20

I am getting this error message while trying to run my web application written in C#

enter image description here

Code:

public SalesForceManager()
{
    SforceService = new SforceService();
}

Been searching for almost 2 hours and nothing seems to work for me.

Take a look, i found this:

SIMILAR PROBLEM

but it did not work for me.

What is it happening here?

1 Answers

I was able to solve my problem by doing this:

  1. Get the reference.cs file from my ASP.NET project

  2. Find all the occurrences of [][]

  3. REPLACE THEM with []

Link to the website: information

Related