Click here to Skip to main content
15,915,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVS 2008 Setup Pin
εїзεїзεїз29-Sep-09 4:40
εїзεїзεїз29-Sep-09 4:40 
AnswerRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 5:40
mveDave Kreskowiak29-Sep-09 5:40 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 6:24
εїзεїзεїз29-Sep-09 6:24 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 7:34
mveDave Kreskowiak29-Sep-09 7:34 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 8:38
εїзεїзεїз29-Sep-09 8:38 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 8:43
mveDave Kreskowiak29-Sep-09 8:43 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 9:14
εїзεїзεїз29-Sep-09 9:14 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 10:41
mveDave Kreskowiak29-Sep-09 10:41 
Absolutely none of this made any real sense at all.

So, basically, you're testing this on your development box and the database is on your development box, correct?

When you deploy the app, you're changing the SQL Server name in the Dal.exe.config file, but it's not working, correct?

OK, again, is the SQL Server on the target machine configured to accept connections over TCP/IP? If not, change it.

Does the database exist on that server in the default instance or is it in another SQL Server instance?? If not, create it, or change your connection string to reflect the correct instance name.


softdev_sup wrote:
changing app.config is same as changing the My Project ====> Settings means it will update my settings file or i have to do something else


An app.config file is nothing but a text file containing XML data. You can change the Dal.exe.config file any time you want to reflect the new SQL Server computer name you're trying to connect to. You DO have the correct server name, right?



softdev_sup wrote:
Public gConnectionString As String = My.Settings.ConString.ToString


You realize you're one of those people who calls .ToString() on a String, needlessly, right?


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 11:44
εїзεїзεїз29-Sep-09 11:44 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak30-Sep-09 1:54
mveDave Kreskowiak30-Sep-09 1:54 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз30-Sep-09 4:07
εїзεїзεїз30-Sep-09 4:07 
QuestionGetting data into an array. Pin
vurdmal29-Sep-09 2:58
vurdmal29-Sep-09 2:58 
AnswerRe: Getting data into an array. Pin
Paramhans Dubey29-Sep-09 3:07
professionalParamhans Dubey29-Sep-09 3:07 
GeneralRe: Getting data into an array. Pin
vurdmal29-Sep-09 3:17
vurdmal29-Sep-09 3:17 
AnswerRe: Getting data into an array. Pin
freakyit29-Sep-09 3:11
freakyit29-Sep-09 3:11 
GeneralRe: Getting data into an array. Pin
vurdmal29-Sep-09 3:22
vurdmal29-Sep-09 3:22 
GeneralRe: Getting data into an array. Pin
freakyit29-Sep-09 3:51
freakyit29-Sep-09 3:51 
GeneralRe: Getting data into an array. Pin
vurdmal29-Sep-09 4:18
vurdmal29-Sep-09 4:18 
GeneralRe: Getting data into an array. Pin
freakyit29-Sep-09 4:28
freakyit29-Sep-09 4:28 
GeneralRe: Getting data into an array. Pin
vurdmal29-Sep-09 4:45
vurdmal29-Sep-09 4:45 
Questionstyle sheet in vb.net Pin
paya1pa29-Sep-09 0:13
paya1pa29-Sep-09 0:13 
AnswerRe: style sheet in vb.net Pin
Paramhans Dubey29-Sep-09 0:30
professionalParamhans Dubey29-Sep-09 0:30 
AnswerRe: style sheet in vb.net Pin
Christian Graus29-Sep-09 0:32
protectorChristian Graus29-Sep-09 0:32 
GeneralOT: Style Sheet Pin
EliottA29-Sep-09 3:16
EliottA29-Sep-09 3:16 
GeneralRe: OT: Style Sheet Pin
Christian Graus29-Sep-09 11:10
protectorChristian Graus29-Sep-09 11:10 

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.