Anyone ever have this problem?
Problem Description - When a DCOM call is made from my client object to a particular method on the server component running in MTS, I get the error "Class does not support Automation or does not support expected interface.". All other methods for...
I'm looking for a way to put data from fields in an ADO recordset into cells in a table on a MSWord document. I have created a Word template for use in creating the document, but I can't figure out how to get the data into the appropriate places in the document. I've tried putting field codes...
I have a scenario where I will be updating (incrementing) a field in an MS SQLServer table multiple times within a transaction. If I call SetAbort, will all of the updates be rolled back?
Basically, the scenario goes like this:
I have a collection of order items that need to have an item#...
ms ratan agarwal,
I'm not sure I can be of any help, but I'll try. Could you explain what 'pws' is? Is this something that happens when you try install components in MTS or does it happen when installing MTS itself?
Well, I think I solved the problem. Thanks to both zallen and chiph for the suggestions. It turns out I was trying to nest transactions (probably obvious in my code posting) after all, but I didn't realize that's what the error was telling me.
Thanks again.
Ok, here it goes...
Below is the data access code I mentioned. I know this may be rather lengthy, but in the
interest of brevity and confidentiality, I've modified some of the variable and object
names and omitted things like the creation of the ParamArray from vntParams.
The logic...
I'm getting the error message, "Cannot start more transactions on this session". Has anyone seen this message? What I have is 2 dll's running in MTS. One contains business rules, the other is strictly data access code. It is the data access code that is giving me this error. I can...
I'm getting the error message, "Cannot start more transactions on this session". Has anyone seen this message? What I have is 2 dll's running in MTS. One contains business rules, the other is strictly data access code. It is the data access code that is giving me this error. I can...
8-) Actually, that does help some. I didn't realize you had to keep track of the bookmark of the first visible row. I'm sure this would probably be easier if I used data controls and recordsets, but for what I'm doing, it would actually probably be more work. Thanks for the help.
My original post seems to have fallen way down the list, so I'm posting it again. Also, I have since found out that I need to use the UnboundReadData, UnboundWriteData, and UnboundAddData events to do what I need to do, but I'm still having some trouble. Specifically, I'm having trouble...
I'm using a DBGrid to display and edit data that is contained in objects within a collection object that is within another object (Whew!) I have no problem getting the data from the objects and putting data into the objects in the collection, but for some reason, I am not able to display/edit...
I admit, I'm a little curious too. Our situation is such that the reporting requirements are fairly static, so we shouldn't have to ship new stuff all that often. Also, the application has a fairly small number of users, so upgrades shouldn't be too much of a hassle when we do have to do them.
Since our app is relatively small in scope, what we've decided to use is single reports class with a method for each report on the ui-centric side and on the server side or more specifically, data-related business rules side, a single reports module with either one generic/all-purpose method...
Have you tried using the Package and Deployment Wizard and including the .VBR and .TLB files as part of the Setup package? The PDW will recognize that they are remote server files and ask you to provide the servername where the server components will be installed. However, if you leave it...
Thanks, I can always use more sources of good information.
I think I solved this problem. It wasn't an NT problem, but instead turned out to be programmatic. I had a compile time constant that needed to be set properly before compiling for the customer site so that it would point to the...
At both the customer site and on the development server, we use local groups on the server. I don't have the name of the API function handy (I'm not at work), but basically what it does is it retrieves all the local groups that a user is a member of on the server.
I set up the groups exactly...
Scenario: I have a VB6 app running on an NT workstation that makes an API call to an NT server to retrieve user account info for the purpose of programmatically setting user rights within the app itself (example: Enabling/disabling the Delete button or Save button based on a user group). It...
Well, I guess I answered my own question. I installed ADO 2.5 on the server and BAM! everything works perfectly.
Thanks for the info anyway, chiph. The ADO recordset was something I hadn't considered.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.