learnerplates's Q&A profile
Visual Studio Invalid DOS Path Error - Unable to Open VSS database
Hi our network has recently changed the network mapping of a shared drive where our VSS database is located. This has caused the VSS program to complain a dos path error. I tried remapping the database to the new path where the srcsafe.ini is located but I had no luck. The new path is somewhat similar to the one below \\hr.serv.acme.com\hr-shared-drv\application\vss\srcsafe.ini previously it was: \\hrserv34-v3\application\vss\srcsafe.ini Previously we had no problems. I've checked the permissions and no problems there. What could have been made wrong I'm running VSS v 6.0d on Windows NT. Can anybody send me a comprehensive list of probable root causes Hmm… VSS should not have problem with this path as long as your user account has r ...Show All
SQL Server Logging SQL SOAP End Point
I have a SOAP End Point setup on SQL 2005 that is used in conjunction with a desktop application at my job. I want to be able to log who is accessing the SOAP End Point by IP and which request they are using. Is this possible with Reporting Services or any other service with SQL 2005 ...Show All
Commerce Server rebuild catalogs fails when running as administrator on vista
I fought with this one for awhile until i figured out what was going on. I'm running VS2k5 on Vista as Administrator. Calls to Rebuild on a VirtualCatalog would fail with the following error: System.Runtime.InteropServices.COMException was unhandled Message="Impersonation Failed for the long running operation. The COM API 'CoImpersonateClient' failed with error code '0x80070005'. Please check the COM security settings of the process." Source="Microsoft.CommerceServer.Shared" ErrorCode=-2147467259 StackTrace: Server stack trace: at Microsoft.CommerceServer.Catalog.ICatalogRebuild.RebuildCatalogs(String siteName, Guid operationId, String[] catalogNames, Boolean ignoreInventorySystem, Boolean forceRebuild) at ...Show All
SharePoint Products and Technologies Re-Parenting
I have a SharePoint Services v3 site collection that needs to be re-parented. I keep finding that this is a feature but can't find where you would actually preform the re-parenting. Is this a SharePoint Designer task To me it's also not clear enough what you would like to do. Do you need to move the whole site collection under another existing site collection Moving sites within a site collection is possible in SharePoint Designer as well as via the interface in MOSS. Could you give more details on what you require ...Show All
SQL Server What are the differences between MS SQL Server 2005 & Oracle 9i ?
Hi guyz, I have basic knowledge of Sql Server 2005 and now i wanna move ahead in Oracle 9i ! So, i have 2 questions here - a)Whats the Difference between Sql Server 2005 and Oracle 9 i Note: Please keep the discussion general so that student like me can understand. I have never seen Oracle but the industry requirements suggest that Oracle is way better than than SQL Server 2005. But thats what i think b)I am Running Windows XP SP 2 and i would like to practise Oracle 9i. So, Where i can download it for free I know i have checked there website but they don't mention the difference between each version. Oracle does't market their products as well as Microsoft. Please , I am Student .. so i request you to make the discussion general . Thank ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Beginning Game Development problem
Greetings, I have been going through the begining game development articles and haave reached an impass. I have just finished the Second article so everyone knows where i am at in the code. I tried to run what i have so far and i get the following: Microsoft.DirectX.Direct3D.InvalidCallException was unhandled Message="Error in the application." Source="Microsoft.DirectX.Direct3D" ErrorCode=-2005530516 ErrorString="D3DERR_INVALIDCALL" StackTrace: at Microsoft.DirectX.Direct3D.Device..ctor(Int32 adapter, DeviceType deviceType, Control renderWindow, CreateFlags behaviorFlags, PresentParameters[] presentationP ...Show All
Windows Forms When does Form.Load event get raised?
When is the Form.Load event getting fired I cannot find explicit information about this from the web. Is the event handler of this supposed to be the best place for changing the state of any controls, like aTextBox.Text Will this event get fired by the VS.NET designer Will this event get fired in _any_ other occasions I would like more information about the raising of this event. I need to find out basically what the difference is between putting code in Load event's handler, versus putting code in the Form's constructor after the InitializeComponents() line, and try to avoid the code to be excuted inadvertently more often than intended should I put it in the event handler. Thanks a bunch! The Load event ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Delay garbage collection?
In managed code, I understand that GC is performed at times which are hard (if not impossible) to predict, which can somtimes damage framerate performance. Is it possible to postpone GC until a time where the programmer would see fit For example, when the camera is not moving. No, garbage collection fires when the GC logic decides that it needs more memory. However it will only happen at a point when new memory is allocated so if you told new any objects (value types don't count) then you will never get a GC a GC level 0 will not be noticable in your game so you should work to only have those happen. This means either having very long lifetimes and very short lifetimes. Search Tom Millers blog and R ...Show All
Visual C++ Showing C/C++ folder in the property page with all .cc source files
Hello, I have a project with all .cc files. By default I can't see the C/C++ folder. I solve this now by adding a dummy.cpp file to the project and then I get this folder. But could you show this C/C++ folder without adding such a dummy file thanks, Gino Hello, I found a solution myself: in the .vcproj file if I add FileType="0" to one cc file ( or I could do for every file) I get the C/C++ folder. Ex. <File RelativePath="..\src\ModelingObjects\src\scml_array_base.cc" FileType="0"> </File> Problem solved ! regards, Gino ...Show All
.NET Development Image.Save method = "-2147467259 A generic error occurred in GDI+.".
I'm having problems saving a Image to a response stream. In a Web Service Control, I have created an object that overrides System.Web.UI.WebControls.Image. I then overrode the RenderContents method. I needed to capture a bitmat image that has been embedded within my DLL so that I can modify the color palette before I send the image to the browser. All goes well until I call the Image.Save method. I then get "-2147467259 A generic error occurred in GDI+.". I have not seen an answer in this resourse, but if I have missed it, a pointer would be welcome. If you see any glaring error, a correction would also be welcome. If you need to reproduce it, this code should work in a Web Server Control project with an image of the approp ...Show All
Visual C# Compiler Warning CS0467
In the following, I get a compiler warning (with VS2005 Beta 2, but not VS2003) on the Close() call. I'm using a reference to Microsoft Word 9.0 Object Library. Word. ApplicationClass WordApp = new Word. ApplicationClass (); object missing = System.Reflection. Missing .Value; Word. Document aDoc = WordApp.Documents.Add( ref missing, ref missing, ref missing, ref missing); aDoc.Close( ref missing, ref missing, ref missing); WordApp.Quit( ref missing, ref missing, ref missing); The warning is: Warning 1 Ambiguity between method 'Word._Document.Close(ref object, ref object, ref object)' and non-method 'Word.DocumentEvents_Event.Close'. Using method group. The two Close candidates look prett ...Show All
.NET Development Securing Web Services
Hi.. I am looking to secure my web services, and trying to analyse the best possible ways, that can do it quickly and with the least hastle. I've went through WSE 2.0 beta 3, but that will require some major changes in my architecture, specially i have some client aplications made in VC++ 6.0, so i believe any encryption etc using WSE may put C++ guys in trrouble. I think if i simply host my Webservice under SSL, will that resolve all the security issues. all C++ clients would be require to do is to replace http with https i believe. Secondly how secure it (SSL) will be as compare to security mechanisms in WSE 2.0. Thanks... Hi, You can use this ... http://www.gotdotnet.com/codegal ...Show All
SQL Server PIVOT sql_variant into underlying dataypes
Does anyone know of a way to PIVOT an sql_variant column so that the resulting columns will be their proper underlying datatypes I wish this to be done in a View. I currently do this by hard coding the conversion as follows: SELECT A, B, C MAX(CASE Letters WHEN 'D' THEN CONVERT(int, LetterValue) ELSE Null END AS D, MAX(CASE Letters WHEN 'E' THEN CONVERT(datetime, LetterValue) ELSE Null END AS E, MAX(CASE Letters WHEN 'F' THEN CONVERT(varchar, LetterValue) ELSE Null END AS F FROM Alphabet GROUP BY A, B, C I would like to take advantage of the SQL_VARINIANT_PROPERTY(LetterValue, 'BaseType') function so I do away with the hard coding. Any ideas That is the idea but I do not want to hard code the CA ...Show All
Software Development for Windows Vista WorkflowQueue and Thread Safety
Hi, WorkflowQueue is created by the workflow when an instance of workflow is initialized. My question is that, what if several instances of the same workflow is running at the same time, do they share the same workflowQueue Inside the host, the queue items are produced, and the items are consumed in several workflow instances. Is it by default thread safe, or we developer have to synchronize and make sure thread safty Thanks, Jim The physical queues inside a workflow are threadsafe (i.e. we protect them against multiple host threads enqueuing at the same time). Dequeuing done by activities is singled threaded (only one thread runs an WF instance at a time). Thanks, Joel West MSFTE - SDE in WF runtime and hosting ...Show All
Visual C++ A Question about Timers in VC++
Hello What`s Wrong with this codes void CTimersDlg::OnTimer(UINT_PTR nIDEvent) { // TODO: Add your message handler code here and/or call default CTime curTime=CTime::GetCurrentTime(); // Which timer triggered this event switch (nIDEvent) { // The clock timer case ID_CLOCK_TIMER: // Display the current time m_sTime = curTime.Format( "%H:%M:%S" ); break ; // The count timer case ID_COUNT_TIMER: // Increment the count m_iCount++; // Format and display the count m_sCount.Format( "%d" , m_iCount); break ; } // Update the dialog UpdateData(FALSE); CDialog::OnTimer(nIDEvent); } I have these error messages: d:\documents ...Show All
