George Rezk's Q&A profile
SQL Server SQL 2005 Index Issue – General Network Error
Info: CE.Net 4.2 CF 2 SQL Server 2005 First of all, sorry for the cross post but i need a quick answer on this. I am executing a CLR Stored Procedure from a Windows Mobile device and regularly get a general network error. The stored procedure cycles through up to 70 tables, checking for any records between two dates. The LastUpdate field is in each one of the 70 tables and is indexed. The mobile device regularly reports general network error, which is due to a timeout. Command timeout is now set to 10 minutes but the timeout still occurs. The stored procedure appears to get stuck on a particular table. If I rebuild the index on this table, it will get pas ...Show All
Visual Studio Express Editions MPEG decoding exception
Hi, I am developing an application which uses a third party mpeg2 decoder. I keep getting the following errors. MPEG decoding exceptionFirst-chance exception at 0x01b02187 in tux.exe: 0xC0000005: Access violation reading location 0x072b90e0. Is there any way I can investigate the issue No source is displayed but disessemby is shown which I don't understand ! Regards, pcd. ...Show All
.NET Development Substitution for MFC's SetRedraw(BOOL) in DataGridView
in MFC's ListView i used to call SetRedraw(FALSE) before i changed the number of rows or columns and then SetRedraw(TRUE) to make the chages visible. This worked much better than without these calls, because the control tried to redraw itself every time i deleted a column, and i did it in a loop. So is there a similar solution in DataGridView, when i don't want the control to redraw itself during some period of time ...Show All
.NET Development file upload to https server not working
i am sending a file to a https server and i am not getting back the same results as iexplorer is, or the same page. my page has an error that its displays, which is "Error: Cannot find bean: "UploadBean" in any scope" i captured the stream from iexplorer and my app and its the same thing being sent. any ideas here is the file that i am sending using multipart-form content type StringBuilder^ sData = gcnew StringBuilder(); sData->Append("--" + sBoundary); sData->Append("\r\n"); sData->Append("Content-Disposition: form-data; name=\"firstTime\""); sData->Append("\r\n\r\n"); sData->Append("F"); sData->Append("\r\n"); sData->Append("--" + sBoundary); sData->Append("\r\n"); sData->Append("Content-D ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Are you all using DSL / Cablemodem or both. I ask because I'm setting up a new box, had ie7 installed and running fine in all accounts, then insta ...Show All
SQL Server SQL SERVER Integration service and windows 2003 installation bug
Hello, I am trying to install SQL SERVER2005 on windows 2003 server.It is not installing SSIS designer.why is it so Hi Kuldeep, I have the same problem with SSIS as you.I installed SQL2005 on a 64bits Dell server but the SSIS service did not install and does not even appear on the services lists. I can Create packages with the Business intelligence studio but when I go to the management studio to connect to an SSIS server I get the error message "SSIS is not installed as a Service". Even after running the setup again it does not change anything. REgards ...Show All
Visual C++ Problem with editing treeview labels (case-specific problem)
Hi, In the application that I am creating, I am having a rather unique problem: I need to syncronize the pszText property of TreeView items with the char* 'id' variable of certain objects. Up until now, I had no way of really knowing if the two were syncronized. I recently tried to add a 'duplicate' option and discovered that it is not working. My current code is as follows: case IDCM_rRENAME: //Context-Menu option for renaming my TreeView Item { SetFocus(rcTree); char* label=GetTreeLabel(TreeView_GetSelection(rcTree)); //Custom function HTREEITEM parent=TreeView_GetParent(rcTree,TreeView_GetSelection(rcTree)); TreeView_EditLabel(rcTree,TreeView_GetSelection(rcTree)); Visual::Sprite2D *test=Find(sprite,label); test->id=GetTr ...Show All
Visual Studio Team System How to modify email template sent via Project Alerts
I want to be able to modify the email template that states that a build was successful or not that is sent via Project Alerts Specifically, I want to be able to add a link to a report that is run via the daily. Can I do this Where can I find the template and how do I modify it Thanks, Staffan My changes from before are present now. I made some more changes, but they havent taken affect yet. Do I have to bounce something When do the changes take affect Also, Now I just need to figure out how make a link Thanks, Staffan ...Show All
SQL Server The user instance
Hello, I have a problem with setting up a connection in visual studio 2005 professional. Sqlserver express is installed on the machine so I try to set up a connection by means of a microsoft sql server databasefile . When I click ok I get the error : The user instance login flag is not supported on this version of sql server . Can someone help me to resolve this problem. Thanks in advance Ilja zwolsman hi, 'user instances enabled' is not an advanced option requiring 'advanced options' to be set like EXEC sp_configure 'show advanced options', 1; RECONFIGURE; ... if you try to enable user instances on an edition other than SQLExpress you'll be prompted with the exception you repo ...Show All
Silverlight (formerly WPF/E) Sandbox client-to-client
Hi, it’s me again with a question. Is the WPF/E sandbox going to support direct client-to-client communication of binary data streams It’s for a web based collaboration solution including video chat and working together on shared documents of various types. regards immanuel Hello Barak, thank you for the quick answer. With the server acting as a repeater for all the data (which is a lot when it comes to video chat or colaboration on other bigger data files) it quickly becomes a bottleneck. Thus a server based solution would result in poor scalability. In terms of security the following model might be a solution: Since two clients, who want to communicate, actively connect to the thrustworthy server, th ...Show All
.NET Development OLEDB MsAccess Data from Accpac
We would like to create an ODBC link or OLEDB link using MsAccess.Mdb (or SBF or Sequel database ) to obtain individual table details from Accpac Plus in Dos (an accounting program) The Accpac Plus database has Modules such as AP, AR +++ each of which has 6 to 9 individual tables. This Access data will be used for viewing and printing and not for accounting purposes. Can we receive any ideas or a link to a sample database of how to do this Thank you Mehran How about using an ODBC driver or OLEDB provider for Accpac http://www.sageaccpac.com/products/options/odbclink/ http://www.softrak.com/products/adagio/oledb.php ...Show All
.NET Development find .net version
hello, Is there some way to find out what version of .NET is installed I've seen spots where people just cycle thru the three versions (1.0, 1.1, 2.0) to check, but I would like something where you don't know the number, so that it could work just as well for 4.0 as it does for 2.0. I'd like to be able to do this in Visual Basic. Thanks for any help. Hi There, Each version of .net uses its own caspol. BTW: which version are you executing with your current shell script The policy changes done by caspol are specific to the version. If you want you can run MIGPOL.EXE to migrate the changes from one version to another. Regards Sandeep ...Show All
Smart Device Development How can i interface a 8051 controller to a PDA having Windows CE
HI , I am trying to interface a 8051 controller to a Toshiba PDA running Windows CE. I want to interface the SDIO port to the SPI port of the controller. Is it possible to achive this and if yes how can I program the PDA to read and write data to the controller. Please help You can write me here: jr_lyon_@wdi.ca remove the underscores in the mail address for my true address ...Show All
.NET Development install windows service application
hi how can install windows service in the computer that only have .net framwork 2 I check Event Log but there is nothing important , my windows service uses many dlls ,and i create setup for that . but i have problem again . ...Show All
SQL Server method call works from .Net form and not from SQL CLR - EnterpriseLibrary used
Hello I created a wrapper class for a function, and exposed it through CLR. However, if I call this function form SQL it blows up but if I call directly from a test Windows Form the call works fine. The blow up is related to EnterpriseLibrary.Data, where my Queue class uses that library to do all data access call ops Here's my wrapper class: namespace inlineCLRsql { public static class Wrapper { public static void CallQueueEntry( int queueId, int deskNo, int missed) { inLineLib. Queue oQueue; inLineLib. QueueEntry oQueueEntry; oQueue = new inLineLib. Queue (queueId); oQueueEntry = oQueue.callQueueEntry(deskNo, false ); Microsoft.SqlServer.Server. SqlConte ...Show All
