function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LSKozLSKoz 

Partner Portal Down

Currently getting this when I try to log in to the ISV Partner Portal.

 

DML currently not allowed 
An unexpected error has occurred. Your development organization has been notified.

 

hitesh90hitesh90

Hi,

 

I think you are performing DML operation in your constructor. because of that it gives you error.

Solution :- Remove the DML statement from Constructor and write another function in your class and call it through action method of your VF page. see below Example..

 

Visualforce Page:

<apex:page controller="ctrlCustomController" action="{!callOnLoad}"> 
	<apex:form >

	</apex:form>
</apex:page>

 

Apex Class:

public class ctrlCustomController {    
	//Constructor
    Public ctrlCustomController(){
		
	}
	//Apex function
    public pagereference  callOnLoad() {
		//Put DML statement Here...
		return null;
    }   
}

 

Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator
My Blog:- http://mrjavascript.blogspot.in/

LSKozLSKoz
Tell Salesforce that... it's their portal.
Ashish_SFDCAshish_SFDC

Hi LSKoz, 

 

Looks like there is some code that is hitting the DML Governor limit, can you elaborate a bit if the issue is still not resolved. 

Also, see the link below,

http://salesforce.stackexchange.com/questions/7615/dml-not-allowed-in-page-action

 

Regards,

Ashish

LSKozLSKoz
This is the Salesforce ISV portal...

It's a bit better now but every now and then I come across this issue.

This is a product of Salesforce, not mine.
Ashish_SFDCAshish_SFDC

Hi LSKoz, 

 

We do not have this recorded at with us at the moment, If this issue can be replicated please let us know or raise a support case so that we can proceed with the Investigation.

 

Regards,

Ashish, Salesforce.com