Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 872
  • Last Modified:

InitializeSecurityContext failed

I have several users of my C# .NET program that are getting this error when running gsec.exe to set the user id and password for the database.

All of them have this in common:
they are all running Windows 7 Home Premium
in all cases, when first executing the program, the user id and password were not defined
Firebird version is 2.5.2 (as shown in the properties of FirebirdSql.Data.FirebirdClient.dll

How can I fix this?
0
rmmarsh
Asked:
rmmarsh
  • 4
  • 3
1 Solution
 
NickUpsonSenior Network EngineerCommented:
Please attempt to reproduce using gsec from the commandline so we can tell if the issue is gsec, c# or the interface between the 2
0
 
rmmarshAuthor Commented:
Hi Nick... it doesn't fail for me... let me ask you another question:  I believe the user id and password are the issue.  Since I have created the d/b and tables here (in my office) and then just give them the .fdb file to upload, isn't there a way I can set the user id and password here so it's already in the d/b when they download it?  (the user id and password are the same for all users)
0
 
NickUpsonSenior Network EngineerCommented:
no you cannot "set the user id and password here so it's already in the d/b when they download it" but you could create a security database with the correct id & passwd in and have them install that as well. Note that the internals of the security db are version specific and firebird has to be shutdown while it's replaced.

Another option would be to use the embedded version of firebird, which doesn't care about the userid anyway
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
rmmarshAuthor Commented:
I thought I was using the Embedded version... isn't FirebirdSql.Data.FirebirdClient.dll the embedded version?

0
 
rmmarshAuthor Commented:
One more thing Nick... when I decided to use Firebird several years ago, I thought that using an embedded server would prevent users from networking to the database.  Is this not true with the embedded server?
0
 
NickUpsonSenior Network EngineerCommented:
the embedded one is has "embedded" in the name, If I remember correctly you can network to embedded but only 1 connection at a time is permitted
0
 
rmmarshAuthor Commented:
It looks like you have to have one "regular Firebird server" which will listen for the connections...  thanks, Nick.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now