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. Uploading ASP.NET website

Uploading ASP.NET website

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-netsql-servercom
1 Posts 1 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.
  • H Offline
    H Offline
    hamidreza_buddy
    wrote on last edited by
    #1

    hi ive designed a website and i want to upload it. it uses SQL Server Express database (i store my databases in App_Data) i use |DataDirectory| for my conection string but when i upload it it says that it has a bad Argument for attachDBFileName. i want to know how should i upload my database? (my nonDatabase pages work fine) i uploaded it with the Control Panel's Database Manager but when i use my new connection string it fails. my connection is: "server='www.host.com';User ID='admin';Password='pas';Initial Catalog='database';Connect Timeout=30" but it says: Cannot open database "database" requested by the login. The login failed. Login failed for user 'admin'. what should i do? oh, one important thing i forgot to say is that i use Membership. how should i upload that database? i have no access to Membership database connection string

    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