RUSSO's Q&A profile
.NET Development Problem with Reflection & Dynamic Linking
Hi guys I'm designing a program and decided to add plugin support so I readed an article about enabling plugins in .Net and did this 1- Class Library: Includes an Interface "EditorInterface.IEditor" 2- Class Library (The Plugin): Includes a Class "TextEditor.Editor" that implements that interface and of course I added a reference to the 1st class Library "EditorInterface" 3- Host Application which includes a referece to "EditorInterface" I tried the following code EditorInterface.IEditor Editor; & ...Show All
Visual Studio 2008 (Pre-release) EntitySet<> and Query<>
The EntitySet<> type is not a Query<> derived and so when it makes a query sentence throught it, is not translated to SQL, performing query in memory. This was projected thus Vitor customer.Orders.Where(o => o.OrderID > 3); The where clausule it's performed on memory. ...Show All
SQL Server Update Trigger... best solution
Hi All I have two questions: 1. the below trigger, is it the best way to update a inserted or updated column Create trigger tr_update_acc_status on customer for insert, update as begin update customer set deleted = 1 where account_status = 4 and account_status = 6 end begin update customer set deleted = 0 where account_status = 5 end it works ok but takes a long time to update the deleted column as it scans all records, which takes me on to my next question: 2. is it possible to amend the quiry above to it only updates the record i have added or updated Thanks I guess there is al ...Show All
SQL Server found the key
hello, since the install of sql 2005 beta 2, i cannot start the volume shadow copy service again!!!!! i was readin about the case, and it says that it belongs to a wrong registry must be deleted, well but i don’t remember which one it should be! does anyone have any information about this case eventlog entry: vss service failed: 2147549183 (0x8000FFFF). vss service error: 0x80080005 is it possible that it is the same bad registry entry which kills the dhcp service (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\VssAccessControl.) hmm respect and massive greetings from austria Mikky YAY...fixed me too. Had VSS ...Show All
.NET Development Publishing to Windows Server 2003
I have successfully published my application a couple of time to my web server. When I go to the remote install site and try to install over the web everything goes fine up until the actual application install. All of the prerequisites installed fine but when it looks for the .application I get an IIS server error. Do I need to tell IIS about the .application extension somehow I would like users to be alerted and be able to download new builds of my application without my intervention. Thanks for looking dave This post explains most of what you are looking for. http://forums.microsoft ...Show All
Visual Studio Team System other recurring TFS errors in event log
for some reason at about 3:15am this morning my TFS server started spewing the following sequence of errors: #1 ================================================== Soure: VSTF Source Code Control An exception has occurred in a Team Foundation component. Technical Information (for the administrative staff): Date (UTC): 5/6/2005 2:32:02 PM Machine: DPMSERV1 Application Domain: /LM/W3SVC/4/Root/SCC-4-127598594375000000 Assembly: Microsoft.VisualStudio.Hatteras.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Process Details: Process Name: w3wp Process Id: 6136 Thread Id: 27 Account name: ICDPM\TFSSERVICE Det ...Show All
.NET Development SslStream client authentication fails
I have set up a client and server app for testing SslStream. Connecting and authentication works fine as long as a client certificate is not requested. When I call AuthenticateAsServer with the clientCertificateRequired parameter set to true, authentication fails. In the RemoteCertificateValidationCallback (on the server) the sslPolicyErrors parameter has a value of SslPolicyErrors.RemoteCertificateNotAvailable, the certificate and chain parameters are null. Debugging the client I am sure that I am passing a non-null certificate. I used MakeCert to create this client certificate signed by the same test authority that was used for the serve ...Show All
Visual Basic File Properties
I would like to access the file properties of a file (summary, title, author, etc). I need to do it for all files, not just office documents. Any assistance is greatly appreciated. I'm not sure that all file contain this information. Office documents do appear support additional properties. However http://support.microsoft.com/ id=224351 Details a DLL called DSOFile.dll which you can download and then simply use the following to get the some information from Office Documents. Dim filename As String = "c:\test.doc" Dim dso As DSOFile.OleDocumentProperties dso = New DSOFile.OleDoc ...Show All
Windows Forms NT User
How can I get the current user logged into a machine from within an application Thanks for that pointer. Being a web guy, I usually first look in what I would naturally perceive as the obvious place. :-D ...Show All
Windows Forms how to change a user entered value in a datagrid
Hi, I've been trying to solve this for a while but really haven't found the answer anywhere. How can I change the value a user enters in a datagrid cell I've tried using the events of the datatable but with no success. This events (ColumnChanging, ColumnChanged, RowChanging, RowChanged) fire themselves (again and sometimes many times) when you use them t ...Show All
Visual Studio Using the Plaform SDK with Visual Studio.Net 2003
I wish to use the "Windows Server 2003 SP1 Platform SDK" with Visual Studio.Net 2003 This is because the DirectShow software has been moved from the DirectX SDK to the Platform SDK (and I wish to use the latest 'august 2005' version of the DirectX SDK and also DirectShow, so I need both SDKs installed) My problem is that having registered the Platform SDK's directories with Visual Studio, a re-compile of my previously working c++ code now generates the following error. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(26): error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent look ...Show All
.NET Development SSL: "An existing connection was forcibly closed by the remote host."
Hello, I'm trying to do a secure connect to the site https://212.77.100.18/p/ with .net 2.0 HttpWebRequest class, unfortunately for some reason I'm not able to do that - WebException is thrown with inner exception message of "An existing connection was forcibly closed by the remote host." I hoped I'll solve my problem with RemoteCertificateValidationCallback delegate which always returns "true", but it isn't called at all for this site (but works for other sites which needs manual acceptance of certificate). The HttpWebResponse should return "403 Forbidden" as in Internet Explorer. Can you help me, please //my ...Show All
Visual Studio Team System Team Build & Visual Source Safe - Creating build type
I am assuming you do not need Team Foundation Source Control to be able to use Team Build. We’d like to stick with SourceSafe for now. In Tools->Options I have chosen Visual Source safe as source control. I have also created a sourcesafe database. From here I do not understand how to map solution and the solution to the team foundation project so that I can select the solution in the Build Type Creation Wizard. This is what I’ve done: 1. The solution is added to the visual sourcesafe db by right-clicking on the solution in the solution explorer and choosing 'Add to source control'. 2. I creted a workspace which points to my TFS Project u ...Show All
Visual Studio Tools for Office ClickOnce deployment for application-level Smart Tags
Dear all, I have created an application-level Smart Tag dll using Visual Studio 2005 by implementing ISmartTagRecognizer, ISmartTagRecognizer2 and ISmartTagAction, ISmartTagAction2. I have also successfully created a Windows Installer setup package to check for prerequisites, install the DLLs, create required registry entries and grant CAS trust to the assemblies. However, I would like to make updating of my application painless like ClickOnce-deployed applications (automatically check for the latest pulished version). Is there a way for me to do that Any suggestions are highly recommended. Thanks. HDH. ...Show All
SQL Server how to set SQL Server OLE DB provider index option , It gives error ?
All , I have created link server and i want to set all appropriate Setting for the Provider option Provider used : - Microsoft OLE DB provider for SQL server After setting “Index as Access Path” check box to true I have encountered Following error Server: Msg 7319, Level 16, State 1, Procedure Jobs, Line 2OLE DB provider 'SQLOLEDB' returned a 'NON-CLUSTERED and NOT INTEGRATED' index 'IX_T_Jobs' with incorrect bookmark ordinal 0.OLE DB error trace [Non-interface error: OLE/DB provider returned an invalid bookmark ordinal from the index rowset.]. Note :- Remote Query Icon Show 98% Please let me know how to fix the problem and ...Show All
