Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

Can't connect to database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SimonZ - 14 Feb 2006 09:56 GMT
I have connection string:

<add key="appStrConnection" value="Password=readP; User ID=reader;Initial
Catalog=CP; Data Source=nl-si-comp1"/>

but I can't connect to my database: "SQL Server does not exist or access
denied" is the error message.

If I connect with query analyzer or SQL Enerprise it works, only from aspx
page won't work.

Has anybody some idea why?

If I try to connect to any other database server it works.

I have aspx on virtualPC and nl-si-comp1 is database server on my primary
machine(not virtual).

Before I installed virtual enhancments it worked.

Regards,
S
Rote Rote - 14 Feb 2006 11:56 GMT
Have you added ASPNET acct to the SQL server
database and make sure you give it the right permissions.
Hope that helps
Patrick

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.