Solved

Help in configuration web service with SQL 2005

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to open debugger port in Intellij idea 6 140
SQL Server Degrading on Write 13 63
Query 14 54
Find data in a column which is not in  a date format 29 0
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 …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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 use and create keystrokes in Netbeans IDE 8.0 for Windows.

911 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