Roger Jennings's Q&A profile
Software Development for Windows Vista ExternalDataExchangeService API usage issue
A Design Issue or Bad Design It's insteresting, I found the code for " ExternalDataExchangeService ". to say the follwing code works fine. ExternalDataExchangeService dataService = new ExternalDataExchangeService(); _OrderService = new OrderLocalServices.OrderService(); _WFRuntime.AddService(dataService); dataService.AddService(_OrderService); BUT, If the code secquence change ExternalDataExchangeService dataService = new ExternalDataExchangeService(); _OrderService = new OrderLocalServices.OrderService(); dataService.AddService(_OrderService); //Error in this line _WFRuntime.AddService(dataService); jt will fail and said, Workflow Runtime Container does not contain ExternalDataExchang ...Show All
.NET Development problem with CLR dll, but only in debuger
I am making a CLR dll in C++, and testing its consumption in C#. For the sake of this thread, the CLR dll will be called ' MyCLRdll ' and the test propgram will be called ' MyTest ' I know the problem relates to the progress bar parts of the dll and test and cross threading What I don't know is why this problem ONLY happens in the C# debugger, or how to fix it. When I go into the Debug folder and double click MyTest.exe every thing works perfectly; its just when I hit the play button in VCS Express that the problems happen. The thing is MyCLRdll pretty much has to work in the IDE too because it is a devolpment tool thank you, but is this code for the dll or the test program If it is f ...Show All
SQL Server problems displaying images
Hi I have a query that returns a companyname eg. "ACD". This info is then saved in a parameter. On the logo (which depends on company), I use this parameter value to the pick up the right picture like this: =Parameter!.company.Value &"_logo.jpg" The image is there on the server an the path is correct, but the image is not displayed! What is wrong Hi, Under what account does your reporting services run Have you checked that the account has the correct permissions to browse to the location. You can test it by setting a static image on your report and set its url to the location you want. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
SQL Server Error: 18456 Severity: 14, State: 11
I have a SQL 2005 SP1 test server running Developer Edition on top of Windows Server 2003 SP1. We're testing out a 3rd party application that is using Windows Authentication to connect to SQL 2005. The SQL Error Log is saturated with the error message listed in the subject line. The text accompanying the message alternates between "Login failed for user 'MYDOMAIN\TESTDA1$'. [CLIENT: <named pipe>]" and "Login failed for user 'MYDOMAIN\TESTDA1$'. [CLIENT: xxx.xxx.xxx.xxx]". There are two strange parts to this: 1) The application appears to be working fine on the surface, and, 2) The MYDOMAIN\TESTDA1$ account mentioned in the error text is not the user account that we are using to connect the application to SQL 20 ...Show All
SQL Server BatchUpdateException
Hi, Im having a problem with the SQL Server 2005 JDBC Driver v1.1, when it throws a BatchUpdateException it is not setting the vendor-specific error code! It is always returning zero for the error code. The exception is being thrown due to a Unique key contraint. It should be throwing the error codes ( 2627 or 2601 ) which were thrown by the SQl Server 2000 driver. Can anyone explain Hi David, The driver version is 1.1.1501.101 Thanks again, Cathal ...Show All
Visual Studio Team System ASP.NET source
Is it possible to analyze ASP.NET source using FXCOP If so, are there any examples out there of how it is done The option Run Code Analysis is not available for my project solution Explorer. Is there some setting to get it. My project is developed on VS 2003. ...Show All
SQL Server Server: the operation has been cancelled. a memory bug?
When I highlight a few partitions and start processing, the process occasionally stops with a message that operation has been canceled, like this: Response 3 Server: the operation has been cancelled. Response 4 Server: the operation has been cancelled. Response 5 Server: the operation has been cancelled. ..etc... (no further error message details are provided) SQL profiler shows that batch was completed (but rowcount shown in process progress log is too small). Analysis Services profiler shows no messages at that time at all. It just shows messages when it started, and when I restarted the processing. The Analysis trace appears to be stopped when processing stops with " Server: the operation has been cancelled.&quo ...Show All
SQL Server Group by on a concatenate field
Select TOP 100 CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, sum(Amount) from dbo.Enterprise_Credits_Import_90_days where CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) <> ' 0' and Service_Prefix like 'F' Group by How can I group by the field that I selected as CODE Or if you're interested in readability you could make it: select top 100 code, date_issued, sum(amount) from (select CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, Amount, Service_Prefix from dbo.Enterprise_Credits_Import_90_days) c where code <> '0' and Service_Prefix like 'F' group by code, ...Show All
Visual Studio Team System "Either source control has not been configured for this team project or you do not have permission to access it"
Double-clicking "Source Control" for ProjectA pops up the following messagebox: --------------------------- Microsoft Visual Studio --------------------------- Configure Source Control Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/ProjectA --------------------------- Yes No Help --------------------------- I have checked the stored procedure: exec prc_QueryItems @targetServerItem=N'$\*\',@version=1110,@deletionId=0,@depth=1,@deleted=0,@itemType=1 And indeed it does not return any row so this might explain the messagebox stating that no source control has been configured. When I click Yes ...Show All
SharePoint Products and Technologies Reporting Services Add-on Server defaults fails
I had SQL Reporting Services running successfully on my test server along with SharePoint 2007 and updated this to SQL SP2 and checked everything still ran OK. I installed the SharePoint Reporting Service Add-on and then created a new Integrated database. I configured the integration service in SharePoint and granted database access through the new admin pages, but when I click on the link to "Set server defaults", I get the following message: The request failed with HTTP status 503: Service Unavailable. It suggests that the Report Server is not running or that I have configured Integration mode. This could be the wrong forum for this but is crosses the boundaries between SharePoint and SQL and the error seems to be f ...Show All
Windows Forms AutoScale DataGridView Results
Im using datagridview and mysql. the results show up, but they dont take the full space of the datagridview. Is there a way to customize the column sizes manually or make them autoscale Taking the full space of the datagridview, maybe you want this: 1. How do I make the last column wide enough to occupy all the remaining client area of the grid By setting the AutoSizeMode for the last column to Fill the column will size itself to fill in the remaining client area of the grid. Optionally you can set the last column’s MinimumWidth if you want to keep the column from sizing too small. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Free Development help for your XNA Project
If you have an XNA related project that you need help with or would like to help out with existing XNA projects, checkout http://www.thexnaexchange.com . It's an open community with no fees to post projects or join as a freelancer. Thanks, email support@thexnaexchange.com with any questions. Thanks for the feedback. The Phone and Address fields have been made optional. Additionally, if supplied, the phone and address would only be displayed to the project owner and project developers of a specific project, not to the public. ...Show All
Windows Live Developer Forums Is there any protocol to initiate voice call to MSN Messenger Live?
I only know Jabber does text, I am not sure whether it does voice call. If not, is there any way to initiate a voice call to MSN Messenger Live without using Messenger System.Diagnostics. Process proc = new System.Diagnostics. Process (); proc.EnableRaisingEvents = false ; proc.StartInfo.FileName = "msnim:voice contact=contact@hotmail.com" ; proc.Start(); This will open a browser window, but it does work... Maybe there's a way to hide the browser window too, didn't look to that yet. ...Show All
.NET Development how to link a generic collection in a property of customcontrol, help me pls...
i have created this sample code: <System.Serializable()> Public Class CampiDb Private xitem As String Public Property Item() As String Get Return xitem End Get Set ( ByVal value As String ) xitem = value End Set End Property End Class Public Class ArrayCollection Inherits Collections.ObjectModel.Collection( Of CampiDb) End Class '''''''''''''''''''''''''''''''''''''''''my custom control Public Class CustomControl1 Private _h As New ArrayCollection Public Property ARRAY() As ArrayCollection Get Return _h End Get Set ( ByVal value As ArrayCollection) _h = value End Set End P ...Show All
SQL Server Error message: Setup failed to configure the server
Re: SQL Server 2000 Developer Edition Error message: Setup failed to configure the server I'm attempting to install SQL Server 2000 Developer Edition on a 2nd workstation in our area for development and practice with having this 2nd workstation as a "local" (test) SQL Server box. The install fails with the above mentioned message. (We have a database running in production on SQL Server 2000 and we need a place to simply copy the database and run tests on it) The target PC is running WInXP Pro-SP3 and has IIS installed, along with Visual Studio 2005 & .Net framework, etc. I downloaded it (via MSDN license) and accepted the defaults on the install. Any feedback is appreciated. Thanks, RLN ...Show All
