Comments (7)
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.
And about the session dependency, I'll add this to the backlog as a feature for the next releases.
from aspjson.
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.
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.
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.
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.
Thanks for your concerns!
from aspjson.
Related Issues (20)
- LoadRecordSet timing out within ArrayPush > Ubound Array HOT 8
- vbBack not a valid ASP/VBScript constant HOT 4
- Can this be used in a normal vbscript HOT 1
- ASP Syntax error "class JSONobject" HOT 2
- Fails to parse object array (even your own example) HOT 4
- Loading JSON into Array - looping the Array HOT 6
- Error when nesting HOT 7
- Tinyint type with MySQL HOT 1
- class JSONarray 's version may be wrong? HOT 1
- handling post request from axios or vueresource HOT 6
- Handling Arrays When Using Key Value Pairs HOT 3
- add lcase as an option when LoadRecordset HOT 3
- Problem when adding Parse, Add and Loadrecordsets HOT 3
- Usage File/Manual HOT 2
- JSON works on React? HOT 2
- Can't access array after parse HOT 4
- Loop through objects to get the property name HOT 2
- Encoding Issue - loop's. HOT 3
- Hoy to read array and nested objects HOT 1
- Extended quote characters are converted to other characters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspjson.