accessing database from webservice

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default accessing database from webservice

    I'm trying to let my webs ervice access a database, from non public site. It
    works on my local maschin and on a test server i setup. but i doesn't work on
    the customers machine, when i log on to the database the user is refused. but
    i can logon with him from gui.
    I presúme that the problem is the setting up of iis or with the access right
    to the db, basically i wan't any anonymis user ot have all the rights he
    wants.
    What nob's can i turn on to affect the access right to a db from a webservice?
    the web.config file
    IIS the directory ?
    Windows the users ?
    kenneth fleckenstein nielsen Guest

  2. Similar Questions and Discussions

    1. Accessing webservice result - e4x format
      Hi (Flex 2 Beta version) I am having trouble gaining access to the child elements from a webservice call with a resultformat type of e4x. I...
    2. HELP! Timeout when accessing Webservice.
      I have a solution that contains a web service and a web site. I was working on it all day Monday with no problems. Tuesday morning it stopped...
    3. Accessing Webservice from remote system
      I have written a webservice and client and do not have any trouble accessing the service from the local machine. However, when I try to access from...
    4. Accessing WebService indirectly
      Hallo everybody, I have programmed an ASP.NET site which communicates with the database using a WebService. Anyways the client wants to...
    5. Accessing webservice from access
      Hi Is it possible to call a web service that returns a dataset, from access? Could I please have an example of how to call such a service from...
  3. #2

    Default Re: accessing database from webservice

    Hello kenneth,
    Check if you are using integrated security in the connection string. That
    would most probably be the problem

    HTH
    Regards,
    Dilip Krishnan
    MCAD, MCSD.net
    dkrishnan at geniant dot com
    [url]http://www.geniant.com[/url]
    > I'm trying to let my webs ervice access a database, from non public
    > site. It
    > works on my local maschin and on a test server i setup. but i doesn't
    > work on
    > the customers machine, when i log on to the database the user is
    > refused. but
    > i can logon with him from gui.
    > I presúme that the problem is the setting up of iis or with the access
    > right
    > to the db, basically i wan't any anonymis user ot have all the rights
    > he
    > wants.
    > What nob's can i turn on to affect the access right to a db from a
    > webservice?
    > the web.config file
    > IIS the directory ?
    > Windows the users ?

    Dilip Krishnan Guest

  4. #3

    Default Re: accessing database from webservice

    I've enabled IIS's integrated windows authe.. on the specific webservices
    directory security, on the customers server and nothing changed. I think that
    will affect the connection string as you said it could be, but I'm not
    connecting myself i rely on a thirdparty product and that doesn't log on
    there.


    "Dilip Krishnan" wrote:
    > Hello kenneth,
    > Check if you are using integrated security in the connection string. That
    > would most probably be the problem
    >
    > HTH
    > Regards,
    > Dilip Krishnan
    > MCAD, MCSD.net
    > dkrishnan at geniant dot com
    > [url]http://www.geniant.com[/url]
    >
    > > I'm trying to let my webs ervice access a database, from non public
    > > site. It
    > > works on my local maschin and on a test server i setup. but i doesn't
    > > work on
    > > the customers machine, when i log on to the database the user is
    > > refused. but
    > > i can logon with him from gui.
    > > I presúme that the problem is the setting up of iis or with the access
    > > right
    > > to the db, basically i wan't any anonymis user ot have all the rights
    > > he
    > > wants.
    > > What nob's can i turn on to affect the access right to a db from a
    > > webservice?
    > > the web.config file
    > > IIS the directory ?
    > > Windows the users ?
    >
    >
    >
    kenneth fleckenstein nielsen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139