Login failed while deploying data
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Login failed while deploying dataExpand / Collapse
Author
Message
Posted 10/01/2007 9:11:53 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 7:28:28 PM
Posts: 1,148, Visits: 2,830
I'm attempting to deploy my security tables using the DDT. When I do the deploy, I create a new package, which includes the permissions table as part of the deployment. I first got an error that a login (to a common db user for the dev db) failed because the user needed to change their password. I figure out that this is set on the permission package, so I go to SQL Server and change it and update the password for the permission data. Now I get an error that the login is just failing...sigh... So I open up SQL Management Studio and test the user/password (all sql user/passwords btw). They work...sigh... So I change the user/password to another one. I STILL get an error related to the login failing for the first user.

Now, I decided I didn't want to deploy all the security tables, so I deleted some of the packages. Could there be some residual info that could be causing this problem? I'm stuck until I can get this solved (can't deploy).

Thanks!
Post #11775
Posted 10/02/2007 8:48:44 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 06/17/2008 9:28:35 AM
Posts: 2,649, Visits: 1,863
Whenever you went to SQL Server to update the data, did you change the us_Data field?  That's the field that contains the password, so if you change it in the database, the user won't be able to log in.  Now, for the user that you created within the Security Maintenance to work, the project encryption key (set in the security project) will need to be the same key as the one you specify within your application (through the SecurityBasics.SetSecurityKeyAndVectorForUserAuthentication() method).  This value determines the "seed" for the encryption key and vector that are used to encrypt the data for the user.  Can you give me any more details on what you changed in SQL Server to change the user's password?


www.bungie.net
Post #11777
Posted 10/02/2007 3:50:56 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 7:28:28 PM
Posts: 1,148, Visits: 2,830
I think you are misunderstanding me. The login failure is a SQL Server login, not a SF login. This is occurring when I'm attempting to deploy a project from DDT. There has never been that particular user in the SF users table (when it worked the last time I used).
Post #11803
Posted 10/04/2007 10:50:54 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Yesterday @ 7:28:28 PM
Posts: 1,148, Visits: 2,830
This is still an outstanding issue...any ideas?
Post #11850
Posted 10/04/2007 11:05:21 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:13:06 AM
Posts: 4,104, Visits: 4,176
Greg,

There is not a lot of "magic" that happens here.  From what I understand you are getting the login error when the deployment data tries to create the package based on the credentials supplies in the deployment data record, correct?  If the login error is occuring when the deployment data is trying to be created then it would have to be the credentials supplied within that record.  The first thing I would try is setting up a test profile that creates the deployment data to ensure that it is not a profile issue.  Another issue that I have seen in the past is the resolution of the SQL Server.  For example, I have a machine in the office and one at home, both from which I create the packages from.  At home, it cannot resolve the DNS name properly, but at the office it can.  So I put in an IP address since the IP is the same at home as well as the office, this way there is always resolution.  I also always supply the SQL login information rather than relying on Windows Auth for the same reason.

When SQL authentication issues arise it is generally a configuration or data issue.  If the problem keeps up let me know and we can dive into the database itself and see what is in there.

Post #11853
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:40pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.