You need to sign in to do that
Don't have an account?
surens
Some codes run in one developer org but the same code doesn't run in another one developer org.
Hi All,
I have found some code for creating customer portal user . But unfortunately that code run in one developer account the same codedoesn't run in another one developer org. (I do only the copy & paste work)
The code available like:
http://wiki.developerforce.com/page/ExampleApexCustomerPortalUser
Error: Compile Error: Invalid constructor syntax, name=value pairs can only be used for Subjects at line 106 column 18
please help
dont do copy you may be miss some dependencies like any field or labels you created specific to that program.
Bettter prefer change sets or eclipse
If this answers your question make it as solution.
It's trying to use a constructor for something besides the User sObject.
I bet in the instance where it doesn't work, there's an Apex class named "User"