| | |
SQL SERVER 2000 Login failure in ASP.NET
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2005
Posts: 6
Reputation:
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:
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
Posts: 6
Reputation:
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:
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
Posts: 6
Reputation:
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
![]() |
Similar Threads
- 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: How can I fill the webpage
- Next Thread: check for images duplication
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu dynamically edit fill flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects opera order panelmasterpagebuttoncontrols radio ratings registration reportemail rotatepage schoolproject search security serializesmo.table silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice xml xsl youareanotmemberofthedebuggerusers





