error Access Denied
Wednesday, 27 March 2024 · 3 messages · last reply 28 Mar 2024
SS
Synnott, Stephane27 Mar 2024 20:36 #
Hi,
I have a C# .net application on my local machine, I have started the BaseX server and I want to use BaseX in my .Net application but as soon as I want to create a Session: Session session = new Session("localhost", 1984, "admin", "admin");
I also tried with no username and password but it is the same result. I get an "Access Denied".
What am I missing?
Thanks in advance,
Stephane
________________________________
IMPORTANT NOTICE: This message may contain confidential or privileged information and is intended only for the individual named. If you are not the intended recipient you should not disseminate, distribute or copy this email. Please notify the sender immediately if you have received this email by mistake and delete it from your system.
AVIS IMPORTANT: Le pr?sent courriel peut contenir des renseignements confidentiels ou privil?gi?s et est strictement r?serv? ? l'usage du destinataire pr?vu. Si vous n'?tes pas le destinataire pr?vu, vous ne devez pas diffuser, distribuer ou copier ce courriel. Veuillez aviser imm?diatement l'exp?diteur si vous avez re?u ce courriel par erreur et supprimez-le de votre syst?me.
EK
Eliot Kimber28 Mar 2024 13:42 #
If you’re using version 10 or newer there is no default admin password—you have to set it as a one-time task after you start the server for the first time.
See https://docs.basex.org/wiki/Database_Server
Cheers,
Eliot
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
Digital Content & Design
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
Quoted text · BaseX-Talk · 14 lines
From: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of Synnott, Stephane <Stephane.Synnott at sen.parl.gc.ca> Date: Wednesday, March 27, 2024 at 5:20 PM To: basex-talk at mailman.uni-konstanz.de <basex-talk at mailman.uni-konstanz.de> Subject: [basex-talk] error Access Denied [External Email] Hi, I have a C# .net application on my local machine, I have started the BaseX server and I want to use BaseX in my .Net application but as soon as I want to create a Session: Session session = new Session("localhost", 1984, "admin", "admin"); I also tried with no username and password but it is the same result. I get an “Access Denied”. What am I missing? Thanks in advance, Stephane IMPORTANT NOTICE: This message may contain confidential or privileged information and is intended only for the individual named. If you are not the intended recipient you should not disseminate, distribute or copy this email. Please notify the sender immediately if you have received this email by mistake and delete it from your system. AVIS IMPORTANT: Le présent courriel peut contenir des renseignements confidentiels ou privilégiés et est strictement réservé à l’usage du destinataire prévu. Si vous n’êtes pas le destinataire prévu, vous ne devez pas diffuser, distribuer ou copier ce courriel. Veuillez aviser immédiatement l’expéditeur si vous avez reçu ce courriel par erreur et supprimez-le de votre système.
SS
Synnott, Stephane28 Mar 2024 14:15 #
Thanks Eliot that worked.
Stephane
Quoted text · Eliot Kimber · 32 lines
From: Eliot Kimber <eliot.kimber at servicenow.com> Sent: Thursday, March 28, 2024 8:42 AM To: Synnott, Stephane <Stephane.Synnott at sen.parl.gc.ca>; basex-talk at mailman.uni-konstanz.de Subject: Re: error Access Denied [***EXTERNE/EXTERNAL***] If you’re using version 10 or newer there is no default admin password—you have to set it as a one-time task after you start the server for the first time. See https://docs.basex.org/wiki/Database_Server Cheers, Eliot Eliot Kimber Sr Staff Content Engineer Digital Content & Design O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow> From: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de<mailto:basex-talk-bounces at mailman.uni-konstanz.de>> on behalf of Synnott, Stephane <Stephane.Synnott at sen.parl.gc.ca<mailto:Stephane.Synnott at sen.parl.gc.ca>> Date: Wednesday, March 27, 2024 at 5:20 PM To: basex-talk at mailman.uni-konstanz.de<mailto:basex-talk at mailman.uni-konstanz.de> <basex-talk at mailman.uni-konstanz.de<mailto:basex-talk at mailman.uni-konstanz.de>> Subject: [basex-talk] error Access Denied [External Email] Hi, I have a C# .net application on my local machine, I have started the BaseX server and I want to use BaseX in my .Net application but as soon as I want to create a Session: Session session = new Session("localhost", 1984, "admin", "admin"); I also tried with no username and password but it is the same result. I get an “Access Denied”. What am I missing? Thanks in advance, Stephane IMPORTANT NOTICE: This message may contain confidential or privileged information and is intended only for the individual named. If you are not the intended recipient you should not disseminate, distribute or copy this email. Please notify the sender immediately if you have received this email by mistake and delete it from your system. AVIS IMPORTANT: Le présent courriel peut contenir des renseignements confidentiels ou privilégiés et est strictement réservé à l’usage du destinataire prévu. Si vous n’êtes pas le destinataire prévu, vous ne devez pas diffuser, distribuer ou copier ce courriel. Veuillez aviser immédiatement l’expéditeur si vous avez reçu ce courriel par erreur et supprimez-le de votre système. ***EXTERNE: Ce message provient de l’extérieur de la Cité parlementaire. Évitez de cliquer sur un lien hypertexte, une pièce jointe ou de partager des informations si vous ne connaissez pas l’expéditeur. N’hésitez pas à communiquer avec le Centre de service des TI si vous avez des questions. ***EXTERNAL: This email originates from outside the parliamentary precinct. Avoid clicking on a hyperlink, an attachment or sharing information if you don't know the sender. Do not hesitate to contact the IT Service Desk if you have any questions.
Written for BaseX 10.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery