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
Jagannath Birajdar 23Jagannath Birajdar 23 

Visualforce Error:  The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.

I have created below VF page, I it is allowing me to submit case and case is being created in traget org (Lightning out funtion is used.), however when clicke on Submit it throws below error. Kindly someone help me on this.
Code:
<script src="https://persidev1-mydruva.cs19.force.com/DruvaLightning/lightning/lightning.out.js" />
   <script>
    $Lightning.use("c:LtngOutDependancy",    // name of the Lightning app
        function() {                  // Callback once framework and app loaded
            $Lightning.createComponent(
                "c:DRC_SubmitNewCase", // top-level component of your app
                { },                  // attributes to set on the component when created
                "LtngOutCompDiv",   // the DOM location to insert the component
                function(cmp) {
                    // callback when component is created and active on the page
                }
            );
        },
        'https://persidev1-mydruva.cs19.force.com/DruvaLightning'  // Community endpoint
    );
</script>
  
<div id="LtngOutCompDiv"> </div>


Error:
Visualforce Error: 
The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.
Raj VakatiRaj Vakati
My understaing is profile might not have access this visualforce page .. .

Please check and make sure the proile is having access