Deploying SQL .MDF File [modified]
-
Hi, I made a project with ASP.NET (C#) and SQL Server Express 2005. After I finished the project in my PC, I wanted to upload the project in the remote server. In my project folder, I had App_Data folder. So, I also created App_Data folder in my remote server. Then I transferred the .MDF file in from my App_Data folder to remote App_Data folder. My Reomote server (Lunarpages) has SQL Server 2005. My Web.Cnfig contains the connection string like this, (add name="rBMain" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\rBOnline.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient") But I was given error saying , Remote connection is not allowed. I am new in ASp.NET, would anyone please help me. Thanks and regards EMRAN -- modified at 15:09 Monday 19th June, 2006
-
Hi, I made a project with ASP.NET (C#) and SQL Server Express 2005. After I finished the project in my PC, I wanted to upload the project in the remote server. In my project folder, I had App_Data folder. So, I also created App_Data folder in my remote server. Then I transferred the .MDF file in from my App_Data folder to remote App_Data folder. My Reomote server (Lunarpages) has SQL Server 2005. My Web.Cnfig contains the connection string like this, (add name="rBMain" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\rBOnline.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient") But I was given error saying , Remote connection is not allowed. I am new in ASp.NET, would anyone please help me. Thanks and regards EMRAN -- modified at 15:09 Monday 19th June, 2006
emran834 wrote:
My Reomote server (Lunarpages)
probably doesn't use integrated security. Ask there tech support