Friday, March 30, 2012

Need help connecting to a SQL 2005 server

Hoi,

Can someone help me? I have made a website with a database. Local on my pc all work fine. but now i need to set it op on my webhost.

all pages with no database access workSmile but the ones with database controls i getSad:

Server Error in '/' Application.

Login failed for user 'username'..

I got from my webhost:

db server:

db name:

db user:

db ww:

How do i setup the connectionstring to workt with this?

I'm totaly new at this so all help is welcome.

Gr.

W.

You can have a look atconnectionstrings.com for an example on how to set up your connection string. Also read your web hosts documentation as they will probably tell you how to do this.

No comments:

Post a Comment