NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanl on February 15, 2012, 12:32:10 AM

Title: Secwin and connecting to a SQL Database
Post by: johanl 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
Title: Re: Secwin and connecting to a SQL Database
Post by: TimR 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.
Title: Re: Secwin and connecting to a SQL Database
Post by: johanl 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
Title: Re: Secwin and connecting to a SQL Database
Post by: TimR 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.