Last post Nov 28, 2007 12:44 AM by braaaadpitt
Nov 15, 2007 04:15 AM|braaaadpitt|LINK
i'm new with asp.net, i'm trying to deploy a web log-in to one of the hosting company (gate.com), i maked a blank web page and i insert a log-in tool and i configed the web.config just to test it online, i faced a problems.
the database can not access remotly.
could you let me know how can i solve the problem. i think it is only for login built in with VS2005
Nov 15, 2007 04:40 AM|kipo|LINK
Have you deployed database on remote hosting?
Nov 16, 2007 05:32 AM|braaaadpitt|LINK
I used a copy optoin in VS2005, the files and the data folder, i have another folder this including smoll database but i could not open the website please find the link:
http://www.nakheelcc.com/web/propertycode/default.aspx. in this example i built the website and i changed the web.config connectiong option only, if i need to config other things please let
me know, realy i need to know the steps for deployment and whitch file i need to concern.
thank you for your support.
Nov 16, 2007 05:43 AM|kipo|LINK
I suppose you put your Database within App_data folder on your hosting server? If that's the case, than you'll have to forget that approach. Detail explanation how to deploy your database on hosting server you can find here:
Nov 18, 2007 09:47 AM|braaaadpitt|LINK
i did it but i'm still have a proplem with the remote connection to aspnet database is it with the hosting company, please i'm watting your replay asap.
this is the message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005,
this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Nov 18, 2007 01:32 PM|kipo|LINK
How does your connection string looks like? It should be similair to this (but with your info):
connectionString="Data Source=your sql server;Initial Catalog=your database name;User Id=username;Password=password"
Nov 28, 2007 12:44 AM|braaaadpitt|LINK
i did it buy still not working, i don't know why? [:S], i saw the database updated in the gate.com database but i can not access to it.
what else do i need to confige web.config file ( connectiong string - customerror) do i need more to configure and what if i have a have a appcode files i'm still need to configure it or it will automaticaly working.