Giter Club home page Giter Club logo

Comments (7)

rcdmk avatar rcdmk commented on June 1, 2024 1

Hi.

This is a know issue. It just shows up when debugging is enabled.

Clients won't see this error.

I've thought this issue was solved some time ago. I'll reopen it to have it on sight.
#19

from aspjson.

rcdmk avatar rcdmk commented on June 1, 2024 1

And about the session dependency, I'll add this to the backlog as a feature for the next releases.

from aspjson.

rcdmk avatar rcdmk commented on June 1, 2024

Hi.
LCID is the locale code, that determines the default format for numbers and dates.

It's used here to set the required date and number formats for the JSON standard without requiring users to change their server/app configuration.

If your server/app is configured to use the US international standards, you could remove any session reference from the classes.

I can change this behaviour by making custom formatters, but I don't know if it's worth the work required.

What do you think about this?

from aspjson.

japboy avatar japboy commented on June 1, 2024

My environment is JP, so it should be as it is. And I actually tried to remove actualLCID and session.LCID from the source code and then ASP started returning an error 0x800A0046 Permission denied somehow.

Do you think this error is because the environment is not US international standards?

Thanks.

from aspjson.

rcdmk avatar rcdmk commented on June 1, 2024

Hi again.

I don't think so.

There must be another point of failure.

Removing this should just have changed the way dates and numbers are outputted on the JSON string.

If you post the error here, I can take a look at it. The error code, message and line will suffice.

from aspjson.

japboy avatar japboy commented on June 1, 2024

Thanks for your help @rcdmk

I just found that the error occurs when JSONarray instance runs class_terminate

set js = new JSONobject fails with error 0x800a0046:
https://github.com/rcdmk/aspJSON/blob/master/jsonObject.class.asp#L999

error screenshot:
https://gyazo.com/f443fb8e8950734369578f5c6223eb77

this actually didn't occur in my another environment with iisexpress on Windows 10. and this doesn't seem to relate to LCID and session because i could reproduce this error with your original source code and my source code which i removed LCID dependency btw.

do you see any solution to solve this?

thanks again.

from aspjson.

japboy avatar japboy commented on June 1, 2024

Thanks for your concerns!

from aspjson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.