Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
Questionhow to use user control public method in the child form in the parrent form !!! Pin
amir-haghighi7-Sep-09 5:37
amir-haghighi7-Sep-09 5:37 
AnswerRe: how to use user control public method in the child form in the parrent form !!! Pin
DaveyM697-Sep-09 5:49
professionalDaveyM697-Sep-09 5:49 
AnswerRe: how to use user control public method in the child form in the parrent form !!! Pin
jerryzhan7-Sep-09 14:14
jerryzhan7-Sep-09 14:14 
GeneralRe: how to use user control public method in the child form in the parrent form !!! Pin
amir-haghighi7-Sep-09 22:10
amir-haghighi7-Sep-09 22:10 
GeneralRe: how to use user control public method in the child form in the parrent form !!! Pin
amir-haghighi8-Sep-09 4:38
amir-haghighi8-Sep-09 4:38 
QuestionMSDTC - TransactionManagerCommunicationException Pin
dodoxor7-Sep-09 4:16
dodoxor7-Sep-09 4:16 
AnswerRe: MSDTC - TransactionManagerCommunicationException Pin
dodoxor15-Sep-09 2:04
dodoxor15-Sep-09 2:04 
QuestionNant Build, Impersoante a user? Pin
Phillip Donegan7-Sep-09 3:44
Phillip Donegan7-Sep-09 3:44 
Hi all,

Wasn't sure were to post this so if its in the wrong place then oops!!

I'm using nant to automate my release process, its been working fine on all the other repositories but now I'm trying to deploy to two locations. One of which is on a remote machine. Every time that I try to run the script I get an UnauthorisedAccessException (shown below). I think the problem is that nant is running under the system user, which probably doesn't have permission to access a remote machine. So i've tried 3 ways to get around this

1) Map the network drive, doing this I can specify the credentials for a user which should have privileges on the remote server. Then as long as I specify the drive letter in the build script it should work.

Unfortunately I'm accessing the box that is running the nant scripts through RDC so any share that i create only exists in my session and not under the system account!

2) Use an impersonate function in Nant. I've looked through the docs but can't see such a function anywhere. Is there?

3) Ask the people on the code project.

So i'm on option 3 at the moment, any ideas?

Thanks
Phil


deploy-library:

[copy] Copying 8 files to '\\server\dev_published_dlls\devlib'.
[copy] Copying 'D:\dev_auto_copies\dev_libs\DevLibTests\bin\Debug\DevLibTests.dll' to '\\server\dev_published_dlls\devlib\DevLibTests.dll'.

BUILD FAILED

D:\dev_auto_copies\dev_libs\Common.build(71,8):
Cannot copy 'D:\dev_auto_copies\dev_libs\DevLibTests\bin\Debug\DevLibTests.dll' to '\\server\dev_published_dlls\devlib\DevLibTests.dll'.:
NAnt.Core.BuildException: D:\dev_auto_copies\dev_libs\Common.build(71,8):
Cannot copy 'D:\dev_auto_copies\dev_libs\DevLibTests\bin\Debug\DevLibTests.dll' to '\\server\dev_published_dlls\devlib\DevLibTests.dll'. ---> System.UnauthorizedAccessException: Access to the path '\\server\dev_published_dlls\devlib' is denied.
QuestionDATE HELP Pin
5fingers7-Sep-09 2:02
5fingers7-Sep-09 2:02 
AnswerRe: DATE HELP Pin
DaveyM697-Sep-09 2:07
professionalDaveyM697-Sep-09 2:07 
GeneralRe: DATE HELP Pin
5fingers7-Sep-09 2:24
5fingers7-Sep-09 2:24 
GeneralRe: DATE HELP Pin
stancrm7-Sep-09 2:32
stancrm7-Sep-09 2:32 
GeneralRe: DATE HELP Pin
5fingers7-Sep-09 2:45
5fingers7-Sep-09 2:45 
GeneralRe: DATE HELP Pin
Richard MacCutchan7-Sep-09 2:48
mveRichard MacCutchan7-Sep-09 2:48 
GeneralRe: DATE HELP Pin
5fingers7-Sep-09 2:58
5fingers7-Sep-09 2:58 
GeneralRe: DATE HELP [modified] Pin
DaveyM697-Sep-09 3:04
professionalDaveyM697-Sep-09 3:04 
GeneralRe: DATE HELP Pin
5fingers7-Sep-09 3:41
5fingers7-Sep-09 3:41 
GeneralRe: DATE HELP Pin
Christian Graus7-Sep-09 11:43
protectorChristian Graus7-Sep-09 11:43 
GeneralRe: DATE HELP Pin
Henry Minute7-Sep-09 3:41
Henry Minute7-Sep-09 3:41 
AnswerRe: DATE HELP Pin
Arun Jacob7-Sep-09 2:07
Arun Jacob7-Sep-09 2:07 
AnswerRe: DATE HELP Pin
stancrm7-Sep-09 2:10
stancrm7-Sep-09 2:10 
GeneralRe: DATE HELP Pin
itsravie7-Sep-09 3:47
itsravie7-Sep-09 3:47 
Questionshowing multiple rows in a table after an SQL query Pin
Emmet_Brown7-Sep-09 1:41
Emmet_Brown7-Sep-09 1:41 
AnswerRe: showing multiple rows in a table after an SQL query Pin
SeMartens7-Sep-09 2:02
SeMartens7-Sep-09 2:02 
GeneralRe: showing multiple rows in a table after an SQL query Pin
Emmet_Brown7-Sep-09 2:06
Emmet_Brown7-Sep-09 2:06 

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.