Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: rtanner

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Creating a remote runspace and adding an InitialSessionState

    Hi,

    I need to create a remote runspace which I normally do using the RunSpaceFactory class as follows:

    Runspaces.RunspaceFactory.CreateRunspace(WSManConnectionInfo);

    But for a program I'm...
  2. Replies
    0
    Views
    1,508

    Issues executing powershell commands in C#

    Hi,

    I am trying to get our self-service email forwarding process to work in Exchange 2010 (we upgraded from 2003 where everything could be done right in Active Directory using the LDAP API). For...
  3. Can't set altRecipient; what am I doing wrong

    Hi,

    I'm trying to set the altRecipient property (usede for email forwarding) in a user object without success. Here's the code:

    DirectoryEntry entry = new DirectoryEntry("LDAP://"...
  4. Replies
    4
    Views
    500

    Re: How do I exit a program early

    The other thing that keeps the Java programmer in me banging his head against the wall is trying to find assembly references. Application is (according the MSDN) is in System.Windows namespace. If...
  5. Replies
    4
    Views
    500

    How do I exit a program early

    Hi,

    I am writing a C# program that runs every night as a scheduled task. When I get specific errors that are non-recoverable, I want to write a log entry and abort further processing. So far,...
  6. Replies
    0
    Views
    1,589

    How do I implement SIGALRM in Java

    Hi,

    I've written a class that uses an IBM proprietary API to access an IBM UniData database to execute several subroutines written UniData's native language and known only to those UniData...
  7. Re: [RESOLVED] Service won't run after install

    No, no dependencies. Either it was just a fluke or the sysadmin installed it wrong on the server. It's working now.
  8. Re: Service won't run after install

    Hmmm... I threw some extra logging in and zipped up another copy. Didn't make any other changes but this time it started right up. Go figure.
  9. [RESOLVED] Service won't run after install

    Hi,

    I wrote a service in C#. On my Windows 7 development station, the service installs and runs (I installed it directly from the release directory in the Visual Studio 2008 tree). I've been...
  10. Re: Why am I not getting errors back??

    Problem resolved. The errors are in powershell.Streams.Error. It all works now!!
  11. [RESOLVED] Why am I not getting errors back??

    Hi,

    The following code is from a listener service I built to do the enable=mailbox command on Exchange 2010. If I have a syntax error in the PowerShell command sent to Exchange, I get an error...
  12. Trying w/o success to execute a PowerShell script from C#

    I am trying to execute a PowerShell script to enable mailboxes on a Exchange 2010. The actual email account creation application is a Java servlet running on a Tomcat server ancd the servlet does...
  13. Replies
    4
    Views
    721

    Re: Where can I find the powershell 2.0 SDK??

    You're right but none of the PowerShell 2.0 classes were accessible to me in Visual Studio 2008. It turns out the server pack 1 for 2008 hadn't been installed. So, I installed it. Problem solved.
  14. Replies
    4
    Views
    721

    Re: Where can I find the powershell 2.0 SDK??

    Actually, when you run the setup wizard, the only thing it knows how to do is remove and not setup the SDK.
  15. Replies
    4
    Views
    721

    Where can I find the powershell 2.0 SDK??

    Hi,

    I can find plenty of links via Google that claim to point to a download site for the SDK but the actual pages are either talking about the SDK or the link was totally bogus. This also...
  16. Replies
    0
    Views
    2,169

    Can't seem to change displayName via LDAP

    I am trying to keep ActiveDirectory people info in sync with our corporate database and so I am using the LDAP interface to ActiveDirectory. When I try to change the displayName attribute I get no...
  17. Re: Setting "User Cannot Change Password" via LDAP

    We eventually hired a Windows sysadmin who actually knows his stuff and how to set policies. He used a group policy to globally disable a user's ability to change his or her password. They are...
  18. Replies
    0
    Views
    918

    How do I take ownership of a folder

    Hi,

    In our 2003 multi forrest environment, user's MyDocuments folders are redirected. Occasionally users get deleted from AD but their MyDocuments folder didn't get removed and I'm assuming it's...
  19. Replies
    0
    Views
    2,084

    How do I takeover file ownership in .NET

    Hi,

    I am writing a C# utility that searches for orphan "My Documents" folders and deletes them -- they are redirected and the group policy grants the owner exclusive access. While I know hoiw to...
  20. Permissions quirks for view/deleting files

    While troubleshooting a problem deleting directories in C#, I noticed an interesting incongruity that I don't understand. The kind of directories I'm trying to delete are user profiles and I get...
  21. Replies
    2
    Views
    2,331

    Re: Permissions problem deleting folders

    Just to test for the possibility of it being a security context issue, I invoked the C# program from the command line and again got the permission denied error. I then attempted to delete the...
  22. Replies
    2
    Views
    2,331

    Permissions problem deleting folders

    I'm coding in C#, but I think the issue is more of a general Windows programming issue than C# specific.

    I am writing a program to clean up the residue of deleted accounts and what I'm trying to...
  23. Replies
    2
    Views
    1,209

    Re: Installing MS SQL Server 2000 on 2003 Server

    I didn't reboot, and I tried that. Problem is that the installer for SP3a terminates because it doesn't think that MS SQL Server is installed at all. That's what's killing me.

    Thanks,
    Rob
  24. Replies
    0
    Views
    363

    How do I access remote shares

    Hi,

    How do I from server "A" access a share on server "B" in C#. In this case, I'm running code that cleans up the residue of deleted accounts. The program runs on server "A" and profiles, if...
  25. Replies
    2
    Views
    1,209

    Installing MS SQL Server 2000 on 2003 Server

    Hi,

    I am trying to install MS SQL Server 2000 standard edition on a Windows 2003 Server and I get the error "SQL Server 2000 SP2 and belowis not supported by this version of Windows". Since I...
Results 1 to 25 of 35
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center