Answer Questions
-Eric Bouguen- What's the difference for VS1.1 and VS2.0 while consuming the same SOAP ENDPOINT registered in SQL 2005?
I created and regitsered an SOAP End Point in SQL 2005, which takes a integer parameter and return a dataset. I built an app in VS2003 to consume this service, it failed with error like Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:int' is not declared. An error occurred at , (1, 1945). However, it really worked in an app built in VS2005. .Net Frameworks 2.0 (Visual Studio 2005) DataSet object improved their support ...Show All
Madhusudanan How to determine if a lease time expires (on the remote object)
Hello, I've got an application that use a remote object (.NET Remoting, Singleton object). When this object's lease time runs out, I need release some unmanaged code that this object uses. Any idea to do this Thanks Implement an ITrackingHandler interface. . . I outlined an approach here ...Show All
Masta_Splinta MS Access Automation in .NET supported?
Can .NET do MS Access automation like it can do Excel automation I tried to add a COM reference "Microsoft Access 10.0 Object Library" and it gives me the error... "Converting the type library to a .NET assembly failed..." message. Am I using the right reference Or do I need to download some thing Where can I find info on MS Office Applications automation Thanks! Rasmasyean, I started interfacing to Excel before PI ...Show All
BillGates4ever R
Hi, I am using VB.Net 2.0 and have connected to Microsoft Access but having trouble running a query as it uses * as a wildcard, but when I run it in .Net it returns nothing as needs to have %. The solutions I can think of are: 1) If I was able to extract out the actual SQL string from the MS Access query from my code then I could do a Replace("*", "%") then would work - but don't know how to extract the SQL strin ...Show All
EileenWin Obtaining ModuleID
Maybe someone knows any technique to obtain ModuleID of some module in .NET Profiling API 2 when all information we have is it's metadata token - mdModule and IMetaDataImport2 interface. Of course also we can use ICorProfilerInfo2 methods. Thanx. There's no function you can call to do the translation; we usually recommend that you keep a mapping between ModuleID and MVID as you receive ModuleLoad events, and l ...Show All
Alphonseyz "general network error" when trying to make an SqlConnection....
able to connect via query analyzer, able to connect via a remote machine!!!!!! (using sql server's ip) :\ Yes, this is soooooo wierd: computer "1" is the machine with the SQL Server service on it. on computer "1": when i use "pooled=true" i get an error&nbs ...Show All
Alex114 Concurrency violation when updating twice
I have a parent row that I create, which will have a number of child rows related to it. There is a status field in the parent row that I give a value of "UnderConstruction" (which is an enum with a value of zero) so that, while I'm creating the child rows, the parent row will not be processed by another method that looks for new rows to process. After populating the rest of the parent row, I do a .Update on its SQLDataAdapter, which will ...Show All
rax_uk How do i get Reference of a running application
If a windows application is running, how can i get the reference of the form in that running application from my project. I am developing in .NET. Hi, yes Shaile you are right, I need 2 processes to communicate. Actually my requirements are of two types. 1. There is a small piece of application say "AppX" which can be integrated with a large one say "AppY". And also "AppX" can be standalone ie. out side &qu ...Show All
Barham Nested Web Controls
Hi! To create a special report, I have to use nested Repeaters as below: <asp:Repeater ID="rpt1" Runat="server"> <ItemTemplate> <asp:Repeater ID="rpt2" Runat="server"> <ItemTemplate> </ItemTemplate> </asp:Repeater> . . . </ItemTemplate> </asp:Repeater> But I may not call the inner Repeat ...Show All
Murphy Mass mailing in C#.
How can we send mails by bypassing SMTP relay server in c# Will it speed up the process of sending mails or not If anybody have knowlege regarding this plz reply ASAP. If you want to bypass your own outbound SMTP server, you'd have to manually resolve addresses to DNS MX records in order to get the address of the direct STMP server for each email address. You'd also have to handle resends yourself (which are handled by your outbound S ...Show All
Rich Fore Interop problem (.NET 2.0 )
hello, I have to load an unmanaged dll written in Delphi to my C# 2.0 application. The unmanaged function has one parameter; pointer to an interface and return this pointer. I am not sure how to declare the delegate and to use it. My code below; //here unsure about the signature internal delegate MyDel (out IntPtr IModule); IntPtr hModule = LoadLibrary( "mydll.dll" ); //if the handle is valid try to call ...Show All
TheBigIrishman Processing Errors from File::Copy()
Hi folks. I'm using Visual Studio C++ .NET in a WinForms app and I'm trying to use the File class Copy() method. When I make a call to this method on a file that can't be copied for some reason (say it's already opened), the application throws an exception that isn't being handled and the user is prompted to either continue or abort execution of the program. Looking at the docs for the Copy() method, it doesn't look like it returns any error ...Show All
StanStandard [newbie] webservices + error
with Visual studio 2005. Code below. add the client I added a webreference as you see. If I test the webservice in my browser it works, but not from the pda. ERROR: at runtime: Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found. System.Net.WebException was unhandled Message="Web exception was unhandled. E ...Show All
Ulzii Is CallContext still the way to go?
With the plethora of new classes and libraries released in .NET 2.0, I want to make sure that CallContext is still the optimal way to flow data between calls (other than explicit signature changes). Basically, I need the ability to pass data from one call to another and "flow" the data in the background as opposed to explicitly pass it. Traditionally, I have done so using CallContext (only when the use of ContextBound was ok and the performan ...Show All
mattisdada Reflection or CAS trouble
I have built an ASP.Net 1.1 application that utilizes reflection to load "Plugins" at runtime. The code works if you are a local administrator to the web server, but fails for anyone else. The part where it's failing is somewhere in the method that loads the assemblies. I have tried loading the assemblies in 3 different ways now and continue to get an error when it's not an administrator. I'm guessing that the problem lies within pe ...Show All
