Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2007

Tip: Looking for answers? Try searching our database.

WSE 3.0 Running under default ASPNet user

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DaveF - 23 Jul 2007 11:10 GMT
Sorry about the repost; had incorrect managed groups ID last time!

Hi,

I'm having a problem with a web service; specifically a custom
UsernameTokenManager which needs to access a remote database. The web
service is set up in IIS to use anonymous access with a UserID and Password
provided, and the web.config file is set up to impersonate and use windows
authentication; the problem comes when the request is sent to the service.

The web service needs to access a database on a remote server, and needs to
use the UserID and Password held in the IIS config; the problem is during
testing I'm noticing that during my authentication phase (my custom
UsernameTokenManager class) the database access is done via the ASPNET
user - once this has been authenticated then the rest of the application
uses the correct UserID and Password for data access. I'm (guessing) that
this would be using the NetworkService account on Server 2003.

The production SQL Server database will not accept the ASPNET or
NetworkService accounts, access must be done through the UserID and Password
provided in IIS.

I'm pretty much pulling my hair out now trying to work out how/why is the
UsernameTokenManager class is running under the default account; how can I
change this to run under the specified account settings for the rest of the
application?

Cheers,
Dave
DaveF - 02 Aug 2007 09:14 GMT
Hi All,

Can someone please confirm to me whether this is still a managed newsgroup?
It's included on the list of managed newsgroups at
http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx, and I've
posted from both my client and the browser (when logged on using the same
profile I've got registered), but I haven't had any response...

Cheers,
Dave

> Sorry about the repost; had incorrect managed groups ID last time!
>
[quoted text clipped - 29 lines]
> Cheers,
> Dave

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.