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 733533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:16:06+00:00 2026-05-14T07:16:06+00:00

I am writing a navigation system in classic ASP (on Windows CE). I require

  • 0

I am writing a navigation system in classic ASP (on Windows CE).
I require a way to dynamically include navigation files based on the calling script.
I have come up with the following code that includes nav.inc that is located in the folder of the calling script to allow different folders to have different navigational features.

This works fine on my Windows test machine but NOT when I deploy to Windows CE. The code and error is shown below. If anyone can provide a work around or any feedback that would be great. Thanks

Code:

<% 
   'Get path name
   Dim i
   fullname = Request.ServerVariables("SCRIPT_NAME")
   my_array=split(fullname,"/")
   fname=my_array(ubound(my_array))
   fname = ""

   For i = 0 to ubound(my_array) - 1
    fname = fname & my_array(i) & "/"
   Next

   fname = fname & "nav.inc"

   Set fs=Server.CreateObject("Scripting.FileSystemObject")

   If (fs.FileExists(Server.MapPath(fname)))=true Then
    Server.Execute(fname)
   End If
  %>

Error:

Microsoft VBScript runtime error:
‘800a01b6’

Description: Object doesn’t support
this property or method:
‘Server.CreateObject’

If I alter the code to just say Set fs=CreateObject("Scripting.FileSystemObject") I get the following error:

Microsoft VBScript runtime error:
‘800a01ad’

Description: ActiveX component can’t
create object:
‘Scripting.FileSystemObject’

Update I have just tried running Server.Execute directly and this fails too. It looks like I do not have any access to the Server object. Is there any work around for this as well?

  • 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-05-14T07:16:06+00:00Added an answer on May 14, 2026 at 7:16 am

    CreateObject and Execute are not supported in Windows CE.
    The <OBJECT> tag is not supported also, so, you are out of luck, sorry.

    Server Object Implementation
    ---------------------------
    
    The Server object provides access to methods and properties on the server. 
    Most of these methods and properties serve as utility functions.
    
    Server method  Windows CE implementation
    -----------------------------------------
    CreateObject   Not supported
    Execute        Not supported
    GetLastError   Not supported
    HTMLEncode     Not supported
    MapPath        Fully supported
    ScriptTimeout  Not supported
    Transfer       Not supported
    URLEncode      Fully supported
    

    Source

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

Sidebar

Related Questions

I'm writing a Navigation-Based iPhone app, and I'd like to have a UIToolBar docked
I am writing an ajax navigation script. I found out i could highlight the
I am writing a css code for a webpage, i have a navigation menu
Writing Classic ASP code in JScript has a lot going for it: more humane
Im writing an app that has a navigation controller as it's main menu system
Dear iPhone Developers, I am writing a Navigation based iPhone application. I want to
I'm writing a JQuery script which evenly spaces variable-sized horizontal navigation links inside a
My application navigation based. UItextView for notes UIViewController. I am writing data for text
I have a WPF System.Windows.Controls.WebBrowser control in a Window. A user can enter information
I'm writing an app with ASP.NET MVC where, for various reasons, the navigation is

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.