Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8435359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:53:36+00:00 2026-06-10T06:53:36+00:00

I have a javascript Windows Store application that I’m working on, and I needed

  • 0

I have a javascript Windows Store application that I’m working on, and I needed to create a WinRT component for some processing. As soon as I add the reference to that component, I get a javascript error:

0x800a01bd – Javascript runtime error: Object doesn’t support this action.

This occurs on a line w/ the following:

engine = new MyApp.Engine();

Which is defined:

WinJS.Namespace.define("MyApp", {
  Engine: WinJS.Class.define(function() {
    //constructor stuff
    //other stuff snipped for brevity
  }
});

I’m not even accessing any code in my custom component, simply adding the reference causes it to break. Anyone run into this? Googling/Binging has been no help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:53:37+00:00Added an answer on June 10, 2026 at 6:53 am

    I found the answer.

    So in my Javascript code, I had the declaration for a namespace.

    In my WinRT C# component, I was using the same namespace. That namespace apparently stomps out my JS namespace declartion. I changed my WinRT component from this:

    namespace MyApp
    {
      public sealed class SomeClass
      {
      }
    }
    

    to:

    namespace MyAppUtils
    {
      public sealed class SomeClass
      {
      }
    }
    

    And now everything is good..so, Lesson: If you’re using JS and a custom WinRT component, you (apparently) can’t use the same namespace in both.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a application that allows a user to choose some parameters for a
My javascript code open some windows trough: var win = window.open(); I store the
I have Javascript that opens another window and registers a click handler for all
I have a question on javascript window management. My application opens an iframe which
I have this function working <script type=text/javascript> $(window).scroll(function() { if ($(window).scrollTop() == $(document).height() -
I am using Jboss and Netbeans to create Spring MVC web application on windows.
We have an MVC.NET application that encounters fatal errors when it restarts. In our
I have an application where I am using JavaScript on the client-side to build
I have logical application running where i need to store the var algorithmToApply=1 or
In my application I have created some locking / unlocking functionality based on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.