NetTalk Central

Author Topic: Secwin and connecting to a SQL Database  (Read 3426 times)

johanl

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Secwin and connecting to a SQL Database
« on: February 15, 2012, 12:32:10 AM »
Hello I have a webserver app and it uses a SQL DB I set the ini file for db settings in processlink in the webhandler procedure but after adding secwin I get the defualt SQL logon screen. I did set the global parameter string in the Secwin template as well.

Any suggestions?

Thanks

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Secwin and connecting to a SQL Database
« Reply #1 on: February 15, 2012, 11:52:00 AM »
This probably isn't much help, but I'm using secwin and mssql and it is working. I set the owner string before the parent call to Processlink.

johanl

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: Secwin and connecting to a SQL Database
« Reply #2 on: February 15, 2012, 11:37:03 PM »
Hello Tim

I set my connection string in the webhandler, processlink before parent code and i can connect to the database and browse the data but when I use that connection string in the secwin settings I get the SQL logon screen.

No sure what we are doing differently

Johan

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Secwin and connecting to a SQL Database
« Reply #3 on: February 16, 2012, 04:34:50 PM »
Ahh, I misunderstood, your question.  You have to set the owner string for the secwin tables in the global embeds after the "Program Setup" before the "Secwin - initialize".  I have a different owner string for the other tables in my app, so that's why I answered incorrectly.