MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 29th, 2003, 04:23 AM
benos benos is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 233 benos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Article Discussion: Programming with MySQL database and Microsoft .NET Technology

If you have any questions or comments on this article then please post them here.

This forum post relates to this article

Reply With Quote
  #2  
Old June 27th, 2006, 06:53 PM
jainnys jainnys is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 1 jainnys User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 31 sec
Reputation Power: 0
Hi,

I have just started to develop with MYSQL.
I have a local installation of the MySql db, and am trying to connect to it using .Net 2.0


Here is my connection string.
<add connectionString="Data Source=localhost;Database=KAW_WEB_USER;User ID=root;Password=xxxxx" name="MySqlServer"/>

Now when I go to a page which tries to connect to the db, it gives me this error: I do not get any opportunity to get in the code to any of my breakpoints.

==================================
Exception Details: System.SystemException: The trust relationship between this workstation and the primary domain failed.
Stack Trace:

[SystemException: The trust relationship between this workstation and the primary domain failed.
]
System.Security.Principal.NTAccount.TranslateToSid s(IdentityReferenceCollection sourceAccounts, Boolean& someFailed) +1167
System.Security.Principal.NTAccount.Translate(Iden tityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed) +42
System.Security.Principal.NTAccount.Translate(Iden tityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess) +46
System.Security.Principal.WindowsPrincipal.IsInRol e(String role) +205
System.Web.Configuration.AuthorizationRule.IsTheUs erInAnyRole(StringCollection roles, IPrincipal principal) +166
System.Web.Configuration.AuthorizationRule.IsUserA llowed(IPrincipal user, String verb) +393
System.Web.Configuration.AuthorizationRuleCollecti on.IsUserAllowed(IPrincipal user, String verb) +263
System.Web.Configuration.AuthorizationSection.IsUs erAllowed(IPrincipal user, String verb) +45
System.Web.Security.UrlAuthorizationModule.OnEnter (Object source, EventArgs eventArgs) +286
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionStep.Execute() +167
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +117
=========================================

But if i start the application with a different connection string, like the one i used for SQL server: It errors out as while connecting, and I am able to debug et all.
Now I go back in and change the connection string to the actual one, i can go back to that page, and connect to the database just fine. But then it comes back to that “Trust” error randomly.

Any idea what is going on here?

All the elements are on my development machines. MySql server, IIS server, code all..

Any insight will be welcome.

-Jainnys
http://www.mindexp.com
Mind Experts Inc.
Quote:
Originally Posted by benos
If you have any questions or comments on this article then please post them here.

This forum post relates to this article

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Article Discussion: Programming with MySQL database and Microsoft .NET Technology


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT