PeterTPeterT's Q&A profile
SharePoint Products and Technologies Restart Central Administration Service
Hi, a bad man has stopped "Central Administration Service" on Operations -> Services on Server. How can Central Administration Service be restarted Cannot go to Central Admin, when the service is not running :-) Best regards TST i'm going to have to agree with Sirk on this one. more than likely you need to go in check the identity of the application pool that is running central admin - last i checked it was network service. ...Show All
Windows Forms PropertyGrid and ListBox
Hi All Can someone show me an example of how to place a "ListBox" property within a PropertyGrid I am working on visual studio 2005. srinivasa rao Also visit the following articles, they are of great use: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/usingpropgrid.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/vsnetpropbrow.asp If your problem is solved, please mark the answer so that searches in the forum become more relevant ...Show All
Visual C++ image in dialog box
hi, i have just started c++ .net programming coz its a requirement in my course, i need help on how to display an image in a dialog box........ anyone please hello Re: image in dialog box There are many ways to do this, depending on which technique you choose. If you choose MFC, then post this question in MFC newsgroup , if you choose winform, then post this question in winform forums . Please also note that VC forums are dedicated to Visual C++ problems, see the scope of this forum . regards, rico ...Show All
Visual Studio Express Editions Problem when installing .NET Framework
Well, my setup file is continually stalling when I try to install Visual C++ 2005 Express, so I saw in the FAQ that installing .NET Framework 2.0 sometimes helps. So I try that. However, my install process freezes at this point in the install: http://img.photobucket.com/albums/v280/Cheesy74/curses.png Anyone know why My apologies: http://msdn.microsoft.com/vstudio/express/support/install/default.aspx ...Show All
SQL Server .Net CF 2.0 Error , "Can't find PInvoke DLL 'dbnetlib.dll'."
Hi All, I'm developing Pocket Pc application, In that i have set of statement, which establishes connection with sql Server 2000 Database. When ever I try to open SqlConnection, I’m getting error "Can't find PInvoke DLL 'dbnetlib.dll'.". Right now i am working in .Net Compact Framework 2.0 , But previously i worked in .Net CF 1.1 i didn’t face problem while doing that. Can any one help me to solve this issue My code exactly look like : Private SqlCmd As New SqlCommand Private SqlTrans As SqlTransaction Private SqlConn As SqlClient.SqlConnection Private SqlCmdBuilder As SqlCommandBuilder Private SqlDataAdapter As SqlDataAdapter Public Function Select_DocumentTempl ...Show All
Visual C# Retrieving Data Types from OleDb. Issues???
Hi! I'm accessing an Access database from C# using OleDB. I'm trying to pull out a variety of datatypes. This is my code so far: while (aReader.Read()) { intGameKey = Convert .ToInt16(aReader[ "intGameKey" ].ToString()); //dtGameDate = aReader["dtGameDate"].ToString(); strSeasonType = aReader.GetChars[ "chrSeasonType" ].ToString(); strHomeTeam = aReader[ "strHomeTeam" ].ToString(); strVisitTeam = aReader[ "strVisitTeam" ].ToString(); MessageBox .Show(strSeasonType + " " + strHomeTeam + " @ " + strVisitTeam); } I can retrieve all the two lower strings (strHomeTeam and strVisitTeam), and I can retrieve the "intGameKey ...Show All
Windows Forms IDE will not obey they settings for form height and width
All-- Please help. The VS.NET 2003 IDE will not obey they settings for form height and width. Here is the scenario. I decide that I want my forms to have (Size=800,600) all the time, disallowing resizing. I have myBaseForm from which myChildForm1 inherits and myChildForm2 inherits. For all forms, I set (MaximumSize=800,600) and (MinimumSize=800,600) and (Size=800,600) and (Locked=True) and (FormBorderStyle=FixedSingle). I do >Window, >Close All Documents. I do >Build, >Rebuild Solution. I open myBaseForm and notice that (Size=800,620). OK, I think to myself, the IDE must have some rule applied and needs some kind of specific proportionality or ratio or granularity when setting Size. Fine, I wi ...Show All
Smart Device Development Active Sync 3.7 and 4.0 On Same Machine
I have Active Sync 3.7 on my machine because I have a Pocket PC phone running 2003. Therefore I need 3.7 to sync to my device. However, I would like to use VS 2005 to develop an application targetting Windows Mobile 5.0 which requires that I install Active Sync 4.0. Can Active Sync 3.7 and 4.0 be installed on the same machine without conflicts I am using an RTM version of VS 2005. Sorry, but no - only one version of ActiveSync can be installed on a PC at any time. However, ActiveSync 4.0 can sync your PocketPC 2003 phone as well as Windows Mobile 5.0 devices. Barry ...Show All
SQL Server Dynamic queue receive sql ?
Hi There My activation sp must be able to read of various queues. I load a variable with the queue name that activated the sp btu i cannot get the syntax working to receive or get a conversation group of a queue name that is a variable. I have tried: WAITFOR ( RECEIVE message_body , conversation_handle , message_type_name , message_sequence_number , conversation_group_id FROM @callingQueue INTO @msgTable WHERE conversation_group_id = @conversationGroup ), TIMEOUT 2000 ; But i get this error: Incorrect syntax near '@callingQueue' . Looks like you cannot use a variable. So i tried the following: SELECT @SQL = N' WAITFOR ( RECEIVE message_body, conversation_handle, message_type_name ...Show All
SQL Server How to disable/enable jobs for database that has failed over
Hi, I currently have serverA importing data from an AS400 oledb connection and serverB on hot-standby as a mirror. The data import is being performed via an SSIS scheduled job. I've yet to implement any solution in the following case: If the database on serverA fails, it will failover to the mirror. But the jobs will still be on serverA. Ideally, I'm assuming the jobs should not run on serverB since it will be attempting to update the mirrored database. So, I am wondering if both servers can have identical copies of SSIS packages and jobs and simply ( ) enable or disable them based on which server will be hosting the principal database. Is there any solution where the jobs can automatically be disabled on the server with the mirrored ...Show All
Visual Studio Quirky Debugger with VS 2005 SP 1 Beta
Has anyone else noticed that the debugger seems a little quirky with VS 2005 SP 1 Beta with respect to debugging multiple threads I find if I'm debugging a second thread it's really slow and sometimes does not work--often seeing ThreadAbortException when the Autos or Locals windows are visible. That's the response I received with respect to the Connect issue. But, this is new for me in SP1. I didn't have this problem before I installed SP1. It doesn't seem deterministic: some people have the problem and some people don't. ...Show All
Software Development for Windows Vista [PersistOnClose] - Not persisting?
I have a pretty simple Sequential Workflow with 2 copies of a Custom Activity that simply set some tracking values. Each Activity is decorated with [PersistOnClose] , the Execute function returns an AEC status of Executing and I am using a Queue to return some values to the QueueItemAvailable handler. This handler then ultimately calls CloseActivity(); Each activity sets different tracking values, and what I am seeing is that BOTH activities run, despite the [PersistOnClose] and the CloseActivity Is there anything else I am missing to persist after my activity is completed Regards, Dave Jon Flanders wrote: Handle the WorkflowRuntime.WorkflowPersisted event just to make sure. I was just i ...Show All
SQL Server Windows Authentication connection problem
I belive this issue maybe to do with the domain or the network, but since I don't know how to diagnose the problem exactly I've posted here as the starting point. When connecting to Sql Server 2005 using Windows Authentication, the first attempt will fail, but subsiquent attempts suceed. It fails with a message of the connection attempt timeing out. This happens when directly using SMO or using the Management Studio (which I belive also uses SMO but at a more raw internal level). If I use Sql Authentication then I can log on fine. Also when in Management Studio frequently opening a diagram or modifying a table and other general tasks will take an unsually long time. Other things like outlook (working with exchange) are al ...Show All
Visual Studio Express Editions Saving Information
Hello, I a making a program that will be opened once a day probably and some information will be imputed. How can I save the informaition to be used at a later date. I basically need to use something that is like a variable accept that the variable will be saved and after the program is closed and opened again it can be used. thanks Average Joe Thanks lot's for the links ahmedilyas, I read them and found lots of things that will help. I got my program working, at least the saving the information part. thanks Average Joe ...Show All
Visual C# MSI: Installing a certificate (.cer)
Hi, Is there a way to install a certificate (.cer) file using C#. I wish to install a root certificate (.cer) on my lan machines programatically, or using an MSI or .cab file. Regards Craig take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=154775&SiteID=1 there is code sample that might help you ...Show All
