Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Ranjana Admin

Ranjana Admin

★ JanBask Expert
Share
131Questions
736Answers
177.6KViews on questions

dml statement cannot operate on trigger.new or trigger.old

If you're seeing the error "DML statement cannot operate on Trigger.new or Trigger.old" in Salesforce, it means you're trying to perform a DML operation (Insert, Update, Delete) directly on these collections inside a trigger. Here’s why this happens and how to fix it: 1. Why Does This Error Occur? Trigger.new and…

Salesforce

Answered Mar 4, 2025 · 3.2K Views Read answer →

How to escape from access restricted to API-only users error message?

If you're seeing the "Access restricted to API-only users" error in Salesforce, it means your user profile is set to API-only access, preventing you from logging in through the UI. Here’s how to fix it:1. Check Your User Profile SettingsGo to Setup → Users → Profiles.Find the profile assigned to your user.Look for the…

Salesforce

Answered Mar 4, 2025 · 7.0K Views Read answer →

How to deploy a custom app using the salesforce package xml?

Deploying a custom app in Salesforce using package.xml requires the Metadata API and ANT Migration Tool. Here’s a step-by-step guide to get it done smoothly: 1. Install the Required Tools Download and install Salesforce ANT Migration Tool. Ensure you have Java JDK installed. 2. Retrieve the Metadata Components First,…

Salesforce

Answered Mar 4, 2025 · 6.3K Views Read answer →

How to resolve the apex compile error: variable does not exist?

If you're encountering the Apex compile error: "Variable does not exist", it usually means Salesforce cannot recognize the variable in your code. Here’s how to troubleshoot and fix the issue: 1. Check Variable Declaration Ensure the variable is declared before it is used. Example of incorrect usage:public class…

Salesforce

Answered Mar 4, 2025 · 8.8K Views Read answer →

How is oracle schema different from database or user?

In Oracle, the terms Schema, Database, and User are related but have distinct meanings. Here’s how they differ: 1. What is an Oracle Schema? A schema is a collection of database objects (tables, views, indexes, procedures, etc.) owned by a specific user. It is automatically created when a user is created. Example: If…

SQL Server

Answered Feb 21, 2025 · 8.2K Views Read answer →

What should I do - ora 01017 invalid username password logon denied

The ORA-01017: invalid username/password; logon denied error in Oracle occurs when the provided credentials are incorrect or the authentication method is misconfigured. Here’s how to troubleshoot and fix it:1. Check Username and PasswordEnsure you are using the correct username and password.Oracle usernames and…

SQL Server

Answered Feb 21, 2025 · 5.2K Views Read answer →

How to setup postgres initdb with a custom data directory?

To set up PostgreSQL's initdb with a custom data directory, follow these steps:1. Choose a Custom Data DirectoryPostgreSQL stores database files in a default location, but you can specify a custom one.For example, let's set it to: /custom/path/to/pgdata2. Run initdb with the -D OptionUse the -D flag to specify the…

SQL Server

Answered Feb 21, 2025 · 9.4K Views Read answer →

Python - TypeError: Object of type 'int64' is not JSON serializable

The error "TypeError: Object of type 'int64' is not JSON serializable" in Python occurs when trying to convert a NumPy int64 object into JSON using json.dumps(). The built-in JSON encoder in Python does not recognize NumPy data types directly. Why Does This Happen? json.dumps() only supports basic Python data types…

Python

Answered Feb 21, 2025 · 13.1K Views Read answer →

Why sfdx is not recognized as an internal or external command?

If you’re seeing the error "sfdx is not recognized as an internal or external command", it usually means the Salesforce CLI (SFDX) is either not installed correctly or not added to the system's PATH variable. Here’s how to troubleshoot and fix it:1. Check If SFDX Is InstalledRun the following command to verify the…

Salesforce

Answered Feb 21, 2025 · 11.3K Views Read answer →

git untrack folder-Remove a folder from git tracking

If you want to remove a folder from Git tracking but keep it locally, follow these steps: 1. Stop Tracking the Folder Git tracks files even if they are removed from the repository. To untrack a folder: git rm -r --cached folder_name

Devops

Answered Feb 21, 2025 · 12.6K Views Read answer →

More members from the SQL Server community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.