Shared Settings File on a web server


Author
Message
Douglas Riley
Douglas Riley
StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)
Group: StrataFrame Users
Posts: 21, Visits: 267
Is it possible to have winform users access a shared settings file located on a web server (example: via http://www.sitename.com) instead of an internal network drive?

If not, is it best to include a shared settings file during deployment to each user and send out settings file updates when necessary?  I am trying to avoid having to give users database account info (username, password) during initial win app setup Unsure

Thanks!

Doug

StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
No, you cannot place the shared settings file on a web resource.  If your users do not have access to the same network resource, then you could just deploy the Connections.dat and the AppKeys.dat files to the All Users\MicroFour\ConnectionData folder.

Also, if you don't want the users to enter the connection data at all, then don't use the ConnectionManager class.  Just store the connection string anywhere... even in an app.config file and set it programmatically rather than using the ConnectionManager class.

Douglas Riley
Douglas Riley
StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)StrataFrame Beginner (37 reputation)
Group: StrataFrame Users
Posts: 21, Visits: 267
Thanks Ben!  I thought of the connections.dat and appkeys.dat deployment option but wanted to verify there were not better approaches.  Thanks!
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
No problem...

The only other option would be to set the connection string programmatically and store it somewhere else.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search