problems connecting to sql server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • red_ghost
    New Member
    • Jun 2006
    • 11

    problems connecting to sql server

    In the software I made, it runs fine and connects fine to the database when running from the server via remote desktop. However, when i run it from a mobile device (which is running xp professional), and I map a drive to the location of the software, I get this error:

    Request for the permission of type 'System.Data.Sq lClient.SqlClie ntPermission, System.Data, Version 2.0.0.0, Culture=neutral , PublicKeyToken= *whatever* failed

    I should have permissions because i'm an administrator. I also tried it by giving everyone full permissions to it. In my connection string I also am connecting to the database as someone with full rights to everything.
  • takele
    New Member
    • Aug 2006
    • 2

    #2
    the same problem happens to me too, any help please

    Comment

    • takele
      New Member
      • Aug 2006
      • 2

      #3
      Hey I solved my problem by myself....I was trying to access the Sql Server from the web part I developed for my share point.
      I noticed that I have to disable the annonymes access in my share point setting...and keep using Truested_Connec tion=true in the connection string...and working fine....
      Enjoy..
      Takele...
      Last edited by takele; Aug 4 '06, 08:28 PM.

      Comment

      Working...