failed to generate type library for EnterpriseLibrary
I have a custom .NET library assembly that uses COM+ and references Microsoft.Practices.EnterpriseLibrary.Data 5.0When I try to install it into COM+ I'm getting an error:PS...
View ArticleInitiating an Autosys job from C#
Hi, Has anyone ever started an autosys job from a C# console application?Here is my code, it does not work.// Start a process to execute a package and raise an event when done....
View ArticleHow to unload an assembly in Compact framework in WinCE (.Net 3.5)
We have a compact framework in WinCE for .net3.5. Here i need to dynamically unload an existing dll and load new version of the same dll. Please provide some input.Cheers
View ArticleWindows forms grid partial results
HiWe are trying to convert a traditional ADO.NET / Winforms desktop application to azure.One of the things that we need to do is to start showing partial results of a query in the grid and keep on...
View ArticleMicrosoft.Lync.Model
I'm using Visual Studios 2013 and want to use Person Presence through Lync. I downloaded the Lync 2013 sdk. I don't see the reference for the namespace Microsoft.Lync.Model though. I believe I need it...
View ArticleGetting cerificate null on server on windows 32 bit
Getting certificate null on windows 7 32 bit and windows server 2008 R2.But running perfectly on windows 8.1.please resolve the issue thanks
View Article14.0 / (14 * 0.01) = ?
Hello everyone.Got issue with calculation items success ratio. Here's source code:List<ResponseMail> conversationsForCurrentPeriod = _responsesForCurrentPeriod; if...
View ArticleWebservices X509 with Client Certificates
Dear All,I am developing a web application in .net that needs to serve clientes that has X509 certificates . my webapp needs to call remote webservices from another provides (government servers) that...
View ArticleHow to check if a file is in use (when the system apparently behaves erratic...
Hello community,it is really weird and wicked! To check if a file is in use I try the following code// Proceed only when the application is closed by the user again bool closed = false; FileStream...
View Articlesending SMS using SMPP in C#
Hi, I have SMS gateway and they only allow SMPP protocol to be used to send SMSs. Is it possible to send use SMPP using just C# .NET Framework or I should use a third party? if not possible, any free...
View Articletype exists in BOTH assemblies (BUT FOR GOOD REASONS)
Hi FolksI've been kind of forced between a "rock and a hard place" in terms of what we refer to as our "Global Directory" (SSO - single sign-on services) and how SQL Server 2012 SSRS works as well.1....
View ArticleWhy we use Forms Authentication in ASP.NET and give me a Real Time example on...
Hai...Can you please give me real time example on forms authentication?
View ArticleIdentity.UserManager errors in other language
How can I change the error messages language in the code below?:if (ModelState.IsValid) { var user = new ApplicationUser() { UserName = model.UserName }; var result = await...
View ArticleHttpWebRequest hangs
This is frequent question, but I tried everything and nothing helps.HttpWebRequest hangs at line with GetResponse call. I already checked usings, connection limits and even disabled 100 Continue. I...
View Articleget ManagementObject from EventArrivedEventArgs
Platform: Windows XP Profressional with SP3, .NET 3.5 Language: VC++ References: System.Management I'm using the ManagementEventWatcher to monitor new instances of Win32_PrintJob. I want to be able to...
View ArticleWhat is best way to develop app for Windows 7, Windows8/8.1 and Windows Phone...
What is the best way to develop an app that needs to run on Windows 7, Windows 8/8.1 and Windows Phone 8.1? My ideas are:Create a Portable Class Library with a separate project for each environment...
View ArticleHow to use EventSource to log to remote SQL Server database?
Hello,My library has a dependency on Semantic Logging Library (SLAB) because it uses SQL Server Sink to write events from my custom EventSource to a remote SQL Server database. The users of my library...
View ArticleWindow service with timer of one month
How we can set the timer of window service to 1 month, I am trying but it is not getting set as it take time in milliseconds.
View ArticleTrouble Getting SignedXml.CheckSignature() to work
I'm trying to verify a message that arrives at the method below as an XmlDocument. The document is created with PreserverWhitespace=true and is created from a base64 decoded string recieved from an...
View ArticleI Need To Filter Gridview From Starting Date to Ending Date. Please Correct...
DateTime StartingDate;DateTime EndingDate;bs.Filter = "[OrderDate] >= #" + StartingDate + "#"+"[OrderDate] <= #"+EndingDate+"#";
View Article