•
•
•
•
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 374,443 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 2,922 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: 7904 | Replies: 7
![]() |
•
•
Join Date: Dec 2005
Location: New York
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
try replacing localhost with 127.0.0.1 Ip address ... check your config file to see if there is any default option set...
did you try to connect to sql server with ent manager ..?
did you try to connect to sql server with ent manager ..?
•
•
•
•
Originally Posted by superwoman
Hi
I recently installed SQL SERVER 2000 Personal edition on my Windows XP Prof PC. I installed using the windows authentication mode.
But when i try to connect the database from .NET in my ASP.NET application. I get an error saying
"Server does not exist or not access denied"
pLEASE help me
Regards,
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
•
•
Join Date: Jan 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
I can run the server on enterprise manager successfully. But when i try to run an asp.net page i get this error now
Anonymous error occured:5 - 18452 - Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I checked the Webconfig file.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20" />
Should I make changes to the user id and password here (as i m using windows authentication)
MY MSSQLSERVER is running tho!!!
Please help
Anonymous error occured:5 - 18452 - Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I checked the Webconfig file.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20" />
Should I make changes to the user id and password here (as i m using windows authentication)
MY MSSQLSERVER is running tho!!!
Please help
•
•
Join Date: Dec 2005
Location: New York
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Read this one :
http://support.microsoft.com/kb/889615/en-us
http://support.microsoft.com/kb/889615/en-us
•
•
•
•
Originally Posted by superwoman
I can run the server on enterprise manager successfully. But when i try to run an asp.net page i get this error now
Anonymous error occured:5 - 18452 - Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I checked the Webconfig file.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20" />
Should I make changes to the user id and password here (as i m using windows authentication)
MY MSSQLSERVER is running tho!!!
Please help
Regards,
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
•
•
Join Date: Jan 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Thnx for the link. But unfortunately it couldnt solve my problem. I have installed Personal edition and i think the article was only for
• Microsoft SQL Server 2000 Standard Edition
• Microsoft SQL Server 2005 Standard Edition
• Microsoft SQL Server 2005 Developer Edition
• Microsoft SQL Server 2005 Enterprise Edition
• Microsoft SQL Server 2005 Express Edition
• Microsoft SQL Server 2005 Workgroup Edition
Please help
• Microsoft SQL Server 2000 Standard Edition
• Microsoft SQL Server 2005 Standard Edition
• Microsoft SQL Server 2005 Developer Edition
• Microsoft SQL Server 2005 Enterprise Edition
• Microsoft SQL Server 2005 Express Edition
• Microsoft SQL Server 2005 Workgroup Edition
Please help
•
•
Join Date: Dec 2005
Location: New York
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
this kb article applies to all...
•
•
•
•
Originally Posted by superwoman
Thnx for the link. But unfortunately it couldnt solve my problem. I have installed Personal edition and i think the article was only for
• Microsoft SQL Server 2000 Standard Edition
• Microsoft SQL Server 2005 Standard Edition
• Microsoft SQL Server 2005 Developer Edition
• Microsoft SQL Server 2005 Enterprise Edition
• Microsoft SQL Server 2005 Express Edition
• Microsoft SQL Server 2005 Workgroup Edition
Please help
Regards,
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
VRSane
Free Training : http://www.exforsys.com
Interview Questions : http://www.geekinterview.com
Articles Directory : http://www.geekarticles.com
•
•
Join Date: Jan 2006
Location: Its the internet... i am everywhere lol
Posts: 274
Reputation:
Rep Power: 3
Solved Threads: 10
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
.net access ad advertising ajax asp backup beta business centro code combo custom daniweb data database developer development dom doubleclick dropdownlist feed google hacker linux longhorn microsoft module msdn net news novell office reader reuse security server skin smtp software sql survey suse theme weather web windows windows server xml xoap
- Updated : Simple ASP.Net Login Page (ASP.NET)
- Freelance Web designer PHP, MySQL, ASP, SQL Server 2000 (Post your Resume)
Other Threads in the ASP.NET Forum
- Previous Thread: monitor file access
- Next Thread: check for images duplication


Linear Mode