andryuha's Q&A profile
SQL Server Deployment problem with protection level
Hi all, I have a problem while trying to deploy my packages that are configured in ProtectionLevel=EncryptSensitiveWithUserPassword I use the Deployment Utility to deploy my packages. I set the password when deploying and the deplyment works fine. But I run the packages I have the following error : " Failed to decrypt an encrypted XML node because the password was not specified or not correct." Did I miss something Sebastien Nunes wrote: Because I'm deploying to a Test Environment and the Data on the Test Env are different so sometimes I would like to debug on the Test Env which means I load the package in BIDS. What's wrong about using EncryptSensitiveWithUserPassword ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anyone having problems with the designer?
I been working on a game that has about 6 components in it and for some reason the designer will stop working and give me this error. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Specified cast is not valid. Hide at System.Windows.Forms.Design.ComponentTray.GetLocation(IComponent receiver) Just courious if this is a bug or something going on with my code I have encountered this problem a couple time. Generally it occurs after a failed compile ( atleast the 2 times its happened anyways ). Make sure no ...Show All
SQL Server Unable to add more then 59 mirrored databases
The following problem occurs when trying to mirror multiple databases using SQL Server 2005: After mirroring about 40 databases, an error occurred concerning a lack memory availability on the mirror-server. I added the parameter /3GB to the boot.ini file and enlarged virtual memory space. Now I was able to mirror a total of 59 databases. When trying to add the 60th database on the principal server, it won't get through. I don't get any error message, neither the mirror starts. However the SQL Server Management Studio on the mirror-server doesn’t seem to respond to any commands given until the mirror is again removed for one or more databases on the principal server. Adding the parameter /PAE to th ...Show All
Visual Studio Express Editions formating columns of a datagridview
does anyone know how to format especific columns of a datagridview in windows forms with values already in it for example, I wanna format the first row to #.## but it doesn’t do anything (instead of 5.45444 I wanna show only 5.45 in a existing cell DataGridview1.Columns.Add( "value" , "value" ); DataGridview1.Columns.Add( "name" , "name" ); String [] row = new String [2]; row[0] = "5.45444" ; row[1] = "test" ; DataGridview1.Rows.Add(row); DataGridview1. Columns[0].DefaultCellStyle.Format = "N2" ; dtgAcao.Refresh(); So, the final solution which works should be like this, when you are adding a new row: this .theDataGridView.Rows.Add(5.321, "hi") ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Finding Device's Parent Control
Hi there, I am trying to figure out how to find the 'parent control' or 'render window' of a device. I have the device pointer, and would like to obtain the control that the device was allocated with. I imagine there has to me a member somewhere in the device class that stores this information, but I cant't seem to find it in any documentation. Thanks in advance Les Thanks for the response, however the DeviceWindow member is null. The member never seems to be non-null, however everything is rendering to my device properly. MSDN says "For a windowed-mode application, if this property is null , the focus window is taken." Any idea what this means The DeviceWindow for my D3D device is a panel ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MS should ask the community to work on features for xna!!!
MS i really think you should use the knowledge of the community to help create features for XNA. If MS asks the community to work on specific area, or feature and to send there program to MS, MS could skip alot of the programing work, and just certify and expand upon the ideas of the community. Hell look what the xbox community did will all of the xbox live featuers. What do you think. godsarmy wrote: MS i really think you should use the knowledge of the community to help create features for XNA. The community can already build features on top of XNA, so I don't get the point you are trying to make. ...Show All
Gadgets Web gadget gallery submission failures?
Over the last several days, the only gadgets that have been approved on Gallery are Sidebar gadgets. If you look at the current 10 newest gadgets, all are for Sidebar. Over the weekend, I submitted updates to two of my web gadgets, both of which were rejected (since rejection lacks details I can't say for sure why, but both updates were rather trivial and well-tested before submission). I've emailed Chris Butler directly about this, but since I haven't gotten a response yet (Chris may be out on vacation ) I decided I'd go ahead and post this in the public gallery in case someone else who can investigate may see it here. I re-submitted my gadget updates last night and they're still pending as of right now, so maybe whatever problem ca ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX, XNA, Or XNA Game Studio?
Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot Hassan Ayoub wrote: 1- Can We Say That XNA Is The Latest Graphics API After Managed DirectX And DirectX The XNA Framework replaces the Managed DirectX API. The native DirectX APIs will continue to exist. Hassan Ayoub wrote: 2- Like We Know, The Powerfull Off All .net Language ...Show All
.NET Development Pinchanged event
If I start with DSR connected to DTR and then break the connection, the pinchanged event fires just fine. However it executes several more times after I close the connection again. Is there something I need to do to "reset" the state of that pin so the event fires just once No, but I'm using the xxxHolding properties to tell which pin is asserted. My problem is once the Pinchanged event fires the first time, I get a series of subsequent firings where all pins are false. I can code around it, but it does cause a delay in the application. Also, is it normal for DCD to go on whenever one of the other control lines goes on I thought DCD was an input Thanks for your help! ...Show All
SQL Server Insert / Update in master table and also save a history of changed records : Using data flow/simple sql queries
Hi, My scenario: I have a master securities table which has 7 fields. As a part of the daily process I am uploading flat files into database tables. The flat files contains the master(static) security data as well as the analytics(transaction) data. I need to 1) separate the master (static) data from the flat files, 2) check whether that data is present in the master table, if not then insert that data into the master table 3) If data present then move that existing record to an history table and then update the main master table. All the 7 fields need to be checked to uniquely identify a single record in the master table. How can this be done Whether we can us a combination of data flow items or write a sql procedure ...Show All
Visual Studio 2008 (Pre-release) Service Configuration Editor and custom bindings
Is it possible to have the Service Configuration Editor correctly represent an XmlDictionaryReaderQuotasElement property on a custom message encoder in a custom binding I'd like to have Reader Quotas display in the editor with all its properties read/write, as usually seen on a standard binding or message encoding; instead I get a read-only property that displays only the type of the element. I'm using the GZipMessageEncoding binding element from the SDK with a few changes. The config as shown below works when the configuration is applied to the binding element, but it would be nice to have the editor show the Reader Quotas property correctly. <customBinding> <binding name="compressedBinding"> <gzipMess ...Show All
Visual Studio About K Keyword of Sandcastle
I use sandcastle December 2006 CTP. The sample was compiled. Then, there is a question. The HTML source was opened on the page of 'StoredNumber.Increment method'. 1.Why are you in K key word , saying that no "StoredNumber.Increment method" it, and ".Increment method" <MSHelp:Keyword Index="K" Term="Increment method"></MSHelp:Keyword> <MSHelp:Keyword Index="K" Term=" .Increment method"></MSHelp:Keyword> 2.How should I do though I want to do the method name of the header to the mark of " [ClassName] . [MethodName] method" FC - Shiro: It looks like you've found a bug in our K-keyword generation logic. (In case you want t ...Show All
SQL Server running sp_updatestats is producing problems.
Hi to all, 1.I have first a question about one SP sp_updatestats. Because the SP it is asking in the implementation about the sysadmin rights i got problems at running time. Our user it is the db-owner but it is no sysadmin. To give an example the sp : sp_createstats it is not asking for this rights, and this function it creates new objects in the db. My first question is Why the sp_updatestats must ask for this rights what is the oficcial ansqear from Microsoft about this I make a note this problem persist in the SQL Server 2005. 2.Now because of this problem i have tried to copy the sp from SQL Server 2000 and 2005 and to modify the SP to ask only for the owner rights. So instead of if not i ...Show All
Windows Forms System.IndexOutofRangeException ... Index {{X}} does not have a value...
Hi All, I'm getting subject error when applying filter to a binding source of a data grid view with manually added new row(s). (No any custom code is called when new row(s) added). The runtime error appears after the following code is executed: Dim bs As System.Windows.Forms.BindingSource bs = myDataGridView.DataSource bs.Filter = "Test = 503" Google or MSDN doen's give any clues. Any ideas how to workaround this issue Thank you. Shamil im not sure about that: i never tried allocating the source of a dgv to a binding source. It is the other way around. I am nt sure if that works ... but i would bind my dgv to a bindingsource and then filter.:) Dim bs As New S ...Show All
Windows Forms Pushing data into winforms clients.
Anyone have any advice on pushing data into winforms clients I need winforms clients to listen for changes made to a sql server 2000 database and automatically update itself. Is this possible Perhaps using .net remoting I was thinking about how to do this, and my line of thinking is this: I would write a c# service which would have a list of all connected clients and methods which would be called to update the database. So the client applications wouldn't call sql server directly, It would call methods on the service letting the service know it wants to update something on the database and if successful, notify all connected clients. Does that sound correct How do the big boys make apps like instant messengers, games, etc. ...Show All
