diane06's Q&A profile
Commerce Server Orders Adapter Failure
I am getting the following error on a receiving orders adapter. Im using the correct username and password for this service, can anyone tell me how to troubleshoot this issue further "Could not get the Whereabouts of the DTC on the Orders web service machine. Called byCommerce Server Orders Receive Adapter. Message An authentication failure occurred. Valid credentials could not be supplied for the Web service with URL 'http://localhost/OrdersWebService/OrdersWebService.asmx'.. Stack at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy) " The first thing I would check is to make sure MSDTC is running and properly configured on &q ...Show All
Visual Basic Thread Problems – Strange Loop behavior
I have a loop inside a threaded sub and inside this loop is a simple check that one Boolean is true and another is false, if so it will append some text to a string builder. This loop is an incoming E-Mail from a socket (hence the thread) which was connected and then threaded. Now the loop works fine apart from where it appends to the string builder (i have tried a normal string also but it the same). Now this loop accepts packets from port 25 and sends them onto our Exchange server. Collects what exchange sends back and forwards them on to the SMTP client forming a SMTP filter. I no for a fact the loop is working because the E-Mails arrive perfectly that pass through the filter. This is the code that does not run every time the ...Show All
Visual C++ No memory leak detection in native lib when called via managed wrapper (c++/cli)?!
Hi, I'm testing around with a native library (c++) and it's managed wrapper (c++/cli). The wrapper is called by a little c#-program. In the native library I inserted some pieces of code for memory leak detection like: #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> and _CrtDumpMemoryLeaks(); It works "fine" (it detects memory leaks) when I call it from a native exe-project like: int _tmain(int argc, _TCHAR* argv[]) { VConcreteClass1* pObj = new VConcreteClass1(); return 0; } Then the output-window in my vs2005 shows: Detected memory leaks! Dumping objects -> .... But when I create an object of the VConcreteClass1 via VConcreteClass1* pObj = new VConcreteClass1(); and without delete pObj; then ...Show All
Visual C++ Parameters from IE to MFC application.
I have an MFC application and a DRM business portal. till now when we download a movie content, I used to write the parameters sent by IE i.e. the content ID of the content being downloaded, Lincense Info, etc. into registry using ActiveX control. But inorder to avoid the pop up of the ActiveX I want to write those parameters into registry with the help of an EXE. Can anyone suggest me how to send these parameters from the browser to EXE. Regards, Dinesh Vudathu. Please direct this question to the appropriate newsgroup at http://msdn.microsoft.com/newsgroups . This forum is meant for language related queries, and does as such not cover what you are asking. Try the MFC newsgroup at http://msdn.microsoft.com/newsgroups/default.aspx ...Show All
Windows Forms Custom Object in DataGrid
Hi all, I am in the process of developing a Datagrid that is bound to a collection of custom objects, and will display the data as columns of custom controls. I have successfully created a custom gridcolumnstyle which hosts the custom controls. However I have run into problems with binding to my custom datasource, and mapping the gridcolumnstyle to the necessary properties. My data structure consists of an ArrayList (acts as my table), which then contains a collection of further ArrayLists (my rows), which each contain a collection of my custom objects. The reason my data structure is composed this way that the size at compile time is unknown i.e not only could there be any number of rows, there could also be any number o ...Show All
.NET Development c# serial port enumeration
I need to enumerate the available serial ports. I'm using c#. Anyone know how cheers, gareth ahmedilyas wrote: try this: string[] theSerialPortNames = System.IO.Ports.SerialPort.GetPortNames(); that should return you a list of valid serial ports this works with .NET 2.0....how can I do the same thing with 1.1 Thanks ...Show All
Visual Studio Team System What is in the ".Dat" file?
Assume my DBPro project is named "Schema". Can anyone tell me what is contained in the associated "Schema.Dat" file, and what would happen if this file were to get deleted Thanks - Amos. Amos Soma wrote: Can anyone tell me what is contained in the associated "Schema.Dat" file.... See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=950486&SiteID=1 for the answer from Andrew Campbell. Amos Soma wrote: .... and what would happen if this file were to get deleted Nothing bad, the project opens slower on the first opening and the file is recreated using the project directory / files. When there are problems with the project, this can be a so ...Show All
Visual Basic How to clear browser history
Hello I am trying to figure out a way to clear browser history from my dektop application, ideally for both FF and IE. Anone know of a resource or some code to help me out Thanks! It's actually in C# and won't be of any use to you, it was just a question like yours on how to delete the history and was pretty much concluded that nothing much can be done about it http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=799879&SiteID=1 pretty much severe Windows hacking on trying to do what you want would be done which is of course not recommended especially when distributing your application to clients ...Show All
SQL Server Create new database as a user instance
Hello... Is there any way to create a new database directly as a user instance. I guess this means creating a new mdf/ldf pair which is detached from the server after its created. Thank you... hi and thanks for your help. Your sample does not create a user instance but a plain attached database. This means that is there is another database with the same name, I will get an error. Aren't I right Isn't there a way to create the database without having it attached Thanks again... ...Show All
.NET Development Select page contents via javascript
Hi All, How select all html page contents via javascript. like Edit -> Select all option of browser. Hi, I have done this problem by my self effort. so that's why i m reply here. var Rang=document.body.CreateTextRange(); Rang.Select(); ...Show All
SQL Server Regarding migrating windows and SQL logins to SQL 2005 from SQL 2000
Hey. I've a script which gets the SQL usernames with the information I need. Is it possible to migrate the passwords also with this information Also, regarding Windows Logins, do i have to worry about their SIDS when migrating to SQL 2005. I'm going to attach SQL 2000 db's onto a 2005SQL instance and these db's alreayd have the usernames assigned in them. Please let me know if there is a way out for the above two questions. thank you. SELECT 'Create LOGIN [' + loginname + '] with password = ''hello'', sid = ',sid, ', default_database = ' + dbname + ', default_language = ' + language + ',check_expiration=off,check_policy=off' FROM master..syslogins WHERE name NOT IN ('sa') AND isntname = 0 Hi, Is ...Show All
SQL Server SaveAs/Export
Is there away with the reports to code to have them export into a excel template (a specific one) and have each report go into a different tab When I run the reports manually I can save to excel put not a pre-existing template. Each report has 3 to 12 stored procedures it needs to run so I am just not sure how to accomplish this task. Thanks in advance! Stokh If each policy_type can share the same report layout, then you should be able to use the same subreport for each policy_type. By putting the subreport into a list, it will repeat for as many rows as you have in your query. If you need different layouts for each policy type, unfortunately you won't be able to use this method; the ReportName element on a SubReport c ...Show All
Visual Studio Express Editions Spelling check
Hi, I am new in this forum and I am starting to use Visual Express, previous I was developping web by Frontpage. What about the spelling check Is it working in Visual basic express Thanks in advance mar There is no spelling checker in VBE. You'll write programs, not documents. The equivalent of a spelling checker for a program is the "syntax checker" in the compiler. Consider picking up some introductory books about programming... ...Show All
SQL Server Avoiding clear text passwords and editing of packages
Hi! I have an SQL Server where only a group of sysadmins have access to install DTSX packages. Those DTSX packages are developed by another team that does not have access to the production SQL Server. They use their own SQL Server. In order to make it as simple as possible to install these packages by the sysadmins, I suggested the use of configuration files. The files are associated with the job that executes the package and all that has to be done to install the package is copy it to the file system or import it into the SQL Server. Developers use their configuration file, sysadmins user theirs. Nothing new here. The problem is that some of the packages have to access some old systems and we cannot use integrated authentication. We have ...Show All
Visual Studio Team System Specifying custom properties for Unit Tests at class level
Hi, I am having a test project with one class "UnitTest1". "UnitTest1" is having 10 unit test methods say "TestMethod1" to "TestMethod10". Now I can define custom properties for any testmethod by doing like this: [TestProperty("PropertyName", "PropertyValue")] Now if I want to define the same custom property for all 10 tests in my testclass then I've to repeat the above statement 10 times. I don't want to do it. Because say a property "Reviewer" is applicable for all tests and I expect the same value for "Reviewer" for all tests with in a testclass. So I want to define such property at higher level(Test Class) so that it become applicab ...Show All
