Visual Force page does not invoking lightning component

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I have created a managed beta package for testing purpose and I have installed it on a newly created fresh org and while I am trying to preview a visualforce page which is invoking a lightning component the lightning component is not loading and showing an error in console "Failed to load resource: the server responded with a status of 404 (Not Found)".
And while I am installing the same package on old org which was created approx 1 month before the visualforce page is working fine.



---------------Visualforce page ---------



 <apex:page controller="abc" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
<apex:includeLightning />
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en" style="height:90%">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Display Data</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<apex:slds />
</head>

<body style="height:100%">
<!-- REQUIRED SLDS WRAPPER -->
<div class="slds-scope" style="height:100%" id="data">

</div>
</body>


<script>
$Lightning.use("!namespace:lightningApp", function()
$Lightning.createComponent("!namespace:lightningComponent",
"data",
function(cmp)
// do some stuff
);
);
</script>

</html>










share







New contributor




Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    up vote
    0
    down vote

    favorite












    I have created a managed beta package for testing purpose and I have installed it on a newly created fresh org and while I am trying to preview a visualforce page which is invoking a lightning component the lightning component is not loading and showing an error in console "Failed to load resource: the server responded with a status of 404 (Not Found)".
    And while I am installing the same package on old org which was created approx 1 month before the visualforce page is working fine.



    ---------------Visualforce page ---------



     <apex:page controller="abc" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
    <apex:includeLightning />
    <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en" style="height:90%">
    <head>
    <meta charset="utf-8" />
    <meta http-equiv="x-ua-compatible" content="ie=edge" />
    <title>Display Data</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <apex:slds />
    </head>

    <body style="height:100%">
    <!-- REQUIRED SLDS WRAPPER -->
    <div class="slds-scope" style="height:100%" id="data">

    </div>
    </body>


    <script>
    $Lightning.use("!namespace:lightningApp", function()
    $Lightning.createComponent("!namespace:lightningComponent",
    "data",
    function(cmp)
    // do some stuff
    );
    );
    </script>

    </html>










    share







    New contributor




    Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have created a managed beta package for testing purpose and I have installed it on a newly created fresh org and while I am trying to preview a visualforce page which is invoking a lightning component the lightning component is not loading and showing an error in console "Failed to load resource: the server responded with a status of 404 (Not Found)".
      And while I am installing the same package on old org which was created approx 1 month before the visualforce page is working fine.



      ---------------Visualforce page ---------



       <apex:page controller="abc" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
      <apex:includeLightning />
      <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en" style="height:90%">
      <head>
      <meta charset="utf-8" />
      <meta http-equiv="x-ua-compatible" content="ie=edge" />
      <title>Display Data</title>
      <meta name="viewport" content="width=device-width, initial-scale=1" />

      <apex:slds />
      </head>

      <body style="height:100%">
      <!-- REQUIRED SLDS WRAPPER -->
      <div class="slds-scope" style="height:100%" id="data">

      </div>
      </body>


      <script>
      $Lightning.use("!namespace:lightningApp", function()
      $Lightning.createComponent("!namespace:lightningComponent",
      "data",
      function(cmp)
      // do some stuff
      );
      );
      </script>

      </html>










      share







      New contributor




      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have created a managed beta package for testing purpose and I have installed it on a newly created fresh org and while I am trying to preview a visualforce page which is invoking a lightning component the lightning component is not loading and showing an error in console "Failed to load resource: the server responded with a status of 404 (Not Found)".
      And while I am installing the same package on old org which was created approx 1 month before the visualforce page is working fine.



      ---------------Visualforce page ---------



       <apex:page controller="abc" showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
      <apex:includeLightning />
      <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en" style="height:90%">
      <head>
      <meta charset="utf-8" />
      <meta http-equiv="x-ua-compatible" content="ie=edge" />
      <title>Display Data</title>
      <meta name="viewport" content="width=device-width, initial-scale=1" />

      <apex:slds />
      </head>

      <body style="height:100%">
      <!-- REQUIRED SLDS WRAPPER -->
      <div class="slds-scope" style="height:100%" id="data">

      </div>
      </body>


      <script>
      $Lightning.use("!namespace:lightningApp", function()
      $Lightning.createComponent("!namespace:lightningComponent",
      "data",
      function(cmp)
      // do some stuff
      );
      );
      </script>

      </html>








      software-development developer





      share







      New contributor




      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      Rameshvar Dayal

      1




      1




      New contributor




      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Rameshvar Dayal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "423"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Rameshvar Dayal is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f121985%2fvisual-force-page-does-not-invoking-lightning-component%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Rameshvar Dayal is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Rameshvar Dayal is a new contributor. Be nice, and check out our Code of Conduct.












          Rameshvar Dayal is a new contributor. Be nice, and check out our Code of Conduct.











          Rameshvar Dayal is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f121985%2fvisual-force-page-does-not-invoking-lightning-component%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Long meetings (6-7 hours a day): Being “babysat” by supervisor

          Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

          Confectionery