CodeKracker's Q&A profile
SQL Server Tx replication works in 2000 but not in 2005?
Hello, I've got a simple transactional replication set up. I have a separate publisher, distributor, and subscriber with 76 articles (tables only) being pushed from the distributor. I have this exact setup with the same tables and data working in the SQL 2000 environment. I am testing replication on our SQL 2005 test servers before moving to production, however when the distributor attempts to push out the initial snapshot I keep getting this error. Error messages: Incorrect syntax near ')'. (Source: MSSQLServer, Error number: 102) Get help: http://help/102 Incorrect syntax near ')'. (Source: MSSQLServer, Error number: 10 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. CreateInMemoryWaveBank returns -1966669817
With the release of the April SDK, our team decided to use XACT instead of DA, but we're getting a strange return code from CreateInMemoryWaveBank: -1966669817. I've never seen this HRESULT code, not can I find what it means. The debug output reports: Error: Invalid wavebank signature in header Error: Invalid wavebank header (0x00000000) which I assumed meant there was something wrong with the data files we were loading. But we also ran the app with the SDK sample media and produced the same result. We've also tried both memory-mapped data buffers and normal ReadFile with identical results. What gives Rob Lead Software Engineer, CSU Games ...Show All
Visual Studio Compartment Shape Equivalents
Hi, I checked out the compartment shapes walkthrough and i have a similar scenario - to implement an embedded relationship. I have defined a image for the class into which i want another class embedded in to. If i have to implement compartmentshape for the embedding i have to change the imageshape to compartment shape. Is there any way i can retain my image and still implement the embedding relationship Kindly let me know. Thanks, Suraj, It depends on how you want to visualize the relation. What kind of image is it, do you need it as a full shape You could put your image manually with some code on the top of the compartme ...Show All
Visual Studio Team System Problem with Team Build w/Webserivce / Site
I was able to successfully build a solution which includes a web service, web site (which references the service) and two testing solutions - This build configuration did not actually run the tests. I confirmed that the tests ran successfully on the local machine. I then ran the build again but requested that the tests be run. The build failed. This is a partial output from the build log: Target RunTestWithConfiguration: MSBUILD : warning : Visual Studio Team System for Software Testers or Visual Studio Team System for Software Developers is required to run tests as part of a Team Build. The previous error was converted to a warning b ...Show All
Smart Device Development Application hangs after a few minutes
Hi, sorry for posting many questions but I have no clue why and have investigated this thuroughly. The issue does not happen with .NET 1.0 CF but with .NET 2.0 CF My mobile smartphone application runs WM5. It has .NET 2.0 CF The application simply connects to the server - thats all. nothing more, nothing less. Simple "connection" program. When connecting, it creates a TcpClient object and of course if that is successful in establishing a connect - I create a Thread which listens to incoming communication. Thats it. Thing is, and it is frustrating that after a few minutes, the application seems ...Show All
Visual C# good and cheap DBGrid for C#
hi, can anyone recommend and good and cheap DBGrid for C# application. The most important for me is to assign an ID (e.g. Primary Key) for each row instead for adding it as a column but hide it which i feel it's stupid way... Many Thanks, Jassim Rahma Why don't you use a DataGrid or other existing control These are easy to use and well documented. Wish things do you miss with the existing controls ...Show All
Visual Studio Express Editions My.Settings Values Read Only
Hello All, I have a bit of a problem here and I can't seem to figure it out. My project is a Class Library. This Class Library is one project which is part of a larger solution. I have several application settings which are set up as part of the project. Within the Class Library's root class, Application, there are two methods. GetSettings and SaveSettings. GetSettings retreives the My.Settings values and sets them as various property values within the Application class. This part works fine. The SaveSettings method retreives the property values from the class and attempts to place them back into My.Settings and then execute My.Settings.S ...Show All
Visual Basic Cannot find wrapper assembly for type library "Access".
Hi, I am trying to reference the Microsoft Access 11.0 Object Library - It is listed as one of my references under COM and add it as per normal but get the following errors: Cannot find wrapper assembly for type library "Access". Warning 2 The referenced component 'Access' could not be found. I am using VB.Net 2.0 Windows Forms and have Microsoft Office Professional 2003 installed (including Access) I can add a reference to Excel 11.0 and works fine, but not Access for some reason. Any help on this would be very much appreciated. The reason I am trying to reference Access t ...Show All
Visual Basic How to encrypt connectionstring (my.settings) in Winform (VB2005)
I'd like to encrypt/decrypt a connectionstring stored in my.settings. How can this be done (in a Windows Application) (I only can find solutions regarding web applications, but I need one for a Windows Application) Thanks in advance Leo Leys You coud use the built in RSACryptoServiceProvider. If you are struggling with the coding side just hit me up on ictjason@hotmal.com (MSN) and I can give you some samples we use. I believe we stack base64 on top of the RSA in case of places being stored like the registry or settings file. ...Show All
Visual Studio MailTo in ReportServices Report
I am attempting to pull information back from a table which includes an email address. I would like the email address to be a mailto so that the user can click on the email address and open the default mail application. I am placing =" Mailto:'" + Fields!Email.Value +'"" in the navigation Jump to URL for the text box that contains the address. If I hard code the address it works fine but using this method to get the address from the link is not rendered as a link. Any suggestions/guidence Thanks Worked like a charm when I use it in the navigation jump to URL. Thanks for y ...Show All
Windows Forms Unable to locate the localhost database
Trying to install TaskVisionSource 1.1.0.0. (local) database exists. Bug could be that I'm only running .NET Fx. 1.1 om this WXP box But what is a localhost database. Creating a database named "localhost" on my local SQL Server didnt make any difference. Sort of got it working - I was logged in with my work domain account on the laptop& ...Show All
Visual C++ New to VC++, can't really get started...
I'm a C programmer and I just installed VC++, created a new project called test1, and started typing in code. I decided to make a real simple program that has some input and output so I can see how VC++ works but after I create my project and type in my code, I do not know where to go from there. I decided to debug since that is the first thing I do with all my other compilers, then compile and build but it cannot find test1.exe in the debug section. I then built it to see if that would work and it didn't. I'm quite confused with the steps I need to take after code is actually written to get a working executable ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How does hardware fail? Silently?
A basic test pixel shader outputs solid red, but when rendering in hardware the color of the model is solid white. I use ps_1_1 for this and have no errors except the wrong color. I thought the compiler would complain if it could not implament the shader on the currently selected graphics card, and not simply skip the shader step. If this wrong The only error is that the pixelshader is aparently not run. instead every pixel defaults to white. The models I render are as they should be. just wrong color. Perhaps my problem sounds familiar In advance thanks for any help I can get. My card is an ancient Geforce 2 mx 400 I create my device like ...Show All
SQL Server cannot backup log of master
Hi, Server: Msg 4212, Level 16, State 1, Line 1 Cannot back up the log of the master database. Use BACKUP DATABASE instead. The recovery mode is set to full. Why am I not able to back up the log of master Thanks. Hi, look here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/adminsql/ad_bkprst_27qd.asp "Note Only full database backups of master can be created." HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development Implementation code in Interface
Why can't I put code in an interface There are some occasions when I want an interface with some code in it, but it's really frustrating that you can't do this. because then it isnt an interface. . . it is a class. An interface is just that, the definition of an interface. If you get a moment, give a simple example of something you are trying to model and lets see if we can't hash out a design. ...Show All
