Holzberg's Q&A profile
SQL Server WMI Configuration?
Hi All, I tried to install SQL Server 2005 Developer Edition RTM version and SCC failed with the message: "The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749917(0x8004101d)." Looking on SQLSetup0032_mymachine_SCC.log I have: " Processing article WMIServiceReadRegWorking Scc Error: 50024 (0xc368) Error code: 2147749917 (0x8004101d) Calling callback function for reason: 0x2 Callback function returned TRUE " I have tried recompiling all WMI classes, chaging WMI DCOM permissions, changing security with WMI snap-in and nothing this solved the problem. (T ...Show All
Windows Forms Reading harddisks serial number
Hi, How can I read the harddisks serial number using visual basic.net... Thanks in advance Dim fso As New Scripting.FileSystemObject() Dim drv As Scripting.Drive drv = fso.GetDrive(fso.GetDriveName("C:")) Dim strTry as string strTry = drv.SerialNumber Hehe i know it is a late reply hope this will help ... By the way you need to add a reference to something. ...Show All
Smart Device Development Destinator ( Ver 3 ) load error
Hi I am using Microsoft Device Emulator 1.0 Community Preview On a XP SP2 box I run Emulate Pocket PC WM 2003 SE I have ActiveSync 3.7 working OK and can copy files etc between the PC and "device" ( Guest Partnership ) On attempting to load an application, Destinator ( Ver 3 ) from PC to the device I get the error, "Cannot get power status " I am not a developer….. But can anyone offer suggestions on what to try. Thanks Philip It is very likely that the power management features will be included in the next version of the emulator. As for a release date, it is still not determined at this p ...Show All
Visual Studio Team System MSBUILD with Unit Tests
I have a build type that is working just fine. I updated it by setting the RunTest key to true and now my builds are failing. The log contains the following that seems to be applicable. MSBUILD : warning : Please specify the results file to publish using the /PublishResultsFile switch, or specify tests to run to have those results published. I have added the following to the TFSBuild.rsp file /PublishResultsFile:"C:\Temp\BuildResults.trx" But now the build fails immediately and gives me not indication as to why. I have tried various combinations of the parameter in the TFSBuild.rsp file but to no avail. I am obviously m ...Show All
SQL Server scale greater than precision - not a valid instance of data type real
Our shop recently upgraded to MS SQL 2005 server from the prior SQL 2000 product. I receive and error during processing related to inserting a value into a field of datatype real. This worked for years under MS SQL 2000 and now this code throws an exception. The exception states: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 15 ("@TEST"): The supplied value is not a valid instance of data type real. Check the source data for invalid values. An example of an invalid value is data of numeric type with scale greater than precision. This error is caused by inserti ...Show All
.NET Development CommonGenius.com - Please Email Me
Whoever CommonGenius.com is, could you please email me whenever you find time at joemorel @ microsoft . com. Thanks! ...Show All
.NET Development Cannot find the assembly Name, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Actually i have Problem of Subjected Error in Remoting i have searched that Problem in different Search engine but unable to resolve this issue. I'm Writing some test code that is throwing said Error. Remote Object Class <Serializable()> _ Public Class ChatEventArgs Inherits System.EventArgs Private FSender As String Private FMessage As String Public Sub New () MyBase .New() End Sub Public Sub New ( ByVal sender As String , _ ByVal message As String ) MyClass .New() FSender = sender FMessage = message End Sub Public ReadOnly Propert ...Show All
Visual C# Is this possible??? Word document to SQL
I have some documents (all are exactly the same) with some people information (name, address, phone number,...) and i want to copy into my sql database, but only the information. If in the document if have: Name: XXXXXX XXXXXXXX Address: SSSSSS SSSSSSSS Phone; AAA AAAA And I have the same fields in the SQL Database, so I want to copy directly from the document. Is this possible Thank You I don't know if people will understand what i need I would go with what dkocur2 has suggested.. cheers!! pradeep_tp ...Show All
Windows Forms Databinding from outside a library
In the project I am working on I did some databinding on custom objects and on application settings. Because I want to separate the domain model from the view, the custom objects are in the model and the databinding is happening in the view. The domain model has also defined some application settings and, again, databinding is happening in the view. The thing that bothers me is because I have created the custom objects not to be modifiable from outside the library and the application settings are defined in a internal class, I cannot do the databinding directly on them but using some custom wrappers. And I was thinking maybe there is a ...Show All
SQL Server Inserting rows concurrently (paralellism)
Hi there. I created a stored procedure that inserts rows in local server and 2 remote servers, inside a distributed transaction (emulating synchronous replication). Is there some way in T-SQL to do these 3 inserts at the same time I don’t want insert2 to begin after insert1, and insert3 after insert2. Thanks in advance No. Not if they are within the same transaction. If you want to do this within different transactions then you will have to use some job-based mechanism or service broker in SQL Server 2005. ...Show All
Visual FoxPro Property is invalid for table cursors
Hi All, I am receiving the error "Property is invalid for table cursors" when I try to update a cursor created from an array. Please, see the code below as example: OPEN DATABASE dbname1 && Open DBC using SQL connection USE tablename1 SCATTER MEMVAR && _count1 = AFIELDS ( _array1 ) && Copy structure of tablename1 Table in _array1 CREATE CURSOR cursorname1 FROM ARRAY _array1 SELE cursorname1 APPEND BLANK GATHER MEMVAR && I get the error described above in this command If I replace the same cursor not created from ...Show All
Smart Device Development Deployment and/or registration failed with error: 0x80070070. There is not enough space on the disk.
I tried building the camera API and got this error. I went and saw the space using Space Maker Storage (Flash) Storage Total: 27.98 MB Used: 4.60 MB Free: 23.39 MB it displays this. Please help me ------ Build started: Project: CECamera, Configuration: Release Any CPU ------ CECamera -> C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Cecamera\bin\Release\CECamera.exe ------ Deploy started: Project: CECamera, Configuration: Release Any CPU ------ Deploying 'C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Designtimereferences\Microsoft.WindowsMobile.dll' Deploying 'C:\Pr ...Show All
Visual Studio Team System can a single test within an ordered test be run multiple times?
If so how Thanks, Tom Kleinecke Tom, You can add the same test to the ordered test multiple times. Does this solve your problem Thanks, James Visual Studio Team System ...Show All
Visual Basic GDI+ Question - Copy drawn image
I've spent the last hour googling, searching this forum, and MSDN2 for what, I assumed, would be a simple process. I have a picturebox that I've drawn in (via the Paint event). I want to copy the information I've drawn on the picturebox (not the box's .Image property, which is nothing) to the windows clipboard. Short of resorting to the API and BitBlt how can I get what's drawn on the picturebox into the clipboard Hi! You can draw stuff in own bitmap and copy to clipboard this bitmap: Bitmap bitmap = new Bitmap (100, 200); using ( Graphics g = Graphics .FromImage( ...Show All
Windows Forms Problem with DataGridView
Hi, I am learning visul studio .net and I am developing a database application with VB .net 2005. I 've 3 tables namely members(id,salry_no,name,address,date_of_appointment), Loan(reg_no,salary_no,amount,) and Guarantor(reg_no,salary_no). I want to create a form which displays all the fields from loan and salary_no,name and date_of_appointment in a grid in which salary_no will be from guarantor and name and date_of_appointment from member table. If a member takes loan he must provide the name of the gurantors which will be existing members. the no of guarantors depends on the loan amount taken, so there will be many guarantors in the Guarant ...Show All
