>I have a webservice made up of 2 projects aeService and aeCommon. Within aeCommon I have a class DB that sets and retrieves the DBConnection String.
>
>Main Webservice method accepts an id, a password and an xml file of inventory as parameters and then calls DB.SetDBConn(strRetailerID, strPassword). This main method then starts parsing the xml file and calls functions in the db class to insert records into the appropriate sql database.
>
>Unfortunately, if 2 applications call this webservice at the same time It's like the dbconnection string is overwritten and then the xml starts going to the wrong sql database.
You probably have the same problem I had recently. Remove the Shared attribute of the related variables/methods and that should work.