Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

wcf web application works in Visual Studio 2010 ide but not under IIS

Posted on 2011-03-22
5
540 Views
Last Modified: 2012-05-11
Not sure what the problem is. We have a wcf web application that seems to work fine in the IDE.

when we setup IIS 5.1 ( this is a n XP machine) and run it through IIS the initial db communication works . i.e. the first thing we do is log the user in and it returns the users ID. After that any sql call seems to return an empty recordset. no errors just an empty recordset?

We are using Linq to Entity Framework?

Any help is greatly appreciated.

Traci
0
Comment
Question by:TraciShultz
  • 3
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
daveamour earned 500 total points
ID: 35196990
I would recomend running SQL Server Profiler to see what's reall happening under the hood which should give you some clues.  Do you know how to do that?
0
 

Author Comment

by:TraciShultz
ID: 35199972
Thanks for your comment.. we are setting this up now... as we are running SQLExpress on our deployment machine and SQL Server Profiler is not part of that version I'll have to put the full version of SQL server and then see what traces we get... good suggestion. Thank you I'll keep you posted.
0
 
LVL 19

Expert Comment

by:daveamour
ID: 35200727
Ok good luck
0
 

Author Closing Comment

by:TraciShultz
ID: 35217833
I wanted to thank you for the response. Using the profile showed us where the disconnect was. The real issue was there was a code bug that was not pulling formation out of the web.config file correctly. But for some reason Studio IDE handles the error and allows for continues operation.

Thanks.
0
 
LVL 19

Expert Comment

by:daveamour
ID: 35217855
Good glad it helped and thanks for the points
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Error - Query 6 41
IEnumerable<T> to a List<T> 8 37
VS 2013 installer,  Install, Update and uninstall via SCCM 6 25
C# Formatting DateTime String Value 5 27
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question