Answer Questions
brianmultilanguage Best Place To Locate Connection String and Other Initial Information?
New guy here...thanks for your patience ... I have a console application I'm building w/ .Net 2.0, C# and SQL Server. When the application starts I would like it gather some "initialization" information. Maybe a couple of items like its name, log file location, etc. I definately need a way to provide it w/ a Connection String so it can log in to a named SQL Server with either WAM or a user id/password. I'm famili ...Show All
Wengyik Yeong how to keep connection live while using httpwebrequest?
hi i am using httpwebrequest and httpwebresponse to send request and get response respectively. i want to keep connection live after sending one request in order to send another request using same channel. so plz help me. HTTPWEBREQUEST.KEEPALIVE = TRUE is not working. hi i just want ot know after sending request if i send another request at that time will it create another connection or it will use ...Show All
Biju S Melayil Sending E-Mails the secure way
Hello, I send order informations with my application to a special e-mail adress. The order informations are plain text and I think it is not very secure to send emails via a simple smtp protocol. Can you give me some informations how to make ik possible to send security emails Thank you cool guys! I will use the SSL solution IMO the simplest way is to connected to your ...Show All
ghemant I need help using the serial port in vb net 2005
Basically this is what I am doing Private Sub OPenComm_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OPenComm.Click Try &n ...Show All
PingCrosby DW20.exe issues
I have a web site and everytime I make a reference to my business/datalayers it times out and I can see DW20.exe running in task manager, If i remove all references to my business/datalayers my web site runs fine. My web app was working fine up until this morning. Everything is coded in 05. Has anyone else experienced this issue and if so what did you do to fix it I had thi ...Show All
S0nny88 ADO retrieving value
how do i compare the value from the user input with the value in the database and then select another value from that same row and print out For example StudentID name 1 John 2 &nb ...Show All
fhunter Web Method with a Result parameter
I have a webservice that has a couple methods with a parameter named Result. This was fine in VS.NET 2003 when I added a reference to it, however VS.NET 2005 generates different code when the reference is added, and it will not compile. I did some digging and discovered that it created a <MethodName>Completed event with a matching <MethodName>EventArgs class for all of the exposed methods. The problem that I run into is that the auto ...Show All
MrMacisu Problem serializing a System.Enum from C++/CLI - works fine from C#
I have a strange problem. I have a simple type that I'm trying to serialize and send to an MSMQ queue. [System::SerializableAttribute()] public enum class HostDataRequestTypes { None, FindAccountByANI }; [System::SerializableAttribute()] [System::Xml::Serialization::XmlRootAttribute( "HostDataRequest" , Namespace= "" , IsNullable= true )] public ref class HostDataRequestClass { pu ...Show All
JimmyB cannot connect to sql 2005 with management studio
Hi guys, I install sql 2005 CTP but cannot connect to the server with management studio installation successful and was named instance and under local system account in event viewer mssql service is running ok, I see even it connects to master db I can start and stop server with my old sql agent 2000 but I see only 1 error saying in event log: The SQL Network Interface library was unable to register SPN. Error: 0x54b. I have for OS 2003 ...Show All
RichLando Windows Registries: C# :Need Help Urgent
Hy, Can any body tell me how to remove or repair invalid registries in windows using C# , what is the logic behind all this (means scanning the registries, APIs and others). if any body knows please tell me i'll be very thankful. Bye are you talking about overall registry checking and checking which files are invalid I dont think you can do this for alot of reason ...Show All
workin4fishin GAC Install for Admin Only?
My program is using Junfeng's GAC API code to install files into the GAC. The code needs to run with any level of user permission, e.g. Guest. I used CAS to give my strong-named app Full Trust, but I still can't install into the GAC when I run as anyone other than Admin. Is there a permission set in CAS that I can use that will allow my app to install into the GAC Or is Admin the only user able to install into the GAC The only other work aro ...Show All
noirs Private Key Exporting problem
Hi guys, I have a problem with exporting the private key as a pfx file from a certificate. I am using following command to create a certificate: makecert -sk my -sky exchange -r -n "CN=mmm,OU=Cert,O=USYD,E=xxx@hotmail.com" -ss my mmm.cer When I am trying to export it in MMC(management console), the checkbox of exporting the private keys is disabled. I don't know why this happened since I have specify the '-sky' option in the command. ...Show All
Gregory Dye Create new DataTable as a subset of existing DataTable?
How do I create a new data table as a subset of an existing data table I know I can use the .Select("Where Clause"), but that returns a array of rows. How do I convert the array of rows back to a new data table Yes, DataView.ToTable does work, but how do you get a typed datatable out of it Ah, yes! The DataView.ToTable() method works nicely--thanks. Dave C. Thanks Vikram, I was hopin ...Show All
Eric Y. Best Way to Copy Data From Server A Table A1 to Server B Table B1 w/ C# and ADO.NET
Hello ... new guy here ... thank you for your patience. I've seen lots of ADO.NET examples (including the 101 C# examples), but I have not found one "exactly" like this...and I'm looking for the best practice... Here's my environment: SQL Server A has a database that contains table A1 SQL Server B has a database that contains table B1 Table A1 and B1 have an identical structure (columns, datatypes, etc.) Rows periodically flow into table A ...Show All
ScottMFG FtpWebRequest method=Create Directory problem with "#" in the directory name.
When i try to create a directory on a server with FTPWEBREQUEST with a # character in the directory name it only creates the directory name up until the # character. For example if i try to create the directory "C# Express" only "C" gets created on the server. I if send "C++ Express" it creates "C++ Express" on the server. I'm going to check into other characters that are valid for a directory nam ...Show All
