Cyrus1985's Q&A profile
SQL Server Hr=80004005 ERR:OpenDB failed getting pub version 28627
I am getting the error " Hr=80004005 ERR:OpenDB failed getting pub version 28627 " in the SQLCESA30.LOG log file in the "C:\Program Files\Microsoft SQL Server 2005 Mobile Edition\Server\SqlMobileReplication" directory - the directory set up as the Virtual Directory in Internet Explorer. This occurs when I try to set up a .sdf file to be replicated to a SQL Server 2005 Mobile database (I'm following the instructions from the Microsoft Tutorial - ...Show All
SQL Server Infinite Click-Through with SSRS 2005 Graphs?
Is it possible to get Infinite Click-through on a bar in a Bar Chart in SSRS 2005 If so, Can I create this in VS 2005 instead of Report Builder ...Show All
SQL Server Creating new connection manager types
Hi, Wanted to know how one can write new connection manager types, and, additionally, if there exist any code samples that show how this can be done. I searched through BOL but could not locate any. I basically work with C++ and was curiuos if code samples exist in it I have worked with a couple of ETL tools (or 'platforms' should I say) before, but never with SSIS. Would really appreciate it if someone could help me out here. ...Show All
Visual Studio Error Generating Report to Viewer
Seem to be having the occasional problem when generating a local report to a report viewer. First a dialog appears which states “A generic error occurred in GDI+” After clicking the OK button the report viewer shows the same message This error is not consistent and I haven’t been able to pin down the circumstances that cause i ...Show All
Visual C++ strings allocate in stack or heap?
Hi When we define a string and then get user his/her name , what is happening in memory.I mean: Code: string s; cout << "Enter name"; cin >>s; f allocation always in heap: Here s is a ponter and it is in the stack and points to name data which user enter is in the heap. If allocation in stack: here s's size is unknown so how can it be How can string class allocate memory in stack that unknown size If ...Show All
Smart Device Development How to debug custom controls at design-time with VS 2005?
Hello, Has anyone tried to debug a Compact Framework custom control at design-time with Visual Studio 2005 I have read this article http://msdn.microsoft.com/smartclient/default.aspx pull=/library/en-us/dnnetcomp/html/debugdestime.asp but it is for Compact Framework 1.0 and VS 2003. regards, Romeo Hi Romeo, The custom control design time is based on the .NetFramework (not .NetCF). Hence, it is si ...Show All
Windows Forms detecting treeview item state change
I have subclassed a treeview, and am trying to detect when an (any) node goes bold. I tried: static int CALLBACK SubTreeProc(HWND hWnd, UINT wMessage, WPARAM wParam, LPARAM lParam) { LRESULT result; HTREEITEM hParent; result = CallWindowProc(g_OrgProc, hWnd, wMessage, wParam, lParam); if(wMessage == WM_NOTIFY){ LPNMTREEVIEW n ...Show All
SQL Server SQL 2000 --> SQL Express via 2000 DTS
I know this probably shouldn't work. I've created a DTS package using SQL 2000 Export Wizard, exporting all tables from a SQL 2000 database into a SQL 2005 Express. I'm able to pick the SQL 2000 database, and the 2005 Express database using the wizard, but when the job runs I get the error: [SQL-DMO] You must use SQL Server 2005 management tools to connect to this server. Any ideas I've installed the SQL 2005 Backward compatibility pack, but ...Show All
Visual FoxPro cannot update cursor
I have a main form that calls a couple of other forms to make some selections. One of them opens a table and after a selection is made a mark is left in a special field that this record has been selected. Then this small form is closed and the same table is opened in the main form. The table is opened EXCLUSIVE in both forms. Before it is opened in the secondary form it is not opened in the main form. The point is that it all works well in ...Show All
SQL Server Change Column Order
How does one go about changing the column order of the data moving thru an SSIS package It'd be nice to able to do this at any point in the package for readability, but where I really need it is in the Flat File Output. I need to deliver the columns in a specific order, and I can't figure out how to do that. This seems to be such a basic question, but I can't find it in Search anywhere. My apologies if it's already been answer ...Show All
Visual Studio Reportviewer Paper size
Is there any way to set the paper size for the Reportviewer control other than at runtime using the Page Setup button. It always defaults to "Letter" which is not really suitable for all countries. I am using Visual Studio RC1 on Windows Forms application. The problem is in RTM version too. Previous threads talk about this, but no solution at all. Waiting for some tips from MS. ...Show All
Visual Basic TEST DLL PROBLEM
Made Changes to dll and did build. Registered dll with C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe TEST.dll /tlb Why wil regsvr32 not work with this DLL Try to test… create a whole new project solution. Select Project | References | Browse. Select TEST from COM tab. ERROR - test.tbl was exported from a .NET assembly and cannot be added as a reference. What am I doing wrong TEST.DLL ...Show All
Visual C++ Debug Assertion Failed....???!!!!
*************************************************** Debug Assertion Failed. Program: ......... File: dbg.heap.c Line: 1100 Expression: _CrtCheckMemory(); *************************************************** Ok does anybody know what that means..... This is the part of the code in which it stops... *************************************************** if (check_frequency > 0) if (check_counter == (check_frequency - 1)) { _ASSERTE(_C ...Show All
Software Development for Windows Vista Problem adding a SetState Activity in a StateMachine
Ok, this is the third time I've restarted this workflow and something in the designer has failed...how much longer can my thinning hair stand it I cannot add SetState activities. What happens is, I drop the SetState into the EventDriven handler workflow and the Properties for the SetState appear but not the graphic. If I try to change the name of the SetState activity, it errors with "Property value is not valid." In the details, it ...Show All
Software Development for Windows Vista VB.net implementaion does not return Instnceid
I ran Asp.net implementaion of Hello World in VB. Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim workflowRuntime As WorkflowRuntime = WorkflowWebRequestContext.Current.WorkflowRuntime Dim scheduler As ManualWorkflowSchedulerService = workflowRuntime.GetService( Of ManualWorkflowSchedulerService)() Dim workflowType As S ...Show All
