Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Display Datagrid Decimal to 2 places Pin
ednrgc8-Dec-06 6:59
ednrgc8-Dec-06 6:59 
QuestionNeed help with Regex Pin
zaboboa8-Dec-06 5:08
zaboboa8-Dec-06 5:08 
AnswerRe: Need help with Regex Pin
ednrgc8-Dec-06 7:04
ednrgc8-Dec-06 7:04 
QuestionInsert javascript into IE Address bar Pin
PhrankBooth8-Dec-06 4:39
PhrankBooth8-Dec-06 4:39 
AnswerRe: Insert javascript into IE Address bar Pin
ednrgc8-Dec-06 7:06
ednrgc8-Dec-06 7:06 
QuestionHow to Use Sql Transactions With DataRow ? Pin
hdv2128-Dec-06 4:17
hdv2128-Dec-06 4:17 
AnswerRe: How to Use Sql Transactions With DataRow ? Pin
Colin Angus Mackay8-Dec-06 4:41
Colin Angus Mackay8-Dec-06 4:41 
QuestionNetwork Credentials for domain user Pin
vineas8-Dec-06 4:15
vineas8-Dec-06 4:15 
There are several apps across our company that need to access a WebService that is really a SQL Server 2005 SOAP endpoint. A domain service account was created for it so we wouldn't have to enable access for every single user. Initially, this user was setup as being allowed to logon to the server that SQL Server 2005 was running on. However, when we tried to access it, nothing worked. After monkeying around for a few days, in order to make it work we finally had to enable this service account logon priviledges to the computer calling the webservice. It turned out we didn't even need logon priviledges to the server.

This seems completely backwards to everyone here, and will be a real pain to administer if it is the case.

Here's some code that's similar to what we're doing to access it:

private DataSet GetInformation()
{
	wsSQL service = new wsSQL();
	// no, my code doesn't have this hardcoded like this, it is merely for simplicity of the example. :)
	service.Credentials = new NetworkCredentials("user", "pass");
	
	return service.CallWebMethod();	
}


The above code works only if the "user" has logon access to the local computer. From the looks of how this works, it's almost as if the NetworkCredentials uses the local computer to log onto the network, then passes those credentials on. Is this correct? If so, is there anyway to use the domain user to logon to the server and use those credentials?

-----
In the land of the blind, the one eyed man is king.

QuestionTreeview and jump to node Pin
Saamir8-Dec-06 4:13
Saamir8-Dec-06 4:13 
AnswerRe: Treeview and jump to node Pin
Pete O'Hanlon8-Dec-06 5:01
mvePete O'Hanlon8-Dec-06 5:01 
AnswerRe: Treeview and jump to node Pin
Not Active8-Dec-06 5:07
mentorNot Active8-Dec-06 5:07 
QuestionRe: Treeview and jump to node Pin
Saamir8-Dec-06 5:55
Saamir8-Dec-06 5:55 
AnswerRe: Treeview and jump to node Pin
Not Active8-Dec-06 6:05
mentorNot Active8-Dec-06 6:05 
Questionscrapbook - help Pin
sanaziuse8-Dec-06 4:03
sanaziuse8-Dec-06 4:03 
AnswerRe: scrapbook - help Pin
Colin Angus Mackay8-Dec-06 4:36
Colin Angus Mackay8-Dec-06 4:36 
GeneralRe: scrapbook - help Pin
sanaziuse8-Dec-06 4:59
sanaziuse8-Dec-06 4:59 
GeneralRe: scrapbook - help Pin
User 66588-Dec-06 5:55
User 66588-Dec-06 5:55 
GeneralRe: scrapbook - help Pin
sanaziuse8-Dec-06 6:12
sanaziuse8-Dec-06 6:12 
GeneralRe: scrapbook - help Pin
Colin Angus Mackay8-Dec-06 6:40
Colin Angus Mackay8-Dec-06 6:40 
GeneralRe: scrapbook - help Pin
ednrgc8-Dec-06 6:01
ednrgc8-Dec-06 6:01 
QuestionXml Indentation in RTB Pin
h@s@n8-Dec-06 3:57
h@s@n8-Dec-06 3:57 
QuestionHow to Capture Remote Java Script Execution [modified] Pin
markjuggles8-Dec-06 3:09
markjuggles8-Dec-06 3:09 
QuestionDetermining if a pixel is inside a shape Pin
Wjousts8-Dec-06 3:09
Wjousts8-Dec-06 3:09 
AnswerRe: Determining if a pixel is inside a shape Pin
Luc Pattyn8-Dec-06 4:59
sitebuilderLuc Pattyn8-Dec-06 4:59 
GeneralRe: Determining if a pixel is inside a shape Pin
Wjousts8-Dec-06 8:18
Wjousts8-Dec-06 8:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.