Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

deepak__sharma

@deepak__sharma
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • regular expression
    D deepak__sharma

    this might help function ValidateMobileNo(evt) { var lbl=document.getElementById('lblMobilNoMsg'); lbl.style.display='none'; var iChars = "~`!@#$%^&*()=-[]\\\';,./{}|\":<>?_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; if (evt.value.toString().trim()!="") { for(var i=0;i<evt.value.toString().trim().length;i++) { if(iChars.indexOf(evt.value.toString().trim().charAt(i)) != -1) { lbl.style.display='inline'; lbl.innerHTML="Invalid Value." evt.select(); evt.focus(); return false; } } if ((evt.value.toString().trim().length)<10||(evt.value.toString().trim().length)>15) { lbl.style.display='inline'; lbl.innerHTML="Invalid Mobile No. (should be of 10-15 digit)" evt.select(); evt.focus(); return false; } return true; } }

    ASP.NET

  • powershell command automation
    D deepak__sharma

    I sorted out the problem. The problem was of Application Pool in IIS, I created a separate pool and gave the Administrator user credentials. Thats it :)

    ASP.NET

  • powershell command automation
    D deepak__sharma

    I m trying to run the following code on Exchange Server 2007 on a 64 bit server through asp.net 3.5 :- private bool fncCreateForwarding(string ruleName, string recipientEmaillID, string forwardingEmailID) { /* * New-JournalRule -Name "Discovery Journal Recipients" -Recipient * discovery@contoso.com -JournalEmailAddress "Journal Mailbox" * -Scope Global -Enabled $True */ bool _created = false; try { string _command = string.Empty; _command = "New-JournalRule"; string _result = string.Empty; Runspace myRunspace = RunspaceFactory.CreateRunspace(); myRunspace.Open(); RunspaceConfiguration rsConfig = RunspaceConfiguration.Create(); PSSnapInException snapInException = null; PSSnapInInfo info = rsConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Admin", out snapInException); Runspace myRunSpace = RunspaceFactory.CreateRunspace(rsConfig); myRunSpace.Open(); Pipeline pipeLineEnable = myRunSpace.CreatePipeline(); Command myCommand = new Command(_command); myCommand.Parameters.Add("Name", ruleName); myCommand.Parameters.Add("Recipient", recipientEmaillID); myCommand.Parameters.Add("JournalEmailAddress", forwardingEmailID); myCommand.Parameters.Add("Scope", "Global"); myCommand.Parameters.Add("Enabled", true); pipeLineEnable.Commands.Add(myCommand); Collection commandResults = pipeLineEnable.Invoke(); _created = true; } catch (Exception ex) { Logger.LogError(ex); } return _created; } I have set the Active Solution Platform as Any CPU from the configuration manager. The problem is that nothing happens. The code executes without throwing any exception. But the Journaling Rule does not get created. Although when I run the command via Exchange Management Shell the command executes and creates Journaling rule. I would also like to tell that the same code is running perfectly on the other exchange server, but not on the Production server. What can be the problem? Warm regards Deepak Sharma

    ASP.NET

  • Mail forwarding on MS Exchange 2007
    D deepak__sharma

    thanks for ur suggestion Abhijit.

    .NET (Core and Framework) csharp sysadmin tutorial

  • Mail forwarding on MS Exchange 2007
    D deepak__sharma

    Hi, I want to develop a service in C# ,that will run on the exchange server. The service will monitor a particular email account whenever send/receive happens the service will forward the arrived mail to a specified email id. Kindly guide me through this. Thanks

    .NET (Core and Framework) csharp sysadmin tutorial

  • client server problem.
    D deepak__sharma

    Hi i'm working on chat application in .net , i want to add whiteboard feature in the same project. The whiteboard has been made, but i am clueless about how to share the whiteboard among server and clients,. If any body writes on the board then that must be conveyed to all the connected clients simultaneously. how to do this? could anybuddy help me out. its urgent plz. thanx Deepak :doh:

    ASP.NET help csharp sysadmin tutorial question

  • how to implement Audio/video chatting using remoting concept in c#.net
    D deepak__sharma

    Hi to all I am working on a project of developing client/chat server software in .net. The textual chatting software has been devoloped and is working well. But now I have been asked to add another feature of audio/video conferencing(chatting) into the chatting software. But i have no clues. Can anybody suggest me resources on net or any guideline..plz help. -- modified at 7:40 Thursday 11th May, 2006

    C# csharp sysadmin help tutorial lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups