Showing posts with label building. Show all posts
Showing posts with label building. Show all posts

Tuesday, March 20, 2012

Cannot Open Database while Building

Hi Everyone,
I'm facing this problem now.

Cannot open database "C:\myDB" requested by the login. The login failed.
Login failed for user 'myLaptop\ASPNET'.

May i ask how can i resolve?
Please feel free to let me know the information you need.
Thank You!Can you show your connection string?|||Hi Hello,
Here goes:

<connectionStrings>
<add name="CapsLockedConnection" connectionString="Server=(local)\SqlExpress;Integrated Security=True;Database=CapsLockedDB" providerName="System.Data.SqlClient"/>
</connectionStrings
Thanks for responding.|||Here's a screenshot of the build error

http://img65.imageshack.us/my.php?image=error8mf.png

Friday, February 10, 2012

Cannot find the driver for JDBC

Hi all, I am building a program using Java and SQL express and I need the driver in order to connect to the database. I have downloaded I think a version for sql server 2005 but it did not work. Can somebody tell me if such driver exists?

Thank you all

Adam:

Yes, such a driver exists and can be downloaded here:

http://msdn.microsoft.com/data/jdbc/

If you have any issues please let us know.

-shelby

Shelby Goerlitz

Microsoft SQL Server Data Programmability