Has anyone managed to port ASP.NET Identity Caché Provider to ASP.NET Core?
Edit: this one https://github.com/intersystems-ru/identity_cache I mean
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Has anyone managed to port ASP.NET Identity Caché Provider to ASP.NET Core?
Edit: this one https://github.com/intersystems-ru/identity_cache I mean
I am new to cache. idx is a language for cache database? we have cache database on aix and planning to move to linux, but i was told only aix is supported since idx only works on aix. can someone help me to understand?
thank you very much.
Hope
One aspect of source code management is how to deal with the almost inevitable need to upgrade your Caché or Ensemble platform to a newer InterSystems release.
It's long been my experience that InterSystems does a very good job of maintaining backward compatibility. Code that works correctly on, say, 2012.1 is very likely to work correctly on, say, 2015.2 without any modification.
I'd guess that few sites are in a position to take a "big bang" approach and upgrade all of their instances (e.g. dev, test, live, DR) at the same time.
Hi all,
I am new in Cache. I have to update a record with a long text field, for that, I am using ODBC but the issue is that it is returning an error when I execute the ODBC SQL statement because the field contains some commas, colon, double quotes, single quotes, and CR LF characters.
There is a way to escape this chars? I have seen I can save the field when I replace the single quotes with a double single quote (it's -> it''s) but I can not save the information when the field contains double quote chars. What about the other chars?
Hello,
I'm getting <WIDE CHAR> error in one of my routines, I was thinking a corrupted data or disk out of space or no mount database but all seems to be OK?
I'm running Cache 2014.1.2 and the same routines and data works in our client main server with not problems but having the same copy in their backup server is generating <WIDE CHAR> error, some other reports works but this specific doesn't?
Thanks
Hi I currently have a requirement to upload microsoft documents from a client's PC to a cache database, at present the idea is to use javascript to open the file and convert it to a binary stream and then for cache csp to upload the binary stream to the database. Just wondered if anyone else had attempted this or are there better options !
Regards
Gary
While I'm working in Studio, every now and then, the menu bar gets "unglued" and becomes a window of its own outside of Studio.
Is there a setting that prevents this from happening?
Also, if I happen to close Studio while the menu bar is "loose", the menu bar remains missing when I open a new Studio Session.
Is there a way to get the menu bar back in such a situation?
hi, new here, and new to cache and deepsee.
i've been trying to setup a copy of our production server so we can use it for testing/development.
i did a full backup. moved it to the new server. ran the DBREST command. got it to restore but seems like permissions get all messed up. and it just generates a bunch of errors.
is there an easier/better way of doing this?
Hello community,
I need to perform some processing-heavy operations on a set of input objects and I would like to utilize more than a single processor core to do the heavy lifting.
Is there any way to call methods in parallel and wait for the results in a blocking way?
Basically, I am looking for an equivalent of the pythonese
with Pool(n) as p:
results = p.map(function, data)
Thanks
Jiri
EDIT: Correct English :)
Documentation (http://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls…) states that it looks like:
IRIS for Windows (x86-64) 2018.1 (Build 487U) Tue Dec 26 2017 22:47:10 EST
Does it really true, or just a documentation typo?
Hi Guys,
One of our clients is running Cache 2014.1.4 and for some reason is not recognising UNC paths?
The Path is accessible via windows explorer with no issues (\\backupsvr) and also my works fine when using :
O C:\folder\file.txt:("WNS"):5
but using : O \\backupsvr\folder\file.txt:("WNS"):5 bring an error "Can not create file" knowing that \\backupsvr\folder\ can be accessed via explorer with not issues?
Thanks
This series of articles aims to address the following topics:
WRF to below example my idea is to check whether red is present in the list mylist. You can very well use LINQ on enumerable in C#
mylistProperty2
set =##class
It can be done with iterating over mylist
jmylist
I have one in my testing environment. According to https://community.intersystems.com/post/licensing-ubuntu-and-suse-20171-and-later, I should move to native Ubuntu build with 2017.2. So I downloaded Cache for UNIX (Ubuntu Server LTS for x86-64) 2017.2.1 and tried to update my existing 2015.1.4 installation. What I got was:
Upgrade from lnxsusex64 platform is not allowed.
No packages will be installed.
Meanwhile new Cache 2017.2 instance was installed without any problem.
The question is: how to upgrade an existing one?
It is often necessary to sort the results of a query on a string field containing a combination of alphabetic and numeric characters. In cases like this the default string collation may not always return the data in the expected sequence.
An example of this may be where a select from Samples.Person should order the results by the street address, but firstly ordered by the street number part as numeric, and then by the street name.
The default query will return the results as follows:
SELECTName,Home_Street
FROMSample.Person
ORDERBYHome_Street
| Name | Home_Street |
|---|---|
| Eastman,Richard W. |
I get a list which is formed like below:
$lb("","2",6,6,6,"3")
I would like to distinguish "2" and "3" from 6 since both of them are String types.
Is there any way to achieve this?
Thanks.
Hi Guys,
Can you please advise on the below queries.
Query 1:
Example 1:
S a="345",b="arun",c="kumar",d="hi",e="yello",f="orange"
Example 2:
S a="345" S b="arun" S c="kumar" S d="hi" S e="yello" S f="orange"
Can you please advise me, which one is performance wise is better.
Query 2:
Example 1:
Example 2:
Please advise me, which one is giving better performance in this.
Any lead would be appreciated.
Thanks,
Arun Kumar Durairaj.
Can anyone guide me where is the documentation for $zt?
The google seems suggest it may be "$ztime" or "$ztrap".
Thanks.
Set httprequest=##class(%Net.HttpRequest).%New()
Set httprequest.Server="www.intersystems.com"
Do httprequest.Get("/")
Do httprequest.HttpResponse.OutputToDevice()
Do httprequest.Get("/cache/")
Do httprequest.HttpResponse.OutputToDevice()The above is the code which i found in this link http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?…
How do the above code works and can i be able to run this?
Thanks in advance.
In our last lesson, we implemented a new REST Service to allow us to perform CRU operations on Widgets, and refactored our Controllers to allow the page setup to be decouple from the content.
When we created our Widget Services, we did not implement a Deletion operation, which the HTTP Delete verb provides. As this is a base table for other parts of the Widgets Direct empire, we don't want to be able to do a hard Delete of the WIdget values, as this could cause issues with our ordering and billing modules.
I keep seeing <INVALID OREF>zMypropertyGetSwizzled+3^myClass.2 in the error log. In my case, Myproperty is a property of myClass. And Myproperty points to the the object of other class in the system. This error happens to 2 properties in the same class, and they are both object properties. This error pops up occasionally, and make the debugging harder.
Anyone knows what the issues are?
TIA
Hi Guys,
I'm looking to Remove file from a location to another similar to CUT & Past function, I'm using this :
s file=##class(%File).%New() d file.CopyFile(File,ArchivePath) d file.Delete(File)
and the copying is happening but not the Deleting, and help pls?
Thanks
Hi, iam newbie on caché database.
Iam trying, export data from query.
I read in some article that is not so simple.
So I create a view then a execute a query insert into select statement.
I have problem to know the job progress. I execute an hour ago and nothing happened.
Iam using intersystems web IDE.
Thanks for help!
I am setting up a new Caché instance and I have managed to configure it where Caché username/password is required to initiate the Caché session:
csdfalsdkfjf@fra23e234sco:/opt/labmed/test/test81/proc$ csession cache1
Node: frxxco, Instance: CACHE1
Username:
I cannot find the setting in the management console that allows for unauthenticated login to a Caché session. Any help is much appreciated.
Anyone have any suggestions where to spin up small Cache/IRIS/Ensemble test DBs? Hopefully very low cost (or free) reliable hosting? Obviously AWS has some options but wondering if anyone has had 12 month+ experience with very low cost Cache cloud with AWS, Azure, Google, etc?
Thanks,
Tom Fitzgibbon | gototomATG...l | 3474648531
Hi,
I am getting below error while executing query, This is newly installed cache instance whereas query running fine on old server.
ZWRITE ^rINC("WebServices","PreComp","systeminclude")
^
<NETWORK>
Q00QUASAR:TEST2>ZWRITE ^rINC("WebServices","PreComp")
^rINC("WebServices","PreComp")="61801,57106"
^rINC("WebServices","PreComp","Depends","WebServices")="61801,57106"
^rINC("WebServices","PreComp","Expansion","INIT")="0"_$c(1)_"arg"_$c(1)_"0"_$c(1)_"S wsFault=$$Init^LU090000(%arg,.%ClassName(1),.
Hi,
Getting below error on newly installed cache version 2017.2. This is running fine on another instance.
Q00QUASAR:TEST1>D $system.OBJ.CompileAll()
Detected 1229 errors during compilation in 145.4s.
Instance name:TEST2>D $system.OBJ.CompileAll()
Detected 202 errors during compilation in 211.7s.
Instance name:TEST3>D $system.OBJ.CompileAll()
Detected 784 errors during compilation in 186.6s.
TEST2>do $System.OBJ.CompilePackage("Calendar")
Compilation started on 02/25/18 17:21:33 with qualifiers ''
Compiling 6 classes, using 4 worker jobs
Compiling class Calendar.Country
Compiling class Calendar.
I was running the %File:FileSet class query, with my development user, but I am unable to run this query for an application user. Does anyone know what resource or service is needed to run this query? Assume the user has access to a certain directory on the file system needed for the query.
On second though, having tried almost all the available resources and services, perhaps the user doesn't have access to the directory. How to tell when the error is this:
set ok=st.%PrepareClassQuery("%File","FileSet")
d $system.Status.DisplayError(ok)
ERROR #5540: SQLCODE: -99 Message: User Laura_Test_DEV is not privileged for the operationI would like to know the workflow of macro $$$Fza . If you explain me with example that will help.
I have a 2GB CSP.log file that I need to investigate.
I'm using a %Stream.FileCharacter() object to open the file and then using the .FindAt() to search for a particular string.
I'm seeing the FindAt() stop after processing 49m characters?
Here is my code:
k
s stream=##class(%Stream.FileCharacter).%New()
d stream.LinkToFile("d:\csp.log")
s x=""
s i=0
s j=0
w stream.Rewind()
w stream.AtEnd
w stream.SizeGet()
while(stream.AtEnd=0){set i=stream.FindAt(-1,"Invalid password",x)+i set j=j+1}
w stream.AtEnd
w i
w j
Which gives the following output:
USER>k
USER>s stream=##class(%Stream.FileCharacter).%New()
USER>d stream.LinkToFile("d:\csp.log")
USER>s x=""
USER>s i=0
USER>w stream.Rewind()
1
USER>w stream.AtEnd
0
USER>w stream.SizeGet()
2491024949
USER>while(stream.AtEnd=0){set i=stream.FindAt(-1,"Invalid password",x)+i}
USER>w stream.AtEnd
1
USER>w i
49134354
USER>w j
124520