Answer Questions
Dhawal Mehta WSE 2.0 - Forcing WSE Token Autentication
Is there a way to force all webservices in a project to require WSE authentication (authenticating the UsernameToken). I am implementing UsernameToken auth over about 20 different WebServices and do want to have to put the "Does UsernameToken exist" in each webservice method. I've done some testing and if I create my web service proxy using xxx.Service1() instead of xxx.Service1Wse() I am still able to consume the "protected"web services. ...Show All
Alain DP AspNet_wp.exe role in ServicedComponent Exceution
I am calling a .NET Serviced Component in my Standalone classic ASP page to get some Xml data as string. Does AspNET_wp.exe process play any role in this ASP page execution Hello, The best place to ask a question about ASP or ASP.NET development is the ASP.NET Developer Forums [ http://forums.asp.net/ ] - which is maintained by the ASP.NET community and the product group. Hope that helps, Stephen [Microso ...Show All
Puwadol Error retrieving correct number of Copies in Devmode Structure (Windows 32 API - WinSpooler.drv)
Hi, I am using winspool.drv to spool print job using a notify call back mechanism. To obtain the print job information, I am currently filling up the JOB_INFO_2 structure which is giving me access to DEVMODE structure. My devmode structure is returning me valueable information about print job except the flag dmCopies which is specified as short dmCopies ; "Selects the number of copies printed if the device supports multiple-page copie ...Show All
kingofnexus Cloning Generic list?
Is there a better way to shallow-clone a generic List<> than create a new List<> with the old list as the constructor's argument List<Foo> list1 = new List<Foo>(); // Add a zillion references to list1 List<Foo> list1Copy = new List<Foo>(list1); The generic lists don't seem to provide the Clone() method. Creating a custom, inheirted List<> is something I'd like to avoid. ...Show All
TylEray Dynamic DLL loading.
Will I need to make use of Reflection to determine whether I need to Dynamically load a dll I need to check whether a mobile has some specific functionality, and then to dynamically load a dll depending on the outcome. Thanks in advance. Tryst Hi, Yes indeed, you have to use Reflection to dynamically load a DLL at runtime. System.Reflection.Assembly a = System.Reflection.Assembly.LoadFrom("your_assembly.dll"); ...Show All
hanguyen Urgent: MSI forms Memory Leak: Major Issue
Hey guys, We have, a windows form application in VB.NET. The way this application is structured is, there’s a MasterForm which contains a Main menu and acts as the mdi parent to around 20 windows forms. We have a BaseForm with some controls on it inherited by 20 other forms. The problem we are facing is, as we work on the application, as new instances of the forms are created, the memory used by the application keep on increasing (Memory leak ...Show All
Jollyollyman FTP usage
Hi. Using .NET 2.0 and its the first time im using the FTP protocol in development. I am trying to issue a few commands, firstly it works fine such as listing a directory however if i wish to disconnect from the server using, lets say "QUIT" or perhaps I wish to upload /download a file, I get an error saying: "This operation cannot be performed after the request has been submitted." Am I doing something wrong or must I create another Ftp ...Show All
Dirk Myers - MSFT Attachment problem
I have an asp.net application. This application will be generating a lot of Html files( Content as stream, and Html Name). I have to email these file to respective client. After testing it i happen to get the The attachment content in the Body of the mail.I want to get it as a different file( Attachment file). Please help this my code MailMessage Mail = new MailMessage(mFromEmailAddress,mToEmailAddress,mEmailSubject, mEmailBody); Mail.Attachment ...Show All
Dhinesh sIDHistory attribute, DsAddSidHistory (in the ntdsapi.dll)
Wasnt' sure which forum to put this in. Hope I hit the spot: I am looking for *any* ideas on how to programatically set the sIDHistory attribute in Windows 2003 user objects - preferably with DirectoryServices. I have found the DsAddSidHistory (in the ntdsapi.dll) but have no clue how to program with it. Microsoft seems to be abnormally quiet with examples of using the ntdsapi.dll - or I have yet to stumble onto the cache of info. I see the e ...Show All
Mulyanto System.net.Sockets.UDPClient
Hi There, Hope so everyone's kewl. I was trying to use the udpclient class to check the udp client server model and am facin an issue. it'd be gr8 if someoe can help me out with regards to this issue. Scenario: FrameWork Ver: 1.1 Server: create an instance of the udpclient class. IPEndPoint = new IPEndpoint(my ip address,port#) using UDPClient class UDPClient.send works fine. and returns sucessfully. Client: create an in ...Show All
Andres Ponce de Leon How can I generate the prerender event of ASP:NET page
I havent been able to generate the event handler How can I do it Please post ASP.NET specific questions to the ASP.NET web forums: http://forums.asp.net Daniel Roth ...Show All
TonyStoker problem in my server
thanks us i have a server and i work in windows 2003 server sp1 with dhcp and dns and active directory i need to make my server nat just router to give the client internet i dont have vpn network just internal network only i configured the dns and dhcp and active dirctory and made the nat from router and remote acces but i dont know why client dont have internet when i install isa server 2004 the internet in server or bro ...Show All
Rodrigo Landaeta Best database choice?
I am wondering what the consensus is on choosing a database solution for a windows forms application when developing for the following criteria: 1. For applications that need to be deployed with their database on target computers (nothing complicated like oracle or ms SQL). 2. small amounts of data...( say...less than 500 mb of data [basically only need to persist small amounts of data between application executions ]) What kinds of ...Show All
Douglas Lellis Using windows credential to log on as sql server user, is it possible?
Hi, I'm new to .Net programming and would like to know whether its possible to user windows user credential to log on as sql server in MSSQL 2005. Let say i have a windows user, userA in my server is it possible to user this UserA credential to log on as sql server user in other to make connection sql server and do data manipulation. Please enlighten me! Regards You use just exact same classes to connect to the SQL Server using Windo ...Show All
JA Enterprise Services performance problem
Hi I have a three tier application, developed with .Net 2.0 beta 2. Business facade layer: web services; Business logic layer: COM+ (Enterprise Services); Data access layer: ADO 2.0, SQL Server 2005, no dynamic queries; Database: stored procedures; The performance should be acceptable for 30 concurrent users. But it is not. The memory used by IIS is about 200 Mb (quite acceptable). After 20- ...Show All
