Solved

Help in configuration web service with SQL 2005

Posted on 2007-11-19
2
235 Views
Last Modified: 2013-11-07
Hi

My problem follow :

I have Web Service (wrote Microsoft.Net 2003) ; Database name : Shipping (SQL server 2005)

Connection String :
ConnectionString="Data Source=localhost;Initial Catalog=Shipping;Integrated Security=SSPI;"  

Web Service is work but it is not connect database Shipping for Calculate .

Please , help me in configuration
0
Comment
Question by:andreni78
2 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 400 total points
ID: 20318170
what is the account used for the web directory (iis configuration)? is it <iusr_machinename>?
integrated security=sspi tells it to use the currently logged in account (iusr_machinename) to authenticate with sql server
have you granted that user access, and to the database Shipping?
0
 
LVL 18

Assisted Solution

by:Yveau
Yveau earned 100 total points
ID: 20318394
This is probably a delegation issue.
What is the exact error message ?

Does the user's credentails get passd to the SQL Server ? In that case you probably see an error that tells you that login failed for user ''. In that case you have to setup the connection to run under a special account doing an impersonation and connecting to the SQL Server.

Hope this helps ...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now