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