Hi Team
I am new to WEB sites as I normal work with Win apps.
I am using Server 2003 with SQL server 2005 Delevoper.
The server is on my own network in the same room..
I have made a new Web Site in Visual Studio 2005 DotNet Framework 2.0. It runs fine on testing.
I can log in and move around just fine. BUT when I publish it to the server the following happens:
I Can find the web site in internet explore from my Domain name (www.rbsoft.com.au) or Static IP. I get the default page up ok.
Then when I click on login I will get the login page. So I fill it in and click Login.
Then I get the follwing Error message.
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: 25 - Connection string is not valid)
The Connection string is as follows:
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=RBSOFT-SERVER\MSSQLSERVER;AttachDbFilename=\App_Date\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
I seems to me that the web site can not find the ASPNETDB.MDF database.
I can see the database on the server with "SQL Server Management Studio Express"
I spent many hours trying to find out why it will not work.
Can any one help me - Please
Regards
Ron B
please check spelling of \App_Date\*.mdfDatE or Data
No comments:
Post a Comment