Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-03-22
5
Medium Priority
?
552 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
[X]
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
  • 3
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
daveamour earned 1500 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

670 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