ASP.Net Web Service returns no data after deployment -
visual studio 2010 .net framework 4.0 iis 7.0 windows server 2008 within visual studio solution have: - website project - webservice project
basically, website function calls webservice methods select/insert/update data.
this works fine when try run through visual studio, not work on server. - using visual studio 2010 express on server, solution compiles , gets requested data. - however, if try retrieve data deployed web service like: http://localhost/ltc_webservice/ltcwebservice.asmx/getworktypes i no tables.. website gets page:
cannot find table 0.
iis settings: - using asp.net v4.0 application pool - managed pipeline = classic - isapi , cgi restrictions: allowed on asp.net v4.0.30319 what missing here?
the database connection should sql authentication, not windows authentication. connection string connecting database using windows authentication, not sql authentication user id , password.
Comments
Post a Comment