Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
i had a working WCF on the localmachine but when uploading to the datacenter it failed

As the class was static it is created when the service is accessed and the DB user specified didn't have access to the DB, this caused the whole service to fail without generating a catchable exception and  the hosting center wouldn't allow me write a trace log via a listener
so made remote debugging a matter of trial an error disabling code till it started to work

using a non static a simple try catch can be used 

Paul Durrant, Feb 11, 2014
Reply 2
Angel, 

The main reason the static keyword was removed was so it would support multiple database connections concurrently. 
Hope this helps. 

Jack
Jack Poorte, Feb 02, 2014
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas