Login Error


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a Maintenace form setup, select add and populate my fields.

The fields populate ok

I then select Save data, but a Strataframe error message apperas, ....

Cannot Open database "MyDataBase" requested by the login.

I have not specisied a Login screen anywhere and cant remeber setting up a database called MyDatabase ...

Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Most likely, you ran the application once before you commented out the AddRequiredDataSourceItem for SQL that requested MyDatabase.  So, your application still thinks it needs MyDatabase.  Right after the SetConnections() method is called within the SetDataSources() method, you can add a call to ConnectionManager.ShowAvailableConnections().  This will popup the connection string builder and allow you to delete the configured connection.  Then re-run it without call to ShowAvailableConnections() and you can re-configure the connection string properly with for the FoxPro connection.
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