Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Deploying SQL .MDF File [modified]

Deploying SQL .MDF File [modified]

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netdatabasesql-server
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    emran834
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • E emran834

      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

      J Offline
      J Offline
      Joshua Lunsford
      wrote on last edited by
      #2

      emran834 wrote:

      My Reomote server (Lunarpages)

      probably doesn't use integrated security. Ask there tech support

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups