Answer Questions
Northern Ferret Marshalling COM interface between threads--help!
I am developing a Windows Forms 2.0 application that references a COM primary interop assembly to communicate with a COTS product. I am still very new to working with COM from .Net and the threading issues that are involved, so I am unsure how to marshall a COM interface between threads--I have the main UI thread, of course, but for many of the data access calls I use a BackgroundWorker component to execute the calls asynchronously. The issue I ...Show All
Slawza saving aspx file to harddisk
My requirement is to save the webpage onto my harddisk on a button press. Later i want to email that webpage the way i have saved. Kindly tell me how to save the webpage on to the harddisk programmatically using asp.net. Thanx in advance Ali Zahid. I want to save the webpage on the hard drive of the server. Hi! Do you want to save it on your local hard drive (of the client) or on the hard drive of ...Show All
John Minkjan Server Application Unavailable
I am having serious issues getting .Net Framework 2.0 to work correctly. When I try to access an aspx page i recieve a " Server Application Unavailable " error. I have searched the internet and I have tried: Uninstalling iis and net framework 2.0 and reinstalling iis and then the framework, but that didn't work. I followed the instuctions from microsoft: http://support.microsoft.com/default.aspx kbid=811320 Nothing seems to work. ...Show All
Master_Chief remoting?..networking? am lost
hi all, after spending some great deal of time on the internet searching...i surrender. i am an ASP.NET developer who has moved recently to work on WinForms application. i have to create this application which is composed of client/server sides. client and server share some datatables between. which need to be synchronized from time to time. and since am illitrate in anything of networking and remoting !! i ask help....where should i start. ...Show All
hberenguel ASP.NET access denied problem
I understand how to fix this problem I am having with ASP.NET not being able to access the file I want it to. It is just when I go to fix it, the "Security" tab does not exist and the Indexing Services are not running. My OS is Win2000. My .NET is 2003. Can anyone help Were do I go to give ASPNET that ability Because the only place I have been able to fix it in the past is in the Security Tab under f ...Show All
zhangshaolin Performance Issue
I have an ASP.NET/C# application. For most of he screens I get data from database, process it and display on grid and other controls. In this whole process, CPU utilization of server goes up to 100% and on an average it remains at 90%. I am using 2.4 GHz, 512 RAM server, Win2000 and IIS 5. Which kind of code in C# can cause this kind of problem What kind of statements in my code I should avoid to avoid high % of CPU utilization. I'll appreciat ...Show All
keenan10000 Method to encrypt/decrypt passwords not working
I had a post asking the best way to encrypt and decrypt passwords and I got a great response from David. He said to go to http://blogs.msdn.com/shawnfa/archive/2005/11/10/491431.aspx for help. I did, and came up with the following code (C#): public static string Encrypt( string data, string password) { if ( String .IsNullOrEmpty(data)) throw new ArgumentException ( "No data given" ); if ( String .IsNullOrEmp ...Show All
Sapient Another Undo operation encountered a context...
I've been looking around these forums for the past hour, looking at the variety of solutions to this error. But none seem to be applicable in my case. I'm not an experienced visual developer, so a lot of this (including terminology) is very new to me. So I may be misunderstanding one of the solutions previously offered. I'm writing a mobile application that communicates with a local server that then goes on to communicate with a Unix serve ...Show All
Dmorris serializing a WindowsIdentity
I am trying to write a simple server/client application that will perform operations on the server using the permissions of the person running the client. I have saught to do this by serializing a WindowsIdentity object representing the client and sending it through a NetworkStream that is connected to the server (which will run as a windows service). Then I attempt to impersonate the user on the server using the WindowsIdentity object. ...Show All
R Raghu Programmatically Access Data in Server Controls
Lets say I've got a buton click callback and I want to retrieve the data that is currently referenced by a DetailsView. I would think there should be a DataView available somewhere or something but I sure can't seem to find it. Any thought/suggestions I should have specified I'm using SqlDataSource for data access, obviously if I had accessed the data programmatically I'd be able to keep a DataView around to r ...Show All
Talkless WSE question
Hi, I was using test certificate with WSE 3.0. Since test certificate was signed with Root Agency so I get warning dialog when I try to access web service from IE. My web service is hosted under IIS and I am using SSL( Using test certificate). Through code I can by pass this warning by using a class ServicePointManager. But if I have to use client certificate how can I tell the server to ignore this warning. (Client certificate for client aut ...Show All
MartinDolphin Icons for files - by extension
Hi, I'm trying to populate a treeview with files in a folder and would like to show the icons for the file. How can I get the icons when I have the extension For example, ".doc" would give me the icon with the w. I want it to look like Explorer and have all registered files show icons. Thanks Winston, Create another thread for your last question. We try to only have a single question ...Show All
shreeman WSE3.0 Error
I created a WSE Enabled webservice using UsernameOverCertificate security assertion. I'm getting this error: System.Web.Services.Protocols.SoapException: Server was unable to process request. --- > System.Configuration.ConfigurationException: Unrecognized attribute 'requirePermission' (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 14) at Microsoft.Practices.EnterpriseLibrary.Configuration.Configuration ...Show All
DHLennon DateTime "data type mismatch" in C# and Access
I'm using C# WinForms as an interface to an Access database. I have two fields of the type date/time in my database. In my code, I've checked everywhere to see that the variables I'm trying to enter into the DB are DateTime variables. The following is my relavant code: addNewExpert.Parameters["ID"].Value = newExpert.ID; addNewExpert.Parameters["FN"].Value = newExpert.FirstName; addNewExpert.Parameters["LN"].Value = ...Show All
NatashaKarlsson IPX under C#
Hello, I have to write an a C' application supporting the IPX protocol - to get a socket I would use _server = new Socket ( AddressFamily .Ipx, SocketType .Dgram, ProtocolType .Ipx); but I'm suckt with the Bind function - how I'm setting the EndPoint for a Networkcard. I'm onliy find the IpEndPoint and so on but nothing for IPX - may someone could help me The basic idea is that ...Show All
