mgaur_MSFT's Q&A profile
Visual Studio Team System Why is there such a large variation in total requests
Hi, I ran a load testing on our website and i noticed that the total requests in the results table has a large variation do you know what may have caused this I assume that www.example.co.uk is the primary page in your Web test, and the other requests are dependent requests embedde on that page. Is that right If so, it looks like that page probably has the request to "ads.co.uk" embedded 8 times so for each request to www.example.co.uk there are 8 requests to ads.co.uk (8 * 1967 = 15,736). Often if a page embeds multiple requests to the same URL the request to that URL will only be sent once because of caching, but it may be that the response to ads.co.uk is set to disable caching (which would make sense if it is a dy ...Show All
Visual Studio Express Editions Fill DataGridView using a Select Statement
Thanks in advance I can fill combo boxes with select statements and run Updates and Inserts. I would now like to fill a DataGridView using SQL as I am not using MSSQL database. Any help would be useful there are many examples on how to fill a datagridview. How are you originally filling combobox's if you are using a DataAdapter filling records to a dataset, same thing applies for the DGV. Here is an example on filling data from MS Access and binding it to a DGV: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=753872&SiteID=1 all you need to do is use the correct class (Sql/OleDb/ODBC/some other driver/class) to use to fill the dataset. ...Show All
SQL Server Dimension won't add to cube??
Hi, I built a new dimension with the dimension wizard while working with a cube that has dimensions pre-exisiting. The relationship is defined and I don't see anything different about it when I look at the other dimensions. However, when I look at the cube editor, all of the other related dimension tables are blue and the fact is yellow, but this table is white. Then I process the cube and it's doesn't show up in the cube browser as a dimension. It's like it doesn't exist!!! How can I add a new dimension so that it's visible AND usable Also, how do I create shared dimensions or make private dimensions shared THanks in advance. Mike mreese@satorigroupinc I figured it out. When you add a new dimension, you still have to ...Show All
Visual C++ C2027 Error: Full class declaration required: Bug?
Hi, This may touch on some obscure corners of the C++ standard, but I believe the example below should compile as is, without the full declaration of class Atom. Comments Thanks. Stuart ____________________ // Shows VC++ 2005 Bug Requiring Full Class Declaration Where Forward Declaration Should Suffice // Compile: cl /EHsc forward.VC.bug.cc (other options didn't make a difference) // Error: error C2027: use of undefined type 'rosetta::conformation::Atom' // Compiles without warning on: GCC 3.4 and 4.0, and Intel C++ 9.1 // Compiles if: // . Full Atom.hh header is included // , std::vector is used instead of vector1, // . vector1 dtor is made non-virtual // . typedef for Atoms_Iterator is removed // Something about the vector class hierarc ...Show All
Visual Studio 2008 (Pre-release) custom control problems
i am writing a custom control to draw a series of polylines. i've managed to create a nice little program that does just that (and also draws the equivalent bar chart :-) ) but i am having problems converting this to a custom control. my first problem is that i do not know how to create DP's for an unknown number of user defined variables. for example i want the user to be able to say something like: <LineChart .........................> <Line> <"series of points"/> </Line> <Line> <"series of points"/> </Line> .................. </LineChart> (the reason for having any number of lines is that i want to be able to add and delete lines at runtime) my initia ...Show All
SQL Server Error in creating or attaching database
I was getting following error while creating a database or attaching a database to sql server 2005 "The file <<*.mdf>> is compressed but does not reside in a read-only database or filegroup.." In this scenario, if you try sp_attach_db procedure, you get following error: Msg 5118, Level 16, State 1, Line 1 After little bit of troubleshooting, I found this was happening because of a folder option (of the folder where database file reside (in case of attach) or being created (in case of create)). Go to folder properties, General Tab, click on Advanced button,check "Compress or Encrypt attributes" section. If the first option (Compress contents to save disk space) is checked, you get that error. Uncheck ...Show All
Visual C# DateTime result
When I run the code below why is secc8 less than secc9 DateTime sectionc8 = DateTime.Now; DateTime sectionc9 = DateTime.Now; sectionc8 = sectionc8.AddMinutes(3660); sectionc9 = sectionc9.AddSeconds(59); int secc8 = (sectionc8.Month + sectionc8.Day + sectionc8.Hour + sectionc8.Minute + sectionc8.Second + sectionc8.Millisecond); int secc9 = (sectionc9.Month + sectionc9.Day + sectionc9.Hour + sectionc9.Minute + sectionc9.Second + sectionc9.Millisecond); string result = "sectionc8: " + secc8 + " sectionc9: " + secc9; Using the debugger secc8 = 262 and secc9 = 270 so that the string result = "sectionc8: 262 sectionc9: 270" gbak1 You're try ...Show All
Visual C++ Best practices: marking threads as answered
Just a friendly reminder to make sure you mark threads as answered if 1. you are reasonably certain that the thread has been answered, or at least the original poster is getting sufficient attention, 2. the thread has gone stale, or 3. the post has been deemed off-topic. The reason for this is to encourage others to read a thread that still needs resolution. Thanks. Brian My original intention was to give guidelines to avoid *over* marking of threads. The most important point is that on-topic threads should not be prematurely marked answered if its not certain that the original poster got what he/she was after. Marius, you are right: I didn't say how long a thread has to ...Show All
.NET Development connection problem
Hi, I need to insert the entries of the log file into a database table.. I have made a stored procedure but there is some problem .............I am unable to rectify that......... SqlConnection con=new SqlConnection("Data Source=***********;Initial Catalog=WebServicesLogFiles;User Id=sa;Password=sa;"); con.Open(); SqlCommand com=new SqlCommand("usp_addlogintotable",con); com.Parameters.Add(new SqlParameter("@LogDateTime",SqlDbType.DateTime,0,"LogDateTime")); com.Parameters.Add(new SqlParameter("@MethodName",SqlDbType.VarChar,50,"MethodName")); com.Parameters.Add(new SqlParameter("@Status",SqlDbType.Int,0,"Status")); com.Parameters.Add(new SqlParam ...Show All
SQL Server SSIS, BIDS and Temporary files
Why are some SSIS files, generated by the Import/Export Data wizard put into the local users temp folder Why are these not compiled with the package when the solution is built Is there some setting I am missing This architecture is kind of silly, as the server always needs access to the temp folder on the local machine to run. How can I get these temp files packaged with the rest of the package and deployed to the server so the server can run independent of the machine I develop the package on Thanks, Jeff The Import/Export wizard created files are stored in the TMP environment variable by default. To store the Import Export Data wizard files with a checked "Optimize for many tables" set ...Show All
Visual Studio How to install & use MsBuild in VS 2005
Hi all, I am new to MsBuild, I know it works under VS 2005 only. I have already installed & using VS2005. Now I want to install MsBuild. Is there separate executable available to install MsBuild if yes, please give me the link to doenload it. Please tell me any other method for installation of msBuild. Thank You. Harshal. Hi Harshal You need not install MSBuild separately. You would be getting it along with VS 2005. To run MSBuild you could navigate to start ->programs ->visual studio 2005 -> Visual studio tools -> visual studio 2005 command prompt. In the command prompt go to the location of your file and then type "MSBuild FileName.sln" ...Show All
SQL Server Mails
I have the following code to send email using DTS and CDO objects. I am getting run time error. Dont know why Any configurations to be made ' ********************************************************************** ' Visual Basic ActiveX Script '************************************************************************ Function Main() dim sch sch = " http://schemas.microsoft.com/cdo/configuration/ " Set cdoConfig =CreateObject("CDO.Configuration") cdoConfig.Fields.Item(sch & "sendusing") =2 cdoConfig.Fields.Item(sch & "smtpserver") = MPBAKOREX01.corp.mphasis.com" cdoConfig.fields.update Set cdoMessage =CreateObject("CDO.Message") Set cdoMessage.Confi ...Show All
SQL Server Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer column ordinal from name?
Hi, I need to access columns from a data flow by ordinal position in a script transformation (I'm parsing an excel file which has several rowsets across the page). The first problem I encountered is the generated BufferWrapper does not expose the columns collection (i.e. Input0Buffer(0) does not work) but I got around that by implementing my own ProcessInputs(InputId, Buffer) method instead of using the wrapper. My problem now is that the column ordinals are in some random order (i.e. Column "F1" is ordinal 1 but Column "F2" is 243). Where in the object model can I map between the name and the ordinal - it's not jumping out at me Dave PS Why is the script editor modal, it's frustrating having to switch b ...Show All
Windows Live Developer Forums "the passport ID used to sign in is not allowed access to this Beta version of windows live messenger"
hi i am experiencing problems to log in to the messenger Live 8.0 Beta version. i get this error: the passport ID used to sign in is not allowed access to this Beta version of windows live messenger what should i do Download the public version here ...Show All
Windows Live Developer Forums WISH LIST FOR THE NEXT RELEASE
Lets start a wish list for the features we want for the next release. My numba one wish is: I want the Altitude of the center of the map in the view object of the .onchangeview Event. I would like to see increased map/ sat image coverage - the crucial element of a map aplication. There are still so many countries with no or very poor map coverage - south america for example - so that there is plenty to improve still. ...Show All
