John12312's Q&A profile
Visual Studio Team System nonincremental update requires all .SBR files
Sometimes if I stop a build before it's finished, I get errors like this in some C++ projects: BSCMAKE : warning BK4502: truncated .SBR file '.\bin\Debug\csiTransactionParameters.sbr' not in X:\Build\Ascent\NightlyBuild\Binaries\Win32\Debug\/ParamContext.bsc BSCMAKE : error BK1513: nonincremental update requires all .SBR files I'm not doing clean builds and it looks like the only way to get rid of these errors is to delete all of the output files before starting the build again. I'm wondering if anyone has seen this and knows how to avoid it any way other than doing a clean build Thanks, Richard I've not heard of those errors, but I would guess that it's likely a side effect of stopping a b ...Show All
SQL Server sql server connecting problem
while iam trying to connect to sql server at the remote machine via tcp/ip, iam facing the problem called login user failed. Can anybody help me in this regard.... thanks alot for help Make sure you are using the OLEDB Provider and not the SQL Server Destination. The SQL Server Destination only works if you are developing on the actual SQL Server machine locally. Also make sure you have installed the Server components for SSIS on your local PC. This is in addition to installing the normal Client Tools. Hope that helps. ...Show All
Visual Studio Team System Sharepoint vs. Version Control
I was doing some contemplating this afternoon and I started to think about Documents in a project. Team System lets you store all kinds of documents in a Sharepoint portal which allows you to check them in and out. So it has a basic version control functionality. Besides having the document available to anyone on sharepoint is there any other good reasons to have documents in Sharepoint instead in the projects Version control Does it make a difference Does sharepoint use the same data base as Version control Which would be faster and/or more efficient There's one consideration that comes to mind, which may or may not be a factor. In addition to "internal" documents (specifications, etc), there are also "e ...Show All
SQL Server Cannot Find SQL Server Profiler 2005
Hi, I have installed SQL Server 2005 WorkGroup Edition but cannot find SQL Profiler anywhere. Can anyone tell me what I need to install to be able to see this Thanks, Paul. Hi Paul, have a look here: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx Profiler is not shipped with SQL Server Workgroup edition, though it can be profiled fromanother computer having profiler installed. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Deploying cube changes to multiple sites
Hi, How does one deploy cube changes (say adding a new field into a dimension) into multiple customer databases without overwriting their Kpis We have a SSAS application which will snap into our existing application and allow customers to define Environmental, Health & Safety Kpis. Each customer will have different Kpis, so how do we deploy incremental updates, without overwriting those Kpis I know we can download a customers SSAS database into a new VS project, and copy the Kpis into an XMLA deployment script, but that is a lot of work for each customer. What I am hoping to find is something like a SQL Script that makes the schema changes, but does not touch the data (Kpis etc.). Of course, my SQL knowledge has only got me ...Show All
.NET Development Invoke exe from web.
Hi, I want to invoke the EXE from my Web application.Is it possible.How.Please help me. Thanks, justin(Navyajeevan) Hi, Thanks for your reply.I have one web page with button.When i click the button,Invoke the exe from the client machine.Is it possible then How ...Show All
Game Technologies: DirectX, XNA, XACT, etc. from Static to Instances?
Hi, I have come to a point where I want to change my code from using alot of static stuff to use instances instead. I read the thread on Best coding practices with ContentManager and GraphicsDeviceManager on this forum and decided that it's time to rewrite alot of code. But the thread didn't give any clear code examples for me as a newbie could work with and understand. Here is my code I want to rewrite: www.karlfredberg.se/cgtalk/ShooterExperiment 2007-02-17.rar If someone could take there time, glance it through and point me in the right direction I would be most grateful. Cheers Alfons Is just depends on what method you were planning on going with. Reading through ...Show All
Windows Forms Problem with transparent controls on user-drawn form
I'm deriving a class from System.Form that overrides OnPaint to draw a gradient background. However, if I include controls on this form that use the alpha channel for transparency, the transparent portions show the form's BackColor, not the gradient that I'm drawing. The same problem exists if I set the form's background image. Am I doing something wrong, or is this unavoidable (If I derive a form from this derived form, some, but not all, transparent controls work properly.) On a related note, I'm unclear if drawing the gradient in OnPaint is the best approach. Would it be better to create a bitmap and set the form's background image I could see this improving performance, but I think it would use up a large chunk of memory to ...Show All
Architecture DAO pattern
Hi All, I have a question related to the DAO pattern I have seen a project in which , we had a single factory for the whole database and helper classes for supported databases. I think that would be better pattern to address transaction and connection problem compared to DAO in which we have single factory for each table. Can you please guide me what prompts us to have factories for each table rather than for whole application. What are advantages and disadvantages in these two approches Please provide me with your comments Hi DeborahK, Yes, i am asking about the same pattern's advantages and disadvantages over DAO pattern in which we create one factory for one table. If somebody c ...Show All
SQL Server split string using Delimiter
Hi, I get a string whihc looks like 'Q306/Q406 Version1/Current/Q108 Version2' I need to split the above string and get each of those values... ' / ' delimiter Can some one please help on this. Thanks Hi Swapna, I actually just saw that Chris suggested a good solution to this in the below post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=859841&SiteID=1 Cheers, Rob ...Show All
Windows Forms how to use configuration file with multiple info
Hi, I've been working on configuration file with appsettings. I want to convert to config file from the code shown below; newParser.AllowedExtension = new string[] { ".aspx", ".xml", ".html", ".htm" }; // note that AllowedExtension is string array I this case, there are 4 elements in string array. I don't know how to store 4 elements into configuration file. I know the file should include add and value keywords. Ideally, I want to convert the code shown below instead; newParser.AllowedExtention = ConfigurationManager.AppSettings["extentions"]; // add using System.Configuration namespace I appreciate your help. Hello. I'm still having ...Show All
SQL Server Time Dimension
Can anyone explain how the time dimension works in cube I have differenct tables to store different dates. Which do I point the time dimension to Thanks. Regard Alu Can I say that if an OLTP db is highly normalized and has a good design which follows the 'rules' or principals...it is difficult or almost impossibe to use it with UDM on top without the OLAP db. I encounter many problems when not using a database layer for OLAP and either i dont understand the design well or because of the fact above. Regards Alu ...Show All
.NET Development FatalExecutionEngineError was detected
FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x79f783dd, on thread 0x6d8. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. Application is created on 1.1. i am getting this exception when application running on 2.0. Can anybody help me Thanks is a error like this.... http://img209.imageshack.us/img209/2002/nuevoimagendemapadebitshw3.jpg ...Show All
Visual Basic Problems with Process class
Hi, I am trying to use media player classic to open certain songs in my program and close it after some period of time. Here are the source codes: dim myProcess as Process = new Process() myProcess.start("mplayer2.exe", "C:\My Song.mp3") myProcess.WaitForExit(60000) myProcess.CloseMainWindow() As the program runs, it can open windows media player and play the song. However, it keeps on displaying exception like this "The process is not associated with certain object" (i don't quite remember the name) when it reaches waitforexit method. anyone can help me thanks a lot. I have managed to supress the error messgae. thanks. Now I have another question to ask. My program is supposed to open ...Show All
SQL Server SQL Service Broker : "Task Scheduler"
Hi, I'm looking to run a "job" on a SQL database regularly (like scheduled by a "task scheduler") to updated my database. It appears I can use SQL Service broker to run such a job. Can I embed a "task scheduler" inside my SQL Server database to trigger this job each X seconds Hi Gerald, I put together an test app based on your suggested design, and works nicely! After running " BEGIN CONVERSATION TIMER ( @conversationHandle ) TIMEOUT = @queueSeconds ;", I see the message in the queue @queueSeconds later (great!). One additional feature that I'm trying to accomplish... There are many variants of the "job" I need to run (these jo ...Show All
