Click here to Skip to main content
15,890,399 members
Home / Discussions / Database
   

Database

 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 6:34
Mark J. Miller17-Mar-08 6:34 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 6:46
Rocky#17-Mar-08 6:46 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Mark J. Miller17-Mar-08 6:56
Mark J. Miller17-Mar-08 6:56 
GeneralRe: Need to execute a very time consuming Stored procedure on a remote machine. Pin
Rocky#17-Mar-08 7:11
Rocky#17-Mar-08 7:11 
Questionavoiding 1/1/1900 in SQL SERVER? Pin
John Sundar14-Mar-08 23:03
John Sundar14-Mar-08 23:03 
GeneralRe: avoiding 1/1/1900 in SQL SERVER? Pin
Rocky#15-Mar-08 1:06
Rocky#15-Mar-08 1:06 
GeneralRe: avoiding 1/1/1900 in SQL SERVER? Pin
Mark J. Miller17-Mar-08 4:54
Mark J. Miller17-Mar-08 4:54 
GeneralBest Practice: Connection Strings to MS-SQL datasource from web application Pin
Leo Smith14-Mar-08 9:18
Leo Smith14-Mar-08 9:18 
I have a question on what is the best method for database connections from a web page to an MS-SQL database (2005 currently)? Let me explain what this is coming from. I am cureently trying to define a standard practice of setting up our web apps from a web server point of view. I don't want Windows Authentication due to multiple browsers hitting and no guarentee that network user names and passwords would be encrypted (I know in the past netscape would pass the user names as clear text, I don't know if this has changed). So I wanted to use a domain name for the anonymous account (easy to port accounts between servers, since nothing has to be duplicated). Now comes the catch to the plan. When I try to setup the SQL connection string I run into several problems. I will list the two wethods I have tried and the problems assoicated with them.

1. <add name="CommonConnectString" connectionString="Data Source=Davinci;Initial Catalog=CommonTable;Persist Security Info=True;User ID=Local_DBO;Password=Ac90_&0w" providerName="System.Data.SqlClient"/>

Problem I have with this method is setup and replication of database. When the tables are replicated between servers, I have to delete the user account and recreate it for the new database (the old SID's don't work on the new machine).

2. <add name="CommonConnectString" connectionString="Trusted_Connection=Yes;APP=Microsoft Data Access Components;SERVER=DAVINCI;DATABASE=Common;UID=domain\webdbo;" providerName="System.Data.SqlClient"/>

This method works fine from a windows application, but won't work from a web application unless windows authenication is turned on (Account has been added to database with proper access rights). Replication should work, though I can't get this string to work, since the SID's are not on the server or the database.

Any assistance in helping me find a way to setup the servers to allow for replication without having to go back and delete and recreate users and account would be greatly appreciated (articles on the subject would assist in not having to get into a lengthy discussion, or assistance on the problem or limitations of the second connection string are probably going to be the easiest to deal with).

Thanks for any help,

Leo T. Smith
Program/Analyst Supervisor

GeneralRe: Best Practice: Connection Strings to MS-SQL datasource from web application Pin
Mark J. Miller17-Mar-08 5:07
Mark J. Miller17-Mar-08 5:07 
GeneralStoring Compressed Image Into SQL Server Pin
abdurrahman oğuz14-Mar-08 6:30
abdurrahman oğuz14-Mar-08 6:30 
GeneralRe: Storing Compressed Image Into SQL Server Pin
Rob Philpott14-Mar-08 6:38
Rob Philpott14-Mar-08 6:38 
GeneralRe: Storing Compressed Image Into SQL Server [modified] Pin
abdurrahman oğuz14-Mar-08 22:40
abdurrahman oğuz14-Mar-08 22:40 
GeneralRe: Storing Compressed Image Into SQL Server Pin
Mark Churchill16-Mar-08 1:57
Mark Churchill16-Mar-08 1:57 
Generalinsert user checkboxlist selections in table Pin
C. L. Phillip14-Mar-08 4:26
C. L. Phillip14-Mar-08 4:26 
GeneralRe: insert user checkboxlist selections in table Pin
Mark J. Miller14-Mar-08 6:28
Mark J. Miller14-Mar-08 6:28 
GeneralRe: insert user checkboxlist selections in table Pin
C. L. Phillip14-Mar-08 9:36
C. L. Phillip14-Mar-08 9:36 
GeneralPlease help me move these records to another table... Pin
Support12314-Mar-08 3:10
Support12314-Mar-08 3:10 
GeneralRe: Please help me move these records to another table... Pin
soni uma14-Mar-08 3:20
soni uma14-Mar-08 3:20 
GeneralRe: Please help me move these records to another table... Pin
Support12314-Mar-08 3:23
Support12314-Mar-08 3:23 
GeneralRe: Please help me move these records to another table... Pin
soni uma14-Mar-08 3:26
soni uma14-Mar-08 3:26 
GeneralRe: Please help me move these records to another table... Pin
Support12314-Mar-08 3:25
Support12314-Mar-08 3:25 
GeneralFetching records based on Boolean operators Pin
sumit703414-Mar-08 0:41
sumit703414-Mar-08 0:41 
GeneralRe: Fetching records based on Boolean operators Pin
GDMFSOB14-Mar-08 0:48
GDMFSOB14-Mar-08 0:48 
GeneralRe: Fetching records based on Boolean operators Pin
sumit703414-Mar-08 0:55
sumit703414-Mar-08 0:55 
GeneralRe: Fetching records based on Boolean operators Pin
GDMFSOB14-Mar-08 1:07
GDMFSOB14-Mar-08 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.