yanivpinhas's Q&A profile
SQL Server Cannot Remotely Access SQL Server Standard Named Instance
Good Day, I am creating a SQL Named instance as a testing environment. This instance is on the same physical box as my Development environment, both are SQL 2005 standard edition. From the server in Management Studio, I can load, and interact with both instances. From a remote connection (e.g., my pc) I cannot access the named instance. I am getting the following: Connect to Server X Cannot connect to <server>\<named instance> Additional Information An error has occured while establishing a connection to the server. When connecting to SQL Sever 2006, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections (provider: SQL Network Interface ...Show All
Windows Live Developer Forums adCenter - Java Example with axis?
Hi everyone. I was wondering if anyone knows of a working example of using the adCenter API with Java and Axis or has one that they'd like to share with the group. I'm a newbie trying to put together an implementation and am running into all sorts of issues. The first is that I get invalid characters in the generated CountryTypeTarget class. The second is that I'm having trouble authenticating ever since 3.15 was released. Any help would be appreciated! Thanks, Joe Have you had any progress on your efforts to program against the V2 API using Java I'd in the process of doing the same thing with ColdFusion, which generates Java code for execution. Thanks, Reed ...Show All
Visual C++ mfc build problem in vs2005
I have been getting the following error messages whenever I try to build MFC programs, and on MFC programs that have previously built without error. I've tried compiling each file seperately, and, you guessed it, each one gives me these same error messages. I've tried rebuilding the MFC Include directory, reinstalling VS, and still continue to get these errors whenever I try to build or just compile. Again, they have previously build just fine. I've scoured the headers, and can find no issue. I've built, rebuilt, compiled, all to no avail. I'm currently using the trial edition of VS Pro that I installed on 8/1/2006 (though I fully plan to purchase the full version as soon as my financial situation allows). Is that an issue with this ...Show All
Visual Studio Express Editions printing
how can I print .txt or .doc file in VB Add this before the start of the 'Public class' Imports System.io Imports System.Drawing.Printing Other tips: In solution explorer, do a show all files (the icon). If Form1.Designer.vb file exists. (Open it and blank it out.) Double click 'My Project' in the solution explorer. On the application tab. Be sure that the 'start up form' reads 'PrintingExample' and not 'Form1' (These additional tips were provided for those who are used to the regular setup that uses partial classes. The example puts all the code in one file. Which is now 'non-standard') ...Show All
Visual Studio Express Editions Using the EventLog Object in VB.NET
Hi, I am coding an application for analysis of Event Viewers using the EventLog object using Microsoft Visual Studio 2005 (Express Edition). I am only able to analyse the current event log on the local machine or on a remote machinf using the command: Dim Log As New EventLog( "Application" ) or "Security" or "System" as neccessary. However, I would like to be able to analyse Event Logs which have been saved from another machine. Is there any way that I can load an event log by sppecifying the path at which it is saved, or any other way to overcome this issue Any help would be greatly appreciated, Thanks well the "old" Eventlog should be at ...Show All
Windows Forms Pass data from one Windows Form app to another?
Hello, I have an application that takes command line parameters. I have code within the Main() method that makes sure only one instance runs at a time. The initial running works great. If it is attempted to be run again, it will notice this and not run the new instance thus keeping the original instance still running. That works great too. My problem is, if they attempt to run a second instance of the app, thus passing in new command line parameters to that 2nd instances, I need those parameters to be passed to the original, running application. How can I do this Thanks, Kevin If you're using the 2.0 Framework you can use the StartupNextInstanceEventHandler to get this information. You can use the ...Show All
.NET Development type TypeName1 exists in both TypeName2 and TypeName3
I am developing a ASP.NET webservice using MS ADO 2.8. The webservice code and component's code both use ADODB. I get the Error in Microsoft Studio 2005 The type 'ADODB.Recordset' exists in both 'c:\WINDOWS\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\adodb.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webservice\0b2e3d55\3e22149b\assembly\dl3\06e23e30\001abe3a_6e30c501\Interop.ADODB.DLL' E:\PRASAD\Work\WebService_DotNet\Server\WebService\App_Code\ReceiptReprint.cs 686 35 E:\...\WebService\ The online help indicates me that its Compiler Error CS0433 Please suggest me how can I resolve this compiler Error. Thanks in Advance It looks like you've got a reference ...Show All
Visual Studio Team System Error creating a TS Project
Hi there, I have a problem when I try to create a team project. I saw others post talking about (almost) the same problem, but this is my error log: Error Unable to connect to the Windows SharePoint Services at INTAN3 Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at INTAN3. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site. 2006-10-12 16:09:14Z | Module: WSS | Thread: 6 | Verifying site template exists on the server using http://intan3/_vti_bin/Sites.asmx ---begin Exception entry--- Time: 2006-10-12 16:09:14Z Module: Engine ...Show All
Visual Studio Report Viewer - New version?
Any idea when we can expect a new version of the report viewer. Much as I tried I could not find a way to display html from data stored in a database as html. And I believe that functionality will be in the next version. Otherwise I will soon have to go back to the manual method of producing reports, wasting weeks of work using the report viewer. Thanks an icy silence..... is the next version ever gonna happen it would be nice to have some indication or even a CTP ...Show All
Visual Studio Error Deploying to Vista
I have a VS2005/VB desktop application that uses the built-in version of CR. When I run the package (msi file) on a WinXP system all goes well but when I try it on a Vista (Business) system I get a series of errors indicating that various CR related dlls could not be registered. The error returned is always something like..."c:\Program Files\Common Files\Business Objects\2.7\bin\ExportModeller.dll failed to register. HRESULT -2147010895" Do I need to do something different in VS to support Vista I have the exact same problem. I am using Installshield 12 Express. Has anyone solved this Changing the "Required Execution Level" to administrator in Installshield does NOT solve the problem. ...Show All
Software Development for Windows Vista Windows SDK Documentation
Hello, If you have the Windows SDK and Visual Studio installed, you can help me. Please tell me if your Windows SDK documentation is integrated with your Visual Studio 2005 documentation. Thankyou. Because mine isn't. Assistance appreciated. I did a clean installion of Visual Studio on Vista RC2, and I installed the following additional items in the order shown. installed VS2005 sp1-KB918525-X86-Beta-ENU installed MicrosoftR WindowsR Software Development Kit for RC 1 of Windows Vista and .NET Framework 3.0 Runtime Components installed Microsoft Visual Studio Code Name Orcas Community Technology Preview – Development Tools for .NET Framework 3.0 - vsextw ...Show All
.NET Development Secure remoting, authentication and (unwanted) anonymous access
Hello! I'm trying to develop a C# application that will use secure remoting in an AD environment. Both the client and server are in the same domain, and I'm using identify for tokenImpersonationLevel. However I'm having some problems with the authentication. It will only allow users that are local on the server, and in particular if I leave the username/password empty from the client it will allow logon using "ANONYMOUS LOGON". Server configuration: Hashtable props = new Hashtable (); props[ "port" ] = 12345; props[ "secure" ] = true ; props[ "authenticationMode" ] = "IdentifyCallers" ; TcpChannel channel = new TcpChannel (props, null , null ...Show All
Smart Device Development Typed Datasets and Commands...
Hello. I have make a Typed Dataset in my Project, it have created the update, insert and delete commands, but in some point some tables have "lost" this data, i dont know if is something i touch, or something else... is there any way easy of regenerate this commands thanks! 1. Delete typed dataset from the project. 2. Create typed dataset one more time. After you do that all commands would be restored. ...Show All
.NET Development DoEvents not working?
This code doesn't seem to be working right. What I need to do is watch for left and mouse downs, and when both are down at the same time, show a window. This class should do it, but isn't working. The processMessage variable tells the mousehook to send the message to the appropriate window or to consume it. Public Class mouseComboWatcher Private WithEvents mh As WickedOrange.MouseHook Public Event ComboPressed() Public Event ComboReleased() Sub New () Me .mh = New WickedOrange.MouseHook End Sub Private leftMouseDown As Boolean = False Private rightMouseDown As Boolean = False Private comboDown As Boolean = False Private Sub mh_Mouse ...Show All
SQL Server Add as many Where's as possible
Hello, This was my first query. This is a subquery in a join, the date used for the DaysalHead table is specified on the on conditions and is not a part of this sample. SELECT COMPC_START, COUNT(DSH_ID) PERFORMANCES FROM TS.DAYSALHEAD DSH INNER JOIN GEN.COMPLEX_DATES CD ON CD.COMP_UI = DSH.COMP_UI AND CD.COMPD_DATE = DSH.DSH_DATE INNER JOIN GEN.COMPLEX_CALENDAR CC ON CC.COMPC_UI = CD.COMPC_UI INNER JOIN NATF.MOVIESLINKING ML ON ML.MOV_UI = DSH.MOV_UI WHERE ML.NMOV_UI = DSD.NMOV_UI AND DSH.COMP_UI = 168 GROUP BY COMPC_START HAVING COUNT(DSH_ID) > 3 It runs fine and when i watch the executionplan it is using the correct indexes to scan, the most 'un-used' rows come from the complex_dates, ...Show All
