Leice's Q&A profile
SQL Server Strange Error messages running SSIS package
This package which is a child package has been running successfully for quite some time now. All of a sudden we are getting these intermittant error messages. Does anyone have any ideas what to do or check for thanks =========================== Error portion Error: 0xC0047012 at CF-DFT Oracle Sales Fact, DTS.Pipeline: A buffer failed while allocating 100483760 bytes. Error: 0xC02020C4 at CF-DFT Oracle Sales Fact, order line id [1] ...Show All
Windows Forms AppUpdater Component
Hi, I have had success using the AppUpdater component from a Win2000 server. However, I fail from a WinXP server with the following error. "Download of a new update from 'Http://localhost/temp/2.0.0.0/' failed with teh network error: The remote server return ...Show All
.NET Development Native Images and Shared Memory
Hi all, I read in a article that Native images are loaded in a shared memory location which can be shared by other assemblies running in other process. I dont understand how this works. I was thinking that all the referenced assemblies (including the framework assemblies) by a .NET application are loaded as In-Process Dll's in the applications App Domain. Is it wrong Is it possible for a Dll to be loaded in a shared location so that the ...Show All
SQL Server RAPI fails on CeMountDBVol (WinMobile 5)
My PC app uses RAPI to install files to a CEDB database on Windows Mobile devices. Works for PPC 2002, 2003 devices, ActiveSync v3.8 and 4.1 On Windows Mobile 5.0 devices with AS 4.1, RAPI fails on CeMountDBVol with an ERROR_INVALID_PARAMETER. What needs to be done to correct this I have read about RAPI Security policy, but this case doesn't seem to apply. I am loading RAPI DLL dynamically. ex: bResult = (*pCeMountDBVo ...Show All
SQL Server Database is read-only.
Hi I have been learning on how to use the new features of the .NET 2.0, and Well I using VS2005 and everything is pretty straight foward. I did a Membership webform where you log in and create users and roles etc. I installed the SQL Server 2005 express as my Data provider and thats where my Tables are. I used the aspnetsql_reg comand to integrate the server to this application. Anyway my problem started when i decided to copy my project to my ...Show All
.NET Development How to use ActiveX Control Importer (Aximp.exe)
Hi all, I know that the Aximp.exe can convert type definitions in a COM type library for an ActiveX control into a Windows Forms control. Its usage is shown below: aximp [options] {file.dll | file.ocx} But, I need to convert an out-process ActiveX control with an extension .exe. As result, I got an exception: System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CL ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF Service in IIS ( X509 Keyset does not exist)
Hi, I host my service in IIS ( machine running XP ) and try it : http://localhost/RentSoftware/Rentsoftware.svc I receive this error : CryptographicException: Keyset does not exist System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +1460764 System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 d ...Show All
Architecture Architecting BLL, DAL and DB for bulk entity updates
Hi all, My situation is as follows: I have a service that receives a list of some entity in order to do some kind of operation on each of the entities in the list: 1. The operation is the same for each of the entities (updates one of the fields) 2. There is a logical test to perform on each entity in order to know if the operation can be made or not 3. The response of the service is the original list of entities, where for each of ...Show All
.NET Development SCOPE_IDENTITY doesn't seem to work
For several days, trying everything I can think of and having researched the net until I'm blue in the face, my ExecuteScalar command returns null when I execute: Dim IDCmd As SqlClient.SqlCommand = New SqlClient.SqlCommand( "SELECT SCOPE_IDENTITY()" , MyConnectionString) Dim NewID As Object = Nothing NewID = IDCmd.ExecuteScalar If IsDBNull(NewID) Then Label1.Text = "<NULL>" Else Label1.Text = ...Show All
Visual C++ Inheritance loses public function from base class?
I don't think C++ works like C# or Java in this regard, so I got a bit confused. :-) I've made a custom class based on the MFC UI class CTreeCtrl to add a Set/GetItemData for strings in addition to DWORD's. Now, everything seemed to have went fine, just that the existing SetItemData(HTREEITEM hItem, DWORD dwData) function in the base CTreeCtrl class is lost when using my new class. I sure have the SetItemData(HTREEITEM, const CString& sData ...Show All
SQL Server Allowing Remote Connections
When I attempt to connect to our new SQLServer 2005 from my workstation running the latest XP Pro and SQL Server Mgmt Studio 2005, I get the following error. I checked the setup on the server, and TCP/IP connections are allowed. I connect to all our older SQL Server 2000 servers/databases just fine. TITLE: Connect to Server ------------------------------ Cannot connect to <server>\<instance> (deleted). ---------------------- ...Show All
Visual Studio Express Editions Error debugging into guest account
I have a problem when I'm debugging a project. Error while trying to run project: Unable to start debugging. What can I do What kind of project is it I don't believe you can debug a class library... and probably some other types of projects. ...Show All
Smart Device Development CF 2.0 Controls
I have about 30 controls that I have been porting from 1.1 to 2.0 and have run into several issues that I hope someone can provide an answer to. Note that I am familiar with the basic design, the xmta and all the attributes therin and the design time dll. 1) I haven't been able to get a component type control to work at all (one that appears in the component tray) 2) I can find no way to block controls from appearing in the toolbox in t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handlin ...Show All
Windows Forms Restricted access to a form?
I have requirement where client has to call us to get a key to access a particular form. Secondly, I want the code to be valid for a day. Can some guide me in right direction to implement this requirement How should I generate this&n ...Show All
