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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I've got an error in my application when I have published it up to a remote server:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I'm using membership and the ASPNETDB sql server express database which is created as default. I'm using Windows Authentication.
On my own PC it works perfectly, but when I publish to the hosted website, I get the error message above.
I don't have access to SQL Server on the remote machine and I cannot run any commands. I've been working on this for 4 days, and this is the last thing I need to sort out for the website to go live.
If anyone has any idea of what I have done wrong, please help!
actually in ASP.NET wht i know is you can work with embeded database in asp.net on your local machine only and till the time ur not going to publish ur website or host ur website , when u want to host ur website u have to seaprate ur sql database and run it on sql server not from the aspnetdb.