Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6129779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:46:56+00:00 2026-05-23T16:46:56+00:00

I have a wcf service that has a method which returns List after collecting

  • 0

I have a wcf service that has a method which returns List after collecting information from SQL Server 2008 based database. While working in developement mode there is absolutly no problem, but when I run the service on IIS and try to access the method that is getting information from the database, the browser returns: “bad request 400”. When I call a method that is not working with databases it succeeds.

I am really desperate – I serached and searched, tried different things but nothing worked.
Thank you,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:46:56+00:00Added an answer on May 23, 2026 at 4:46 pm

    It’s almost assuredly a permissions problem. Without knowing your specific setup, here are some things to look for:

    1. If using Windows Authentication to your SQL Server database, make sure that the identity used by your service’s app pool has the correct permissions to the SQL Server database/tables/etc.
    2. If using SQL Authentication to your SQL Server database, make sure that the username/password is correct in the connection string and that permissions are setup correctly in the database.

    Unless you are using impersonation or have specified a specific user at your site level in IIS, it’s likely one of the above.

    My guess is that you are using Windows Authentication to connect to your SQL Server database and you have not specified an App Pool Identity. My advice is to use a specific account for your app pool (domain\username) and then give that account the proper database permissions.

    You also should configure tracing to capture the real exception.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service which exposes a method that returns an array of
We have an application that has a WCF service (*.svc) running on IIS7 and
I have a WCF service that I have to reference from a .net 2.0
I have a WCF Service that exposes a method GetCustomers(). The internals of the
I have a WCF service that I call from a windows service. The WCF
We have a WCF service that uses Entity Framework to query a SQL database.
I have a WCF service that has methods to return IEnumerable<T> collections of objects,
I'm creating a wcf service that I test by Ajax. I have a method
I have written a WCF service with the REST template that has the defaultOutgoingResponseFormat
I have a WCF Service that should not enter the faulted state. If there's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.