learned/learning/to learn RSS 2.0
# Saturday, March 19, 2011

My WCF Data Service worked fine in the VS Web Server, but when I deployed it to IIS (7.5), it stopped working. I was able to view the service page listing all the entities, but when I tried to access the entities in a RESTFUL manner, I wasn’t.

I found out the problem by setting

config.UseVerboseErrors = true; 
in
public static void InitializeService(DataServiceConfiguration config)

The problem was I was using windows authentication to connect to my database, after changing to SQL Server Authentication, everything worked fine.

Spent hours in figuring out this…

Saturday, March 19, 2011 3:57:32 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
.NET | Solutions
Comments are closed.
Navigation
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Gokulnath
Sign In
Statistics
Total Posts: 40
This Year: 0
This Month: 0
This Week: 0
Comments: 43
Themes
Pick a theme:
All Content © 2012, Gokulnath
DasBlog theme 'Business' created by Christoph De Baene (delarou)