Click here to Skip to main content
15,927,213 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Locking a control in ASP.Net Pin
YeHtut11-Dec-07 18:56
YeHtut11-Dec-07 18:56 
GeneralXPBurn Component Pin
arslanjatt11-Dec-07 17:50
arslanjatt11-Dec-07 17:50 
GeneralRe: XPBurn Component Pin
Christian Graus11-Dec-07 18:00
protectorChristian Graus11-Dec-07 18:00 
GeneralRe: XPBurn Component Pin
arslanjatt11-Dec-07 18:03
arslanjatt11-Dec-07 18:03 
GeneralRe: XPBurn Component Pin
Christian Graus11-Dec-07 18:15
protectorChristian Graus11-Dec-07 18:15 
Questionwhen i press the back button Pin
Geore11-Dec-07 17:36
Geore11-Dec-07 17:36 
GeneralRe: when i press the back button Pin
Sathesh Sakthivel11-Dec-07 17:48
Sathesh Sakthivel11-Dec-07 17:48 
GeneralSql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
dboy22111-Dec-07 16:37
dboy22111-Dec-07 16:37 
I have an app that connects to a db in the Data Directory for Website Project. I am able to connect to the database fine locally. However, after I uploaded my project to my hosting provider's server and try to process a form that does a sql insert, I receive the following error:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure my be caused by the fact that under the default settings SQL server does not allow remote connections. (provider: Sql Network Interfaces, error 26 - Error Locating Server/Instance Specified.

My connection string to the datasource is as such in my webconfig file:

connectionString="DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|DefinaBackEnd.mdf;IntegratedSecurity=True;ConnectTimeout=30;User Instance=True"

and the call to the connecting string is called as such:
SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["DefinaBackEndConnectionString"].ConnectionString);
conn.Open();

Can someone please assist with how to resolve this as this site just looks for a sql db file as opposed to an instance of sql server itself. Thanks to all in advance.
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
N a v a n e e t h11-Dec-07 16:56
N a v a n e e t h11-Dec-07 16:56 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
dboy22111-Dec-07 17:21
dboy22111-Dec-07 17:21 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
Venkatesh Mookkan11-Dec-07 16:56
Venkatesh Mookkan11-Dec-07 16:56 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
Michael Sync11-Dec-07 17:02
Michael Sync11-Dec-07 17:02 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
dboy22112-Dec-07 6:11
dboy22112-Dec-07 6:11 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
Michael Sync12-Dec-07 6:21
Michael Sync12-Dec-07 6:21 
GeneralRe: Sql File Connection Error when Web App is Deployed to Remote/Hosting Server (works locally though) Pin
dboy22112-Dec-07 8:01
dboy22112-Dec-07 8:01 
QuestionHow to export All records from gridview to excel when paging in gridview Pin
$unil Dhiman11-Dec-07 14:47
$unil Dhiman11-Dec-07 14:47 
GeneralRe: How to export All records from gridview to excel when paging in gridview Pin
Michael Sync11-Dec-07 16:50
Michael Sync11-Dec-07 16:50 
GeneralRe: How to export All records from gridview to excel when paging in gridview Pin
$unil Dhiman11-Dec-07 17:28
$unil Dhiman11-Dec-07 17:28 
GeneralGodaddy ?! Pin
sergeyv200211-Dec-07 11:03
sergeyv200211-Dec-07 11:03 
GeneralRe: Godaddy ?! Pin
Christian Graus11-Dec-07 13:26
protectorChristian Graus11-Dec-07 13:26 
GeneralRe: Godaddy ?! Pin
sergeyv200211-Dec-07 14:11
sergeyv200211-Dec-07 14:11 
GeneralRe: Godaddy ?! Pin
Christian Graus11-Dec-07 16:43
protectorChristian Graus11-Dec-07 16:43 
GeneralRe: Godaddy ?! Pin
Michael Sync11-Dec-07 15:38
Michael Sync11-Dec-07 15:38 
GeneralIE Cookie Problem Pin
FinnGrimw11-Dec-07 10:06
FinnGrimw11-Dec-07 10:06 
GeneralRe: IE Cookie Problem Pin
Michael Sync11-Dec-07 15:47
Michael Sync11-Dec-07 15:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.