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. Problem with Connection String

Problem with Connection String

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 4 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.
  • N Offline
    N Offline
    nazimghori
    wrote on last edited by
    #1

    Hello Every One I want to upload my Applcation On Net for that i wrote a connection string in Web.config file like:

    but the problem is my Default.aspx page is displayed on browser correctly now i wrote method to fill combobox on page load event but i think due to error in this string the combobox is not filled.. This applications runs correctly on my remote computer but shows problem described above when i upload it on FTP after Publishing my website... Please Suggest what shall i do.. Thank You.

    C V A 3 Replies Last reply
    0
    • N nazimghori

      Hello Every One I want to upload my Applcation On Net for that i wrote a connection string in Web.config file like:

      but the problem is my Default.aspx page is displayed on browser correctly now i wrote method to fill combobox on page load event but i think due to error in this string the combobox is not filled.. This applications runs correctly on my remote computer but shows problem described above when i upload it on FTP after Publishing my website... Please Suggest what shall i do.. Thank You.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I can tell you for sure that I cannot FTP to that IP address from my machine here. I guess that perhaps your web host cannot, either. Why are you not hosting your database on your web host ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • N nazimghori

        Hello Every One I want to upload my Applcation On Net for that i wrote a connection string in Web.config file like:

        but the problem is my Default.aspx page is displayed on browser correctly now i wrote method to fill combobox on page load event but i think due to error in this string the combobox is not filled.. This applications runs correctly on my remote computer but shows problem described above when i upload it on FTP after Publishing my website... Please Suggest what shall i do.. Thank You.

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        nazimghori wrote:

        Data Source =ftp://174.143.263.188/db/ConReg.mdb

        Not sure this would be a valid way. JET driver can manage the local file systems but I don't think it can do a FTP handshake each time you request a database operation.

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

        1 Reply Last reply
        0
        • N nazimghori

          Hello Every One I want to upload my Applcation On Net for that i wrote a connection string in Web.config file like:

          but the problem is my Default.aspx page is displayed on browser correctly now i wrote method to fill combobox on page load event but i think due to error in this string the combobox is not filled.. This applications runs correctly on my remote computer but shows problem described above when i upload it on FTP after Publishing my website... Please Suggest what shall i do.. Thank You.

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Why do you require FTP location to point your database. FTP is a protocol used to pass commands which can download or upload some files to a specific location. There will not be any direct connection to an FTP file. You only can buffer a portion of a file using FTP file commands. So in your case there is no way to handle ftp data source. Try downloading the file ConReg.mdb to your current location or use Unc path to point the mdb file. :) :)

          Abhishek Sur


          My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

          **Don't forget to click "Good Answer" if you like to.

          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