Click here to Skip to main content
15,894,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving hidden panel contents to an image - GDI+ Pin
Dragonfly_Lee30-Dec-08 21:08
Dragonfly_Lee30-Dec-08 21:08 
QuestionDataGridView - Sorting [modified] Pin
myNameIsRon29-Dec-08 9:59
myNameIsRon29-Dec-08 9:59 
QuestionGettind ID after a TableAdapter Update Pin
kensai29-Dec-08 8:31
kensai29-Dec-08 8:31 
QuestionCreate Sql server alias - Remote connection Pin
calanit29-Dec-08 7:01
calanit29-Dec-08 7:01 
AnswerRe: Create Sql server alias - Remote connection Pin
Colin Angus Mackay29-Dec-08 7:17
Colin Angus Mackay29-Dec-08 7:17 
JokeRe: Create Sql server alias - Remote connection Pin
Pete O'Hanlon29-Dec-08 9:46
mvePete O'Hanlon29-Dec-08 9:46 
GeneralRe: Create Sql server alias - Remote connection Pin
calanit29-Dec-08 10:09
calanit29-Dec-08 10:09 
AnswerRe: Create Sql server alias - Remote connection Pin
Wendelius29-Dec-08 8:36
mentorWendelius29-Dec-08 8:36 
calanit wrote:
If it is a remote connection, I keep getting access denided


I think you need admin privileges on the target computer (not sure though). Did you have look at this: http://msdn.microsoft.com/en-us/library/system.management.managementscope.aspx[^].

One thing that could be the problem is that if you use a different username/password than your current session, do you spoecify also the domain (either the real domain if youre using domain admin or the computername itself if your useing the computer local admin).

From the link:
// if you plan to connect to the remote
// computer with a different user name
// and password than the one you are currently using
   <code>ConnectionOptions options = new ConnectionOptions();</code>
// and then set the options.Username and 
// options.Password properties to the correct values
// and also set 
// options.Authority = "ntdlmdomain:DOMAIN";
// and replace DOMAIN with the remote computer's
// domain.  You can also use kerberose instead
// of ntdlmdomain.


The need to optimize rises from a bad design.My articles[^]

GeneralRe: Create Sql server alias - Remote connection Pin
calanit29-Dec-08 10:12
calanit29-Dec-08 10:12 
GeneralRe: Create Sql server alias - Remote connection Pin
Wendelius29-Dec-08 10:17
mentorWendelius29-Dec-08 10:17 
QuestionDataGridView with ComboBox. Need help Pin
aerinai29-Dec-08 6:26
aerinai29-Dec-08 6:26 
AnswerRe: DataGridView with ComboBox. Need help Pin
Member 447035429-Dec-08 7:33
Member 447035429-Dec-08 7:33 
Questiontext parsing or automatic segmentation of text in c# Pin
lawrenceinba29-Dec-08 6:13
lawrenceinba29-Dec-08 6:13 
AnswerRe: text parsing or automatic segmentation of text in c# Pin
Teuz29-Dec-08 6:52
Teuz29-Dec-08 6:52 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
Member 447035429-Dec-08 7:16
Member 447035429-Dec-08 7:16 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
Not Active29-Dec-08 10:56
mentorNot Active29-Dec-08 10:56 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
lawrenceinba29-Dec-08 14:46
lawrenceinba29-Dec-08 14:46 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
lawrenceinba29-Dec-08 14:43
lawrenceinba29-Dec-08 14:43 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
Colin Angus Mackay29-Dec-08 15:03
Colin Angus Mackay29-Dec-08 15:03 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
lawrenceinba29-Dec-08 15:17
lawrenceinba29-Dec-08 15:17 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
Colin Angus Mackay29-Dec-08 15:30
Colin Angus Mackay29-Dec-08 15:30 
AnswerRe: text parsing or automatic segmentation of text in c# Pin
#realJSOP29-Dec-08 9:05
mve#realJSOP29-Dec-08 9:05 
AnswerRe: text parsing or automatic segmentation of text in c# Pin
Colin Angus Mackay29-Dec-08 10:19
Colin Angus Mackay29-Dec-08 10:19 
JokeRe: text parsing or automatic segmentation of text in c# Pin
Pete O'Hanlon29-Dec-08 10:23
mvePete O'Hanlon29-Dec-08 10:23 
GeneralRe: text parsing or automatic segmentation of text in c# Pin
Colin Angus Mackay29-Dec-08 11:52
Colin Angus Mackay29-Dec-08 11:52 

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.