thanks for reply.... it doesn't prompt for login..
l laxmikant
Posts
-
connecting to telnet and executing perl script [modified] -
connecting to telnet and executing perl script [modified]// code is as follow, it executes without any exception but nothing happens at unix and i get the response as ??% all time string message = "./mahesh/touch test_connection1"; Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socket.Blocking = true; socket.Connect("10.111.16.199", 23); TelnetStream stream = new TelnetStream(socket); Byte[] data = System.Text.Encoding.ASCII.GetBytes(message); stream.Write(data, 0, data.Length); // String to store the response ASCII representation. String responseData = String.Empty; // Read the first batch of the TcpServer response bytes. Int32 bytes = stream.Read(data, 0, data.Length); responseData = System.Text.Encoding.ASCII.GetString(data, 0, bytes); Console.WriteLine("Received: {0}", responseData); // Close everything. stream.Close(); socket.Close();
-
connecting to telnet and executing perl script [modified]firstly read the thread, i need to connect to telnet and execute the perl scripts which are on unix machine using C# i hope u will understand this
-
connecting to telnet and executing perl script [modified]hi friends I have some perl scripts which are on unix machine. I need to connect to telnet and execute these perl scripts using C#. please help me for this... thanks
modified on Wednesday, February 24, 2010 3:59 AM
-
Enable ajax using ASP.Net using C#download the ajax extensions and install it do the necessary settings in web.config wrap ur controls in update panel
-
How to call confirm from C#.Net?write a javascript function function check { return confirm('your msg'); } and in form load add attribute btn.Attributes.Add('onclick','return check();');
-
how can i read this xml ?write serilization classes for this
-
Hidden Field problemtry $get('<%=hdf.ClientID%'>.value
-
mapping output paramters in ssishi freinds I need to call an stored procedure from c# code for ssis package, stored procedure has one output parameter i have creaded one oledb command comonent using C# with this oledb command i want to execute the stored procedure i have set the oledb command's sql command property like DestErrorInst.SetComponentProperty("SqlCommand", "exec spInsertErrors ?, ?, ?, ? out"); now i want to map or read this output parameter values how can i achieve this? thanks
-
how to set error output of oledb command to another oledb commandHi experts I have an ssis package in which I have a oledb data source to oledb command i want if any error comes while performing oledb command that rows should be move to the another oledb command I tried this to take an output from first oledb command to the error oledb command. when i run this, It validates with success but while executing it just hangs with out any error pleas help me thanks so much
-
console application current pathhi friends how to get current console application path thanks
-
creating ssis package on the fly using C#hi friends I have created one ssis package using interface, it works fine flow is like oledbdatasource -> conditional splits like --> if action = 1 then oledb command 1 -> oledbcommand2 if action = 2 then oledb command 3 -> oledbcommand4 default output of conditional split to oledb destination i want to do this using C#. all the components like conditional split and oledbcommand should be add on the fly. any one can give me a hint or url for this. thanks so much
-
conditional split in ssishi friends I have created one ssis package using interface, it works fine flow is like oledbdatasource -> conditional splits like --> if action = 1 then oledb command 1 -> oledbcommand2 if action = 2 then oledb command 3 -> oledbcommand4 default output of conditional split to oledb destination i want to do this using C#. all the components like conditional split and oledbcommand should be add on the fly. any one can give me a hint or url for this. thanks so much
-
How to validate textboxes using java script code while using Master page and content Pagei think u have use document.getelementbyid(control name) instead of that use document.getelementbyid('<%= ControlID.ClientID >')
-
creating ssis package using C#.netHi friends I have created a package using C#.net myPackage.PackageType = DTSPackageType.DTSDesigner90; myPackage.Name = "MySSISPackage"; myPackage.Description = "Created using the SSIS API"; myPackage.CreatorComputerName = System.Environment.MachineName; myPackage.CreatorName = "Otey"; //Add the OLE DB and Flat File Connection Managers Console.WriteLine("Creating the MyOLEDBConnection"); cnOLEDB = myPackage.Connections.Add("OLEDB"); cnOLEDB.Name = "MyOLEDBConnection"; cnOLEDB.ConnectionString = "Data Source=RELL;Initial Catalog=Northwind;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;"; //cnOLEDB.ProtectionLevel = DTSProtectionLevel.EncryptAllWithPassword; Console.WriteLine("Creating the MyFlatFileConnection"); cnDestination = myPackage.Connections.Add("OLEDB"); cnDestination.Name = "cnDestination"; cnDestination.ConnectionString = "Data Source=RELL;Initial Catalog=testssis;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;"; Console.WriteLine("Adding a Data Flow Task"); TaskHost taskDF = myPackage.Executables.Add("DTS.Pipeline") as TaskHost; taskDF.Name = "DataFlow"; DTP = default(MainPipe); DTP = taskDF.InnerObject as MainPipe; // Add the OLE DB Source Console.WriteLine("Adding an OLEDB Source"); DFSource = default(IDTSComponentMetaData90); DFSource = DTP.ComponentMetaDataCollection.New(); DFSource.ComponentClassID = "DTSAdapter.OLEDBSource"; DFSource.Name = "OLEDBSource"; CManagedComponentWrapper SourceInst = DFSource.Instantiate(); SourceInst.ProvideComponentProperties(); DFSource.RuntimeConnectionCollection[0].ConnectionManagerID = myPackage.Connections["MyOLEDBConnection"].ID; DFSource.RuntimeConnectionCollection[0].ConnectionManager = DtsConvert.ToConnectionManager90(myPackage.Connections["MyOLEDBConnection"]); SourceInst.SetComponentProperty("OpenRowset", "Categories"); SourceInst.SetComponentProperty("AccessMode", 2); SourceInst.AcquireConnections(null); SourceInst.ReinitializeMetaData(); // Error line SourceInst.ReleaseConnections(); I am getting an exception "Exception from HRESULT:
-
A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$txtUserId="<hkjgh").>set the pages attribtes validaterequest to false in config gile
-
ssis package for inserting data from one db to otherHi friends I need to create one ssis package which will work like when ever data is updated or added in database that data should be reflect to other database. any help or link thanks
-
Video capturing from web camUse Flash Media Server (FMS) and Flash Media Encoder (FME) see the link below http://steveorr.net/articles/StreamingMedia.aspx
-
Dropdown issueset height of the dropwown
-
Error - when uploading excel file to servercheck object which is doing operation on file has disposed before using it next time