Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Go Back  Xtreme Visual Basic Talk > > > Will setup/installer create ODBC DSN automatically?


Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2005, 01:39 AM
aliweb's Avatar
aliweb aliweb is offline
Centurion
 
Join Date: Jan 2004
Posts: 146
Default Will setup/installer create ODBC DSN automatically?


I have an application with password protected MS Access database. The application connects it via ODBC System DSN.
If I create setup/installer of my application using Setup and Deployment of .Net how can I make sure that it automatically creates an ODBC DSN on target computer?
Reply With Quote
  #2  
Old 10-24-2005, 10:34 AM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

Don't just take my word for it, but I don't think it creates it automatically. If you want to create it during your installation you will probably use a custom action under install. You would make a program that does it and add that program as a custom action with InstallerClass set to false.
Also note that ODBC is deprecated in favor of native OLE DB...for what it's worth. (source:http://msdn.microsoft.com/library/de...components.asp)
__________________
170 10101010 410 J31^170
Reply With Quote
  #3  
Old 10-24-2005, 10:54 PM
aliweb's Avatar
aliweb aliweb is offline
Centurion
 
Join Date: Jan 2004
Posts: 146
Default

Thanks man!
Yes I was using OLE DB but I was having problem connecting crystal report to password protected access database. I have been posting about it for the past 1 week or so on this forum and another forum too but nobody answered successfully.
I am able to connect crystal report to access using OLE DB but when I run the report a screen pops up and asks for user and password.
Reply With Quote
  #4  
Old 10-25-2005, 12:56 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

I see, well, are you planning on going ahead with the Custom Action or not?
If not, how are you connecting to the DB?
__________________
170 10101010 410 J31^170
Reply With Quote
  #5  
Old 10-25-2005, 11:01 PM
aliweb's Avatar
aliweb aliweb is offline
Centurion
 
Join Date: Jan 2004
Posts: 146
Default

I haven't figured out yet but I guess like you said custom action is the only way. I will see how can you create ODBC DSN through VB.Net program which I will ask the installer to run at the end of the setup.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically? Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
 
Will setup/installer create ODBC DSN automatically?
Will setup/installer create ODBC DSN automatically?
 
-->