•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 429,819 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,312 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1451 | Replies: 6 | Solved
![]() |
•
•
Join Date: Oct 2006
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
hi guys,
i'm upgrading a web application designed in visual studio 2003 to visual studio 2005.
i want to start from the scratch.
I've restored the database from the older application in sql server 2000 from another machine.
now whenever i try to execute that application an error is displayed stating
"System.Data.SqlClient.SqlException: Login failed for user 'VASANT\ASPNET'."
my sql server uses windows authentication mode,and i've made changes in the connectionstring accordingly...
but still it shows this error...
can ny body help me get rid of it..?
i'm upgrading a web application designed in visual studio 2003 to visual studio 2005.
i want to start from the scratch.
I've restored the database from the older application in sql server 2000 from another machine.
now whenever i try to execute that application an error is displayed stating
"System.Data.SqlClient.SqlException: Login failed for user 'VASANT\ASPNET'."
my sql server uses windows authentication mode,and i've made changes in the connectionstring accordingly...
but still it shows this error...
can ny body help me get rid of it..?
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
Is your username VASANT\ASPNET ? if so, then is that the same username that was used to create the original database?
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
•
•
Join Date: Oct 2006
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
well no 'VASANT' is the server name, and in original conn. string 'sa' login was used with a blank password,
after restoring it into my pc i changed the conn string to match my settings....
after restoring it into my pc i changed the conn string to match my settings....
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
I understand that VASANT is the server name what I am trying to get at is:is the username the same when the db was created as the username you are now using? (Ie. username = sa at both times)
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
just a thought, post your conn string:
Does it include?
Does it include?
•
•
•
•
Integrated Security=SSPI;
Last edited by majestic0110 : Mar 31st, 2008 at 10:19 am.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
•
•
Join Date: Oct 2006
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
this is the connection string i'm using currently:
<add key="ConnectionString" value="Data Source=VASANT;Initial Catalog=MillTown;Integrated Security=True"/>
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access advice apple broadband code combo computer daniweb data data protection database drive dropdownlist encryption europe forensic forensics france google hardware help internet leopard library linux microsoft module net news open operating operating system os parliament privacy reuse search security source storage switching system technology torvalds upgrade vista web wikipedia windows xp
- Previous Thread: how to refresh the page automatically in asp.net 2005 [even used meta tag also]
- Next Thread: Master Page Links Problem



Linear Mode