NeilMarshall444's Q&A profile
SQL Server Invalid Character in Flat File or Turncate problem
My source is a csv flat file. Currently I use that same flat file on SQL 2000 and SQL 2005. On SQL 2000 it runs fine and it inserts that character as part of the string (varchar), however, it gives me truncate error on sql 2005. I already use the "Suggest Types...." and my Output columns have the correct lenght (specially that lehght of that column is only 30 char which is less than the default anyways). If I remove that character it runs fine for that column..... This is the values that I get in my flat file for the trouble coulmn is "ATTN: JON OLSEN a€“ CTRL8 " And the error that I get when running the SSIS is [Flat File Source OrderDetail [1]] Error: Data conversion failed. The data conversion for ...Show All
Visual Studio Team System Build report not displaying build data
Hi I have just implemented automatic builds which all seem to work fine, but when I run the Build Report I get no data. The report displays the follwowing message at the top of the report: Report Generated: 20/09/2006 14:03:35 by BRINKSEMEA\tylerp; Last Warehouse Update: 13/09/2006 15:43:05 The builds were completed on 19/9/2006 but the Last Warehouse Update was completed on 13/9/2006. Do you know how I can update the warehouse Mnay thanks for this Nick, but I still have the problem. I do however have an error in the event viewer which I think is the problem. I have posted another entry for this as I do not seem to be able to find a solution. http://forums.micros ...Show All
Visual Studio 2008 (Pre-release) WPF + Add-ins = No security?
I have been looking at the problem of add-ins for a UI intensive application with WPF. From the reliability point of view, and general security advice, add-ins should be in a protected app domain. From a programmer point of view the add-ins should have access to WPF rather than some application-specific proxy API. But, I have not seen any solution that does both. I would like the add-ins to be able to modify the UI of the application (add menus, add content to the document being edited, etc). I could force the add-in to use a private API that can be marshaled between domains, and achieve the separation. But, then I need to have an API that duplicates WPF. Even for a very thin API this is not workab ...Show All
Visual Studio Team System Can java application be tested with VSTS tool??
Hi, Do VSTS tool suppot for Java application or any other apllication that uses Java script Because i'm trying to test my project in VSTS. But it is not supporting. Some of the functionality in my project is coded in Java scipt. Can u plzz help me out with this. Regards ashvini VSTS works at the Http layer so it won't see any request made from a javascript. See the following article on how to get around this: Web Test Authoring and Debugging Techniques http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/WTAuthDebug.asp Specifically the section on Requests Missed During Recording. ...Show All
Smart Device Development Remapping POWER button
Hi to all, how i can remap POWER BUTTON with the aim to replace the POWER_STATE_SUSPEND with a POWER_STATE_IDLE ! Thanks for any help, Muzero Hello, I tried to use this code in my c# project but it doesn't work, have anyone been able to use PowerPolicyNotify in c# // Mikael Mike12 wrote: Hi, I have tried this, but when my Mio A701 switches off after 1 minute of idle time (enabled in power manager), all apps stop running. I have changed the "SuspendToUnattendedMode" from 0 to 1 in the registry. That makes no difference. I have produced this C# code: public enum PowerMode { ReevaluateStat = 0x0001, PowerChange = 0x00 ...Show All
SQL Server compilation error
While compiling my ADF I am getting the foll. error: Notification Services could not obtain an identifier needed to construct a Transact-SQL statement I am trying to create an scheduled subscription with a user-defined rule. I followed the instructions on Shyam Pather's book on SQLNS and was able to create the event-trigerred subscription with user-defined logic. But when I tries to extend this to a scheduled subscription I got this error. I have searched the net for this but could find no other info on this error Any idea what this could mean Thanks DK Detailed Error: =================================== An attempt to run a Transact-SQL CREATE PROCEDURE statement failed. In ...Show All
Smart Device Development Smartphone 2003
Hi! I want to write a game for a Smartphone 2003 using .Net Compact Framework (C#). I would like this game to be multiplayer to using Bluetooth. Please tell me a simple way to do this! A sample Bluetooth chat application would be perfect. Hi! I want to write a game for a Smartphone 2003 using .Net Compact Framework (C#). I would like this game to be multiplayer to using Bluetooth. Please tell me a simple way to do this! A sample Bluetooth chat application would help me a lot! ...Show All
SQL Server MS RS Report Viewer and "cookieless" session-state
Hello there, I tried to implement the ReportViewer (local-mode) in our WebApp. The ReportViewer never rendered the report and I found out, the problem is the cookieless="UseUri" in web.config. Ist there any way to use the ReportViewer using the cookieless-state Thanks, Tobias ...Show All
Visual C++ std string assignments failing in debug in VS2005
In a C++ DLL that works fine when built with VS2003, upon building with VS2005 it crashes every time in the debug build upon attempting to execute a simple std string assignment, e.g.: #include <string> using namespace std; extern "C" __declspec ( dllexport ) void * DoSomething(HINSTANCE hInst, HWND hWndParent) { string boo; boo = "abcd" ; // exception here ... } Upon exception, the call stack is: msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Eos(unsigned int _Newsize=0x001d1d78) Line 2003 + 0x15 bytes C++ msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::eras ...Show All
Visual Studio Tools for Office VSTO 2005 and Outlook 2007?
Hi, I'd like some informations...I've started to use VSTO 2005 to build my plugin for Outlook 2003 some months ago...but a few weeks ago an user told me he has successfully installed my plugin into Outlook 2007! However, he's the only case... Do you have any clue Should they change the PIA, something else I still don't understand how this guy have been able to install (he neither...he just double-clicked the installer, and voila! :)) Please help me ;) Bye LastHope Installed a new PC for Office 2007.. same problem here... you can't install the PIAs for Office 2003 on a PC with just Office 2007.. can't belive that nobody on MS thought about that.. sigh... ...Show All
SQL Server Installing Replication on SQL Server SP2
Hi, I am trying to setup Replication but when I click on Configure Distribution I get the following error: "Microsoft SQL Server Management Studio is unable to access replication components because replication is not installed on this instance of SQL Server. For information about installing replication, see the topic Installing Replication in SQL Server Books Online. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server+Management+Studio&ProdVer=9.00.3033.00&EvtSrc=Microsoft.SqlServer.Management.UI.ReplUtilitiesErrorSR&EvtID=ReplicationNotInstalled&LinkId=20476" I also tried running a script to setup a distributor, with the same result. The SQL Server components I have installed are: * I ...Show All
Visual Studio Team System Moving States and Transitions to new Work Item Types - what gets left behind?
We are encountering a number of situations at our client sites that involve modifying Process Templates to 'correct' the client's attempts at designing new workflows. That is, clients have used template modification tools such as PTE to add work item types and global lists and work item type fields and work item type states and transitions and reasons. Then they have used witimport to upload the changes to specific TFS projects. Of course, they need to modify each TFS project to make the changes apply consistently to each new project. By the time we arrive on the scene, they have realized they now understand their process more better and they want to make a more organized modification. So the problem that is arising centers on ...Show All
Visual Studio VSS 2005 Command line: How to tell what local files need to be updated?
Is there any way to tell from the command line (and from the front end for that matter) what files in my local directory are not the most current version and need to be updated from the server Unfortunately, VSS doesn't store the version # that clients have locally. The best workaround I can think of is to use 'ss diff' or the Project Diff feature in the front end. ...Show All
Visual C# Code generation
Hi, I am looking for information on code generation. I am designing an application that has many methods and textboxes i.e. a lot of repetitive information and was told to use code generation using xslt or something. Do you perhaps know where I can find more information about this and also how I should go about preparing myself for this strange concept. Thanks take a look here for generating .NET code on runtime http://msdn2.microsoft.com/en-us/library/system.reflection.emit.aspx http://www.devhood.com/tutorials/tutorial_details.aspx tutorial_id=238 http://geekswithblogs.net/johnsperfblog/articles/49829.aspx hope this helps ...Show All
Windows Forms How can I make a default value for my DataGridViewCombobox
Hi guys, Greetings! I setup a datagridviewcombobox programmatically, my problem is how to set a default value for my combo box, how will I do this Thanks, You need to set the index ComboBox1.selectedIndex = -1 means nothing is selected. 0 means the first item in the collection is selected. When I'm adding items to the collection, I do something like this; for ( int i = 0; i < DataSet1.Tables[ "TableName" ].Rows.Count; i++) { ComboBox1.Items.Add(DataSet1.Tables[ "TableName" ]. Rows[ i ][0].ToString().Trim()); if (DataSet1.Tables[ "TableName" ].Rows[ i ][0].ToString().Trim() == DefaultValue) { ComboBox1.S ...Show All
