Solved

Help in configuration web service with SQL 2005

Posted on 2007-11-19
2
269 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deletiā€¦
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

749 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