Solved

Help in configuration web service with SQL 2005

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will useā€¦
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

726 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