Answer Questions
Nagarajan Why am I getting WSE2008: KerberosToken is expected but not present in the security header of the incoming message.
I'm working with a WSE3 client and WSE3 server. I'm getting the above error when my client tries to call a Web Service method on the server. Debugging the problem, I tried using the QuickStart WSSecurityKerberos Policy sample. When I use the QuickStart sample everything works just fine (both client and server applications are running on the same Windows 2003 R2 Server machine -- a 64-bit machine w/ 4 Intel Xeon 2.8GHz processors, w/ ...Show All
Austin Ledbetter Sql Connection Hang
Hi, I am using .NET 2 (beta2) and are having problems with using a SqlConnection. I have created a test application that opens a sql connections, gets some basic data and then closes the connection. When i run this application as the administrator it works fine. However if i run the application as a standard user the application hangs indefinatly on SqlConnection.Open(). I dont get any time out or any exceptions. It just hangs there ...Show All
traitor28 how do I authenticate to web service?
I'm trying to re-create my Visual Studio 2003 application in Visual Studio 2005 that should create a secure connection to a web service using SOAP protocols and digital signature, I have a problem establishing a secure connection( I can't authenticate to the web service) using a x509 certificate. Thanks for help. The sample is nice but I still can't authenticate to the web service (can't make a trusted connec ...Show All
Agner Error dynamically creating instance of "System.String"
Hi, Im dynamically creating objects by their type with the following code: object myNewObject = myType.GetType().Assembley.CreateInstance(myType.ToString()); For Example: When myType is Int32 it works great and myNewObject is an Integer. The problem came when i tried to create instance from type s tring . The exception i get is: "Constructor on type "System.String" not found" . How can it be Please help ...Show All
Phil Burns reading some strange file
hi all, I have a file that i want to read created by a program from another company. I fi open the file in notepad it has all kind of funny chars in it, i tried different ways of reading it in vb.net but the funny chars stay. Anyone has any idea how to read something like this this is an extract from the file " 2006/05/19 13:44:28 ----------- uStreetname 91 1745 Opwijk ' 590208356329 SLIN3f )ly%g: ...Show All
Ben Wolf Excel to SQL server import
Hi all I am trying to import data from a excel file Insert into _PATIENTS select * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=\\svrsqlLive\Processing\PATIENTS.xls;HDR=YES', 'SELECT * FROM [Sheet1$]') This is giving me the following error Server: Msg 7399, Level 16, State 1, Line 1 OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. The provider did not give any information about the error. OLE DB error trace [OLE/DB P ...Show All
sunarc Exclude schema when sending typed dataset through web services
Hi. The problem with sending typed dataset through web services is that it also sends the schema def. of the dataset, that can be very large if it reflects a big database. So i have tried to to not sending the schema with; myDataSet1.SchemaSerializationMode = SchemaSerializationMode .ExcludeSchema; But this aint working, it makes no difference to the XML being sent. The schema is there. And i have also tried: myDataSet1 . ...Show All
Srinath - MSFT System.AccessViolationException - Attempted to read or write protected memory
Hi! Today I ran into this kind of problem for the first time. I installed my app, which is server/client thing on a computer with WinXP(forgot to check which service pack). Server is Windows Service that accepts connections via remoting. I get this error on the server side each time I try to connect to it with the client (on the same computer). System.AccessViolationException Attempted to read or write protected memory. This is often an ...Show All
microzt SqlAdapter in VB .net beta
I am new to vb .net; I am trying to follow the msdn technical article "Building an N-Tier Application in .NET" http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/buildntierapp.asp .. and when trying to .... 7. In the design view, click and drag a SqlDataAdapter control from the Data tab of the toolbox onto the design surface of this component. I am unable to locate any SqlDataAdapter component in the toolbox..... I ...Show All
Jinghao Liu Application update toolbox for .Net?
Many recent applications include some auto-update features in one form or an other. I would like to know if there is a toolbox to do that with .Net Thanks in advance, Joannes If you are using visual studio 2005 using click once to deploy the application will make it auot updating. http://msdn.microsoft.com/msdnmag/issues/04/05/clickonce/default.aspx For earlier versions of visual studio use the update appl ...Show All
mindserve Text alignment in Listbox, and Textfile, for printing.
Hi, well I hope someone here can help me. I want to print a document, but before that. I extract all the values from a database, and then write it to a file but depending of the size of each value, the column sizes changes. How is it posible to align each "Column", so that, no matter the size of each value, the columns line up perfectly under each other. eg... 1 2 3 4 5 ...Show All
coyoteworks Datarow copy
It's hard to beleive that I cannot find any post on this! I want to copy a datarow from a source dataset to a target empty dataset. I get the datarow from the source dataset but when I want to insert it to the target dataset table I get the following message This row already belongs to another table The only way I found to copy the row to my target dataset was to use the row.ItemArray instead of the row itself in call below theTarget.Tables(0 ...Show All
Denis Voyer Problems authenticating server for SSLStream negotiation
This is absolutely driving me nuts. Any hints would be GREATLY appreciated. I am trying to negotiate a clear channel socket to SSL. Thing is it works great on two development computers, but falls flat on its face when I go to deploy to a server. I have written both CLIENT and SERVER for FTP. When the client issues the appropriate command I call the SSLStream.AuthenticateAsClient, while at the same time the server is calling SSLStr ...Show All
Sam Roth Need help in passing Custom Object through Webservice
I have a BL.dll that is referenced from the web service and the client GUI. Let's say Employee object is in BL.dll. In the webservice there is a method that requires Employee as the parameter. So on the client side the code will be like: ... myWebService.foo(BL.Employee); on the webservice the code will be like: [WebMethod] public void foo(BL.Employee) { ... } when I compile the project I get error saying t ...Show All
Shiva1 sql server msde?
Does the .net 2.0 framework beta 2 install sql server msde on your server The .NET v2 Framework installer doesn't install SQL Server 2005 Express (the new name for MSDE). I think the Express editions (VB, C#, VWD) offer an option to install it, and VS2005 does. ...Show All
