473,411 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

connect to sql2000 server

hi every one
i have made a webservice that access a sql2000 database server.
when i have devloped this webservice on my machine it was run correctly.
and it was use trusted connection to connect to the database server.
but when i had deployed it, it didn't worked due to the failure to connect
to the server uisng the ASPNET user account.when i have checked the server
configurations i have found that it is not allow to use trusted connection.
PLEASE i need anyone to help me change my code so that the webservice can
access the database server without uisng trusted connection.
Thanks
Nov 23 '05 #1
1 1547
You can store a connection string in your web.config that specifies a user name and login. If you are concerned about having the password in clear text in the web config you can encrypt it and even store it in the registry if you wish. Check out this article:


How To Store an Encrypted Connection String in the Registry
http://msdn.microsoft.com/library/de...l/secmod25.asp

Thanks,

Sam

--
_______________________________
Sam Santiago
ss*******@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"alexmaster_2004" <al************@discussions.microsoft.com> wrote in message news:E8**********************************@microsof t.com...
hi every one
i have made a webservice that access a sql2000 database server.
when i have devloped this webservice on my machine it was run correctly.
and it was use trusted connection to connect to the database server.
but when i had deployed it, it didn't worked due to the failure to connect
to the server uisng the ASPNET user account.when i have checked the server
configurations i have found that it is not allow to use trusted connection.
PLEASE i need anyone to help me change my code so that the webservice can
access the database server without uisng trusted connection.
Thanks

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: LizP | last post by:
Hi, guys - looking for a bit of help/advice on moving a database from SQL 7 to SQL 2000. We've a third party application which currently uses a SQL7 database. This database has a number of views...
12
by: InProcess | last post by:
Let me start by saying that, yes we know v6.5 is no longer supported by Microsoft and that moving to SQL2000 might resolve our problem. Actually the migration to SQL2000 is 1 to 2 months out and in...
2
by: Ger Eielts | last post by:
Hi all, I am brandnew with SQL2000, so sorry in advance for stupidities.... SQL2000, SP3, running on a SBS2003-server with WindowsSharePoint Services. I want to make a dataconnection (from...
2
by: alexmaster_2004 | last post by:
hi every one i have made a webservice that access a sql2000 database server. when i have devloped this webservice on my machine it was run correctly. and it was use trusted connection to connect...
6
by: David Waz... | last post by:
Moved an app from W/2000 Asp V1.0 to W/2003, VS/2003, ASPV 1.1 Page runs a long job, uploading 2 large fixed length files (300,000 rows) into SQL database. A process is run against the data,...
2
by: bk | last post by:
This is driving me crazy. I get "SQL Server is unavailable or does not exist" error while developing asp.net application in vs2003's IDE development mode but when I install the application on the...
2
by: PointMan | last post by:
i make a project in vs2005 that use ASPNETDB.MDF and use <asp:LoginView ID="LoginView1" runat="server" > server control for vs2005 in this case , i'd like to use hosting service but this...
1
by: Jeppe Jespersen | last post by:
On my development maching, I have three different SQL Server instances: ..\SQL2000 ..\SQL2005EXPRESS ..\SQL2005 When i try to debug a stored procedure in Query Analyzer, I get the following...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
7
by: jc | last post by:
Hello, a question for the MS Access community, from someone who programs with SQL in SQL2000. I currently create a table with varying column names and data within SQL2000. I then need to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.