Jason Wilborn's Q&A profile
Architecture SOA Data Aggregation Best Practices
I'm just starting to think about implementing a SOA in my organisation and have a particular query/problem I was wondering if people had any experiences or best practices with, relating to combining data from different services... For example: Say I have a service which retrieves customer information such as GetCustomerInfo. I call this service passing in an id, and it will return various customer properties such as Name, OpenedData, Status etc which I could then map to a .NET class with public properties for use in my application. I now design a new line-of-business app to store customer referrals. This app will obviously have its own database schema, and as part of this needs to store the customer being referred. In the past, I would pro ...Show All
SharePoint Products and Technologies SPItemEventReceiver do not work properly when i use the wss object model API.
Hi everyone. I got a problem unsolved almost 2 weeks. Please somebody tell me a clue. I customized the SPItemEventReceiver and associated the customized SPItemEventReceiver with a content type was inherited from the Document Library content type and deployed this content type to a server as a Feature. When I uploaded a file from Word 2007, Events associated with the ListItem fired. but on uploading using the Wss Object model , events did not fire at all. I have a same experience when I using not only a document library type and SPFileCollection.Add method but also a list type and SPListItemCollection.Add method. I have found the following from the WSS3.0 sdk document. SP ...Show All
Windows Forms there is a problem with the windows activation
There seems to be a large problem with the windows activation. It seems whenever you add or change hardware you have to reactivate the widows xp operating system, well not in my case what happened with me is when i clicked on the key(icon in the taskbar) the key disappeared from the taskbar ok then well i went to start/all programs/ accessories/ system tools/activate windows although no change when click on either of them they do nothing (but they didn't fail to keep counting down) from today February 11,2007 I have until February 13,2007 to activate window xp. P.S. Don't get the wrong idea i run a "legal" version of windows and just would like some method of reactivation and help Microsoft spot out this obviously big problem. ...Show All
SQL Server Creating Time Dimension for seconds
I'm creating analysis cubes on data that needs to reflect it's distribution over time during a 4 hour period. I'd like to create a Time Dimension for "Every 15 seconds" I've already got a DIM_Time table that includes actual event times (down to milliseconds) Do I just need to create fields on that data for the 0:15 block that the particular event falls in, and create records for every 0:15 even if there isn't a related row in the measures table So that... Measures ID TimeId Measure 1 1 100 2 2 200 DIM_Time TimeId Time 1 0:01.1234 2 0:31.2345 3 0:15 4 0:30 5 0:45 6 1:00 7 1:15 etc... Hi Greg, You're on the right track. The reason you would put the 15 sec ...Show All
SQL Server Help with getting last record
I'm looking for a way to get the last recordset from a column in my database. Can someone please help me I just need the SQL statement. Using ASP/ADO and MSSQL Thanks!! OK, well this is completely the wrong forum but I can probably help. If you can answer the following questions: What is the name of the table containing the data What is the name of the column that contains the value that you want Is it possible to order the recordset with an ORDER BY clause in order that the record you want is the last one (or even better - the first one) If so, what is that ORDER BY clause -Jamie ...Show All
Visual Basic Unbalanced stack Error calling winmm.dll
I’m getting an pinvoke unbalanced stack error in a call to winmm.dll. My declaration is: Public Declare Function mixerGetDevCaps Lib "winmm.dll" Alias "mixerGetDevCapsA" _ (<MarshalAs(UnmanagedType.I4)> ByVal uMxId As Integer , ByVal pmxcaps As MIXERCAPS, ByVal SizeofMcaps As Integer ) As Integer My definition of Mixercaps is: <StructLayout(LayoutKind.Sequential)> _ Public Structure MIXERCAPS <FieldOffset(0)> Public wMid As Integer <FieldOffset(4)> Public wPid As Integer & ...Show All
SQL Server how do i browse through the log file in sql sever 2005?
hi. changes were made to a dababase and we need to read the log file to see how much exactly was changed and what. how do i read the log file with out buying 3rd party software You can't as the data is presented differently. You can use an undocumented DBCC command - DBCC LOG - or the undocumented system function - fn_dblog . I was trying this out as early as SQL Server 2000 and it works with SQL Server 2005. For DBCC LOG you can check out http://www.transactsql.com/html/DBCC%20LOG.html for a description on how to use it (don't bother searching through Books Online or Microsoft website as it really is undocumented, but Microsoft Support Engineers use them ) ...Show All
.NET Development Asp.Net caching bug?
I have got the following problem when trying to use Response.Cache.AddValidationCallback method in ASP.NET 2.0. It seems that when using HttpValidationStatus.IgnoreThisRequest option the cached page is actually invalidated and the most recent version is cached. Could anyone please explain this ( an advice from a member of ASP.NET team will be really appreciated), if it's a bug or the intended behaviour in ASP.NET 2.0. As written in MSDN documentation for the IgnoreThisRequest option (HttpValidationStatus enum): "IgnoreThisRequest - Indicates that the request is treated as a cache miss and the page is executed. The cache is not invalidated . " ...Show All
SQL Server SQL function in Stored procedure
Hi, How to call a SQL Function in Stored procedure,where my SQL function is working fine,but I need to use Stored procedure to call in C#.Any inputs.... Thanks I would suggest looking up CREATE FUNCTION and CREATE TABLE in books online: create dbo.aProc as select dbo.aScalarFunction (@anArgument) --or if your function is a tableValuedFunction or an inlineFunction: select col1, col2, ... colN from dbo.aTableFunction (@anyArguments) go -- Many other possibilities; it is certainly possible to call functions -- that is UDFs -- from within the body of a stored procedure. ...Show All
Windows Forms Resizing a toolstrip
Hi, i want to know if it's possible to enlarge a toolstrip. Mine is locked with the height of 25, but i want it larger than that. I tried to change manualy the size property but without sucess. Thanks for any help ...Show All
Windows Forms cannot get the correct value after change the selected row
in a DataGridview, the default selected row is the 1st row (rows[0]) I use the following code to change the selected row : dataGridView1.Rows[3].Selected = true; then I use the following code to get the value : MessageBox.Show(dataGridView1.CurrentRow.Cells[0].Value.ToString()); However, it still return the value of the 1st row!!! The reason is the row header pointer won't change....why and how to solve it thanks. ic.... thanks Tonn. Then do u you why I can get the RowIndex in MouseMove by using HitTestInfo, but it cannot work in DragOver. The following is the code I use in MouseMove Event of DataGridView. Point clientPos = dataGridView1.PointToClient(Control.Mouse ...Show All
Windows Live Developer Forums Can I use same Pushpin for text and picture?
Am refining my first map and would like to use a custom icon in the default onMouseOver to display text, and use the same icon to display a picture while the left mouse button is held down. Is this possible I already have the onMouseOver and custom icon working and assume I need to incorporate the onMouseDown and onMouseUp events. Any help on combining these events would be greatly appreciated. Bill I will play with that, but would appriceate the sample as I am pretty new to this. Bill ...Show All
Visual Studio Express Editions How do I set file name to a TCHAR variable?
Hi, I wanted to revise a downloaded program that I wrote the file name in the program, while will not use an Openfile dialog. However, there is an error of C2440: cannot convert from ' wchar_t ' to 'TCHAR [260]'. The corresponding code is: TCHAR szFileName[MAX_PATH]={0}; //definition szFileName = L'bao.avi'; //I give the file name to the variable, but & ...Show All
Visual Studio 2008 (Pre-release) Problem Installing CTP 3.0 Runtime July
Hi I try to install full redist. but it seems not work. [07/19/06,19:24:15] VS Scenario: [2] CPrevProductInstalledCheck failed : <font face=Verdana size=8pt> Vielen Dank fur Ihre Teilnahme am Betaprogramm. Sie mussen alle Produkte der Vorabversion in einer bestimmten Reihenfolge deinstallieren, bevor Sie Setup fortsetzen konnen. Ausfuhrliche Informationen finden Sie auf der <a color=#3F4F7F HOVER-COLOR=#C3120C href=" http://go.microsoft.com/fwlink/ LinkId=54981">Supportseite fur die Deinstallation</a> und in der <a color=#3F4F7F HOVER-COLOR=#C3120C href=" http://go.microsoft.com/fwlink/ LinkId=65634">Infodatei</a>.<br> & ...Show All
SharePoint Products and Technologies Problem with Backup & Restore w- Sharepoint Designer
I am trying to use Sharepoint Designer's backup and restore functionality to move a site from one server to another. The backup seems to complete successfully, but when I go to restore the site I get an error that looks like this: Cannot find C:\Windows\Temp\.......\exportsettings.xml. Does anyone know how to resolve this problem Hi All, i am also getting the same problem. Better we can go for i) Inbuilt backup/Restore option ii) Using stsadm for backup/Restore iii) Taking backup of database -- Nag ...Show All
