| Add windows form at runtime (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| How do i add a windows form (*.vb file) to an application at runtime. I use Visual Basic. |
|
| Application Hangs (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| I have a deployed vb.net application in production. Intermittently, the application hangs up, freezing and forced to be ended by the task manager app. There is no error message displayed. The mouse pointer can not be seen. Has anyone run into similar problem? |
|
| Code Access Security and Middle Tier (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, Various microsoft docs say that one must avoid impersonation in the middle tier (e.g. http://msdn.microsoft.com/library/default.asp?url /library/en us/dnbda/html/daag.asp) and rather set up the asp.net account with the appropriate access. Assume the middle tier is behind a web service or remoting service hosted in IIS, if one can't do impersonation, how are you supposed to use the code access ... |
|
| Remoting questions (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Ive set up my n tier architecure using remoting between by client and my business component on the server, all is good and it runs well. I have a couple of questions regarding how it should be implement accross my project as a whole. When i register a channel is it wise to register it and drop it as its used? Or should i register it once and then keep that channel open for the duration the app is ... |
|
| Stuck right at the start :-( .. Walkthrough (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| I am using "VS.Net 2003 Architect" trying to use the "Walkthrough:Creating a New Enterprise Template". However when I try to create a WebService, I get this error: The Web server reported the following error when attempting to create or open Web project at the following URL: 'http://localhost/WebService'. 'HTTP/1.1 500 Internal Server Error' How do I fix it? It looks like I need to change certain ... |
|
| Middle tier caching? (17 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, Can someone know how to implement Middle tier caching ? thanks. |
|
| Updating database using Data Access Application Bloc (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| After successfully retrieving a dataset using SqlHelper.ExecuteDataset, I have made some changes to the dataset and also added some rows. How do I write this data back to the SQL database? It seems to me that I need a DataAdaper object before I can use the DataAdapter.Update() method, and SqlHelper.ExecuteDataset did not return a DataAdapter. Am I missing something? Bo |
|
| ALSO! (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Also, when I do make a reference to my Assemblies from my web project and select the reference property for "Copy Local" to TRUE, it will instantiate fine, go through the piece and get the dataReader fine, but when I call databind on a datalist in my page with the dataReader set to the datasource, I get the following error, "This remoting proxy has no channel sink which means either the server has... |
|
| transactions (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| hi , we have a bussiness layer on the back side and , web (asp.net) in the front. we call database functions is web forms like private void Page Load(object sender, System.EventArgs e) { HonestComponents.x Honestx new HonestComponents.x(); HonestComponents.y Honesty new HonestComponents.y(); honestx.DoSomeDbStuff(); honesty.DoSomeDbStuffToo(); honesty.DoOtherDbStuffToo(); } but if some of these op... |
|
| MSDN survey sample problem - column named 'Answer' already belongs to this DataT (6 replies) |
| microsoft.public.dotnet.distributed_apps |
| When I run the Survey sample app I get the error "Error: A column named 'Answer' already belongs to this DataTable". An exception is thrown from Sub AdjustQuestionPrimaryKey() in SurveyDataSet.vb. Any ideas? ERROR Could not initialize DataSets. Error: A column named 'Answer' already belongs to this DataTable: cannot set a nested table name to the same name. Stacktrace: at System.Data.DataColumnCol... |
|
| Convert DataSet(or DataTable) into DataReader (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, I found a way how to Convert DataReader into DataSet(or DataTable), now I need to do this operation backwars, another words I need to convert DataSet(or DataTable) into DataReader(SqlDataReader). I found it much harder task. Is there a way to acomplish that? Code sample would be great. Thanks a lot in advance, Alex |
|
| Passing arguments to Web Service from Win application (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello, Need your help again, guys. I'm not exactly too sure what I need, but I'll try to word it out. Anyway, I have a Win app that has a Login form. On that Login form I have 4 textboxes, that capture data from Users UserName, Password, ServerName, DataBaseName. That Win app consumes a Web Service running on a WebServer. When Win app issues a call to WebService through proxyObj.WebMethod(), I pas... |
|
| Exception management application block and System.Web.HttpUnhandledException (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| THIS IS DRIVING ME CRAZY!!!! Using the above mentioned application block I am trying to to only log top level exceptions. In my case these are of type 'System.Web.HttpUnhandledException. However, when I put this in the 'include' attribute as displayed below I get the following error: Start error 1) Exception Information ********************************************* Exception Type: System.Configura... |
|
| Exception (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Can I use the Microsoft.ApplicationBlocks.ExceptionManagement when building an Office/COM Addin using .NET? Since the AddIn assembly is a DLL there are problems using an application config file (cannot use app.dll.config) to specify custom publishers etc. Have tried putting an entry in machine.config but i got the following errors when trying to publish to something other than the Application even... |
|
| Slightly off topic: Serialization of SqlTypes (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| Does it bother anyone else that the SqlTypes aren't serializable? (Like SqlInt32, etc.) It would be perfect if I could use the SqlTypes for my business entities, but I can't pass them between layers that require serialization. Ugh. Has anyone come up with a good alternative for SqlTypes? (Does anyone know if the 1.1 framework has changed anything regarding this?) |
|
| Thin Client, How? (7 replies) |
| microsoft.public.dotnet.distributed_apps |
| I was planning on using remoting to keep my client thin. I was hoping the client would handle user interface. and the server would handle, business and data layers. After a few tests though it seems the that in order to create a proxy for a remote object, i must reference the assembly containing the remote object from my local client. So how does this keep the client thin? if i have to install the... |
|
| Role-based authentication from ASP and win (11 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, Our application needs to implement role based authentication and we will have both web and windows gui. The users and roles will be stored either in our db or read from active directory. I'm looking for design tips/examples of how to do it. The atricles I've found until now are for asp.net form based authentication and they had nothing about "what if you have a windows gui" ... Thanks for the ... |
|
| Good book (69 replies) |
| microsoft.public.dotnet.distributed_apps |
| All I just finished going through the book "Patterns of Enterprise Application Architecture" by Martin Fowler. I would definitely recommend this to anyone who is heavily involved in software development decisons. ice. P.s I didn't agree with everything, but then again, I don't think I was suppose to. |
|
| SQLHelper.ExecuteReader BUG in vb.net version (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| The VB version of ExecuteReader does NOT forward exceptions?? It simply calls, cn.dispose(), and exits, effectively eating any error raised from the sql server query. The C# version throws the error correctly. Anyone else seen this? Am I missing anything? CORRECT C# VERSION, CALLS THROW(): try { return ExecuteReader(cn, null, commandType, commandText, commandParameters,SqlConnectionOwnership.Inter... |
|
| Iterating through a collection class to update database (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello, I've run into a problem that has stumped me for the last 3 days. I have created a simple collection class that holds an ArrayList of Strings. I am connecting to a SqlServer 2000 database, using C#, ADO.NET and the Data Access Application Block (although my homebrew DAL has the same problem). What I am trying to do is iterate through the collection executing an insert stored procedure with e... |
|
| Design issues for 3 tier web arch in .Net with ASP.Net and C# (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi ALL In .Net if I want Three Tier Arch. Web App. 1) How to create transactional/Non transaction Component in .Net (C#) in VB6.0 we use to create it with Class with transactional property. 2) How to decide which transaction to use ADO.Net/COM 3) How to deploy those .Net component in to new Component Service of Win 2k 4) Each .aspx file can have code behind file in VB.Net/C# are those component/cl... |
|
| Please help: Complex problem ! (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, I have the following problem. I have a console application which creates a new AppDomain and creates an instance of a MarshalByRef object within this AppDomain and calls a function on this object. Now comes the problem: The called object within the new AppDomain registers a custom ServerChannel like shown below: // Create the properties for the channel configuration channelProperties new ListD... |
|