|
-
Sep 21st, 2006, 12:49 PM
#1
Thread Starter
Frenzied Member
deploy a. Net 2005 winforms application with a remote server
Hello,
I have a windows application that uses a sql server remote database.
Which is the best method to deploy an application that has to connect to a remote server on an another computer, that is part of the LAN Network.
I have been told that during installation the connection will be setup.
Thanks in advance,
Steve
Last edited by steve_rm; Sep 22nd, 2006 at 12:22 AM.
steve
-
Sep 21st, 2006, 02:50 PM
#2
Re: deploy an win application with a remote server
Well, you did not give enough information to decide anything. Are you using ODBC or a DSN-Less connection? Are you asking about installers? What?
-
Sep 21st, 2006, 09:36 PM
#3
Thread Starter
Frenzied Member
Re: deploy an win application with a remote server
Hello,
At the moment I am using the sqlclient connection. I have my connection string in the app.config.
Well as I have never deployed, I will never know what is best.
Give you could give a short example, i would be most grateful.
Thanks in advance,
Steve
-
Sep 21st, 2006, 09:39 PM
#4
Re: deploy an win application with a remote server
What does your connection string look like?
-
Sep 21st, 2006, 11:18 PM
#5
Thread Starter
Frenzied Member
Re: deploy an win application with a remote server
Hello Randem,
I this is my connection string
Code:
connectionString="Server=dev01;database=ServiceMaster;Integrated Security=True"
I have this in the app.config file.
Thanks,
Steve
-
Sep 21st, 2006, 11:28 PM
#6
Re: deploy an win application with a remote server
app.config file. Is this .Net?
-
Sep 21st, 2006, 11:33 PM
#7
Thread Starter
Frenzied Member
Re: deploy an win application with a remote server
Hello Ramden,
I am using visual basic 2005, with sql server 2005.
The application will be installed on a client machine, and the sql server will be on another computer connected to the LAN.
So when they install in the application they should all be able to access to the sql server database.
I think they want to be able to select the server on the install that they want to connect to.
I hope you understand,
Thanks for your help,
Steve
-
Sep 21st, 2006, 11:39 PM
#8
Re: deploy an win application with a remote server
All this info would have been helpful in the first post and in your title for the thread so that the proper person answers the questions. I am not familiar with .Net but now that the information is out there someone will be able to answer your questions.
-
Sep 21st, 2006, 11:55 PM
#9
Thread Starter
Frenzied Member
Re: deploy an win application with a remote server
Ok, thanks for the advice and help.
Hopefully someone will get back to me,
steve
-
Sep 22nd, 2006, 12:20 PM
#10
Re: deploy a. Net 2005 winforms application with a remote server
Perhaps there may be something in the two articles/tutorials on .NET installations in the Application Forums FAQ - http://vbforums.com/showthread.php?t=315829 that may help.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 23rd, 2006, 12:34 PM
#11
Thread Starter
Frenzied Member
Re: deploy a. Net 2005 winforms application with a remote server
Hello,
Thanks for you reply, but I have looked at the websites, but can't seem to find anything.
If you have any idea how to do this, please let me know.
Thanks,
Steve
-
Sep 23rd, 2006, 12:54 PM
#12
Re: deploy a. Net 2005 winforms application with a remote server
When you state "Remote server" are you meaning web/internet access connections? If so then your sql server needs to be configured differently for that type of connection.
If its just a server on your network then just use the config file like your using. Are you running Express or Pro?
Express has Click Once for generating a setup installation package. Pro has a Setup Project that you can add to your project and compile both the program's exe and the setup package at the same time.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 24th, 2006, 06:26 AM
#13
Thread Starter
Frenzied Member
Re: deploy a. Net 2005 winforms application with a remote server
Hello,
Thanks for your reply.
When I said remote server, I mean one that is connected to the LAN.
The software I am using is Professional Visual Studio 2005 and SQL Server Developer 2005.
The connection is in the app.config file something like this:
cnn = "server=myServer; database=mydatabase; user=myuser; pwd=mypwd"
However, this will work if I know what server it is going to be used, but at present the user wants to have this choice when they install. The connection will be no good, as it could be for the wrong server.
Hope you understand my problem, I need to deploy this very soon.
Thanks in advance for any help you can give me.
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|