microsoft.public.dotnet.distributed_apps Archive - January 2003
Post a message to this list
Messages
Page: 1
Problem with WinDbg and .NET Debugging (5 replies)
microsoft.public.dotnet.distributed_apps
Hi on Page 43,44 of the PDF Document "Production Debugging for .NET Framework Applications" I am told to call !dumpheap stat to see the 20MB Objects allocated before. I get the following output (reading from the end). I cannot see these objects. large objects Address MT Size Fail to read MethodTable 2340018 c02f28 2064 System.Object[] 2340840 c02f28 4096 System.Object[] 2341858 c02f28 4096 System....
Question: column-name header formatting on datagrid (2 replies)
microsoft.public.dotnet.distributed_apps
Hi, In my Windows application executes SQL string(Select TOP 500 * from ...). Selected data populated in datagrid. All of the column names in my tables have leading 3 chars prefixes describing column's datatypes, like intAge, dteDOB, blnEnrolled, so on. How can I trim the leading 3 chars from my column names in my VB.Net application(not on SQL Server side), so it would display DOB, Age, Enrolled i...
Middle tier caching? (3 replies)
microsoft.public.dotnet.distributed_apps
Err, not sure if i already posted it here Anyone ever dealth with a scenario where caching is required at the middle tier level? I dont want to use caching at the web server (read IIS) level but at the business tier level. Im avoiding caching (read Cache classes of asp.net) as my web servers will be at a web farm. I have thought (and read) about using sql server as caching server. Any other ideas?...
Handling files inside transactions (4 replies)
microsoft.public.dotnet.distributed_apps
Hiya Lets say that i want to the following in a .net code 1 Save an uploaded file on the hd (maybe overwriting an old file) 2 Write some fileinfo and other things thing to the sql 2000 db These 2 tasks must be transactional so i can roll back if either the filewriting fails or the dbwriting fails. Any suggestions about how i solve this in the best way? Can the Enterprise Services help me in some w...
Updating SQL: (XML / DataTable) (2 replies)
microsoft.public.dotnet.distributed_apps
Hi all.. I have an object that holds an XMLDocument or DataTable as a collection of items ('ProductsCollection') Once I modify the XMLDocument or DataTable object in the 'ProductsCollection' object, How do I post it back to the database without running over my PrimaryKeys... Ex. the ProductsCollection class holds a number of items returned from a query (let's say 200 items) .. and now after I've m...
ADO, OOP, XML (3 replies)
microsoft.public.dotnet.distributed_apps
Hello all! I have a problem that I would hope a software architect could comment about. If I am modeling a component / object that will represent an entety from a database and will retrive from the database a collection of items (of the same entity), should I simply query the database and retrive a generic datatable, xml file or make a collection in my class holding an array of that object. Exampl...
Console app opens then closes. (2 replies)
microsoft.public.dotnet.distributed_apps
In VS 6.0 there was a setting that would allow a console app to remain when debugging (vs. open then close) Where is this in dot net? thanks in advance Dan
Printing in ASP.NET (2 replies)
microsoft.public.dotnet.distributed_apps
I am a Java programmer and have only recently started working in .NET and am involved in developing an ASP.NET/VB.NET web app that produces reports and invoices using a third party control(DataDynamics ActiveReports). There is a requirement for server side printing of the report documents. The documents should be spooled to a printer driver located on the web server and not one on the client. I am...
I need help deploying, Anyone? (4 replies)
microsoft.public.dotnet.distributed_apps
I have an application that uses .dll files that are located on another machine. Both of these machines are on the same LAN. Some of the dlls are used by another application that uses remoting and accesses these files from the web. This application does not use remoting. I need to know how I can tell this application to look for the dll files on the other machine? I was told to look at reflection a...
Problem: Trying to Enlist .NET COM+ object in a transaction (2 replies)
microsoft.public.dotnet.distributed_apps
Hi, My backend database is SAPDB(www.sapdb.org). I downloaded ODBC.NET optional component from the MS website and I have successfully connected and updated tables within a separate standalone C# exe application. My main.cs looks like this public static void Main(string[] args) { String strConn "DSN powerx;UID rocky;PWD rocky;Trusted connection true;"; OdbcConnection nwindConn; OdbcCommand nwCmd; O...
Problem using Exception Management Application Block (4 replies)
microsoft.public.dotnet.distributed_apps
I downloaded the msi file and compiled the Exception Management Application Block. The demo that came with it worked fine (of course). However I am developing a web application that is trying to use the same compiled Exception Management Application Block.When I attempt to perform the same test using a web app I get an error. Exception Details: System.Security.SecurityException: Requested registry...
Help with ntier architecture issues (6 replies)
microsoft.public.dotnet.distributed_apps
Hi all, I have spent the last few days tying to decide on a pattern to use for future enterprise solutions. I currently use ntier dna and I am convinced of the benefits here but I am always willing to listen. My basic plan is to create a new data access layer to hide the sql server databases , flat files and mailstore. I won't interfere for now with the com stuff that is running. the data acces la...
Problem using a legacy COM component from within a ServicedComponent (4 replies)
microsoft.public.dotnet.distributed_apps
Hi, I am having a problem using a legacy COM object from within my .NET Serviced component. The problem appears when the COM component attempts to use another COM component. The first COM component gets an error, "Class does not support Automation or does not support expected interface". Neither COM component is a COM component. I have the source code to both COM components (written in VB 6), but ...
Problems with IEExec.exe and Launching Web-deployed Apps (9 replies)
microsoft.public.dotnet.distributed_apps
We have an application that is deployed across the web. I designed it so that it uses the same IPrincipal in the HttpContext of a Web Application and Web Services (even remoting objects). This way, a user does not have to log in to the Web site AND our application. The problem is that the authentication ticket requires a cookie to match a particular user request to a HttpSessionState object and if...
Transactions (15 replies)
microsoft.public.dotnet.distributed_apps
Hello I have got two components and each writes to a databasse and both have to succeed or fail. If I put these components in a COM environment it will work. In .NET by adding an attribute to the methods that require a transaction, do I still need to install these in COM or net?. TIA Yaz
Multithreaded Problems with dotNet (3 replies)
microsoft.public.dotnet.distributed_apps
Hi, I have developed a tiny dll using VB 6. This dll has only one function declared as object. This function instanciates a single threaded middleware component and returns its instance as a result which is multithreaded. To achieve this I simply went to Project Properties General Tab and selected "Apartment Threaded" from the Threading Model drop down list. Then I tried to devolop the same dll us...
datagrid Header (3 replies)
microsoft.public.dotnet.distributed_apps
How can i change the header names of the data grid?I tryed from the properties menu:TableStyles Collection.Then i add a gridcollumnstyles collection and change the header name but nothing happens.What did i do wrong? Please help someone
Caching not possible in WinForms!?!?! (4 replies)
microsoft.public.dotnet.distributed_apps
Hi, You're the last resort here; I have a big Windows application that processes a large amount of data. Biggest of the tables contains over 2,5 mil recs. For some reason, users want to have an option to see all the data at once also(like "select * from tbl"). All of the reasoning to them led to nothing. They want to be able to see over 2 mil rows in the DataGrid. Now, here comes the intresting pa...
Why have 1:1 BizObj -> DAO vs. one DAL and what's with stored procedures? (5 replies)
microsoft.public.dotnet.distributed_apps
I understand the idea of having a separate DAO for evey BizObj (BO) in order to abstract the details of communicating with the datastore. In most examples I see, in fact, the DAO is simply a wrapper for calling stored procedures (sp) on the backend. So, for a simple customer BO I end up with: Classes: CustomerBizObj with methods: GetById, GetByName, Insert, Update, Delete CustomerDAO with methods:...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification