ASP.NET 2.0 BasicsIf you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Ok, I have done this a million times before, but this time I am running into a SQL authentication problem that I can not diagnose.
I am running SQL 2005, Server 2003 and ASP.NET 2.0 (3.5 is installed as well)
I have both SQL Server and Windows authentication enabled in SQL server mgmt studio. And I have created a login 'username' under the security->logins tab as well - that user has sysadmin server roles. Yet, when I use my application (that works on another server by the way) I get this error:
Thanks for the reply, I went in there to triple check that I had this already set and I noticed something strange.
Instead of simply showing
SERVERNAME (SQL Server 9.0.1406...)
like I am used to, it showed
SERVERNAME\OFFICESERVERS (SQL Server 9.0.1406...)
When I had logged on, I had been logging on to the default in the dropdown which was that OFFICESERVERS. I had to choose 'Connect' and show the normal server as well.
I had never had to look for this before, as by default, there will be no OFFICESERVERS. BUT, in this case, on this server, I had already instsalled an instance of Sharepoint... which does. So, I had to recreate all my DBs in the correct Server instance.
Thanks for the help :P I just wasted 3 hours on this...
As Edison said: "I have not failed 10,000 times. I have successfully found 10,000 ways that will not work." =]
Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html
.: Wrox Technical Editor :. Wrox Books 24 x 7