Hello every body.
I'm trying to connect my asp.net website with SQL server 2005 database. I have two copies of my site. One in File system and other one in local IIS. When I try to connect website in file system it is OK. But I am unable to connect my site when it is created in IIS. An error message says "Login Failed". Can some one help me please.
thilinam
0
Light Poster
Recommended Answers
Jump to Posthi..
Check for the ConnectionString.if the path of the database is of you file system, then copy your database into your directory in IIS.and thne you need to change the ConnectionString.
Hope this will help.
Thanks.
Jump to PostHi thilinam,
Post your connection string details.
It seems that your connection string uses Windows Authentication.
When you run your web application using file system in Visual Studio, It will connect using your NT account so that you may be able to connect with database (if your …
All 6 Replies
love_dude1984
0
Junior Poster in Training
Ramesh S
129
Posting Pro
thilinam
0
Light Poster
Ramesh S
129
Posting Pro
vsa000
1
Newbie Poster
thilinam
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.