Software Development Network Logo
  • SQL Server
  • Visual C++
  • Visual Basic
  • VS Team System
  • Smart Devicet
  • SharePoint Products
  • Visual FoxPro
  • Windows Forms
  • Game Technologies
  • IE Development
  • Visual Studio
  • Visual C#
  • Audio and Video
  • Windows Vista
  • Microsoft ISV

Software Development Network >> Yogesh Ranade's Q&A profile

Yogesh Ranade

Member List

roy-roy
NJCoughlan
Pseudocode
MA2005
arturm
thames
Lawrence Parker
csLearner
Matthew Langley
ReneeC
TonyMoore
Q Man
kymaita
DriverEntry
Jonathan Jones
Andrew McFall III
Ted Strom
Sarbjit Chawla
mr4100
dagfari
Only Title

Yogesh Ranade's Q&A profile

  • .NET Development Connection Pooling randomly throwing COM exceptions

    We randomly get the following exceptions: [COMException (0x80070006): The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))] System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0 System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) +34 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +636 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 System.Data.Common.DbDataAdapter.FillInternal ...Show All

  • Windows Forms Error message when switchign between designer and code view

    When I first load my form in the designer it looks okay but if I switch to code view and then back to the designer I get the following error messge: Warning 1 The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container. Parameter name: serviceType To get rid of the message I have to close the designer window and then reopen it. Any ideas Chris Holland ...Show All

  • SQL Server Liste of report made with ReportBuilder

    Hi ! I'm trying to figure out how can i get a list of the reports made with reportbuilder. I have create a folder in ReportManger and all my report are in this folder. When i create report with ReportDesigner i get a .RDL file, but when i create a report using reportBuilder i can't file the file created. What i want to do is to create in our web application a Web page with a list of report that our client has create using ReportBuilder. I was thinking about doing a loop on the folder for each report File but i can't find those files. Any idea Thanks! You should use the ListChildren method on the ReportingService2005 web service endpoint to enumerate the items on the report server. You cannot easily det ...Show All

  • Smart Device Development Multiple requests over the same http connection

    hi everyone, I am building a multi-threaded application wich connects to a http streaming server and retrieves data. Once in a while the user is allowed to make new requests for data, thus i have to make a request to the server to stop sending info about the old options of the user and send info about new ones. I have built my solution arround HttpWebRequest/Response classes, but it seems like a bad choice because i can't find a way to send the new user requests over the same connection. I have to create a new instance for every request using WebRequest.Create(). This is bad because one of the threads keeps reading from the input stream and when i create a new webrequest it all crashes. So i guess, my question is: Is there a way t ...Show All

  • Visual C# 1.0 % 0.1 = 0.1. Is that correct?

    I'm using Visual Studio .Net 2005 and I saw the following issue. double result = 1.0 % 0.1; After the above line of code is executed, "result" contains the value of 0.09999999999999995. I would expect it to be 0.0, not 0.09. Is this a bug Thanks for any input. actually it's not 0.09, it's more like 0.1. The explanation to this behaviour is that the definition for floating point remainder found in ECMA-334 is: remainder = (x - y * n) where n is the largest integer that is less or equal to x / y. This means that the division 1 / 0.1 is probably very close to 10, but not exactly 10, so that the largest integer is 9. What really bugs me is that if you try to see what 1 / 0.1 is you get exa ...Show All

  • Visual Studio Express Editions Windows Forms Control

    The Windows Forms Control Library is not available in the new project templates. Can I download it from somewhere Closing the thread since it is the same issue as in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=734470&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio Team System Advice on managing Solution (.sln) files

    Does anyone have any advice on how best to deal with Solution files in regards to source control Currently, we have one solution for the team that all team members use. This was fine when our project teams were 2 to 4 developers. The trouble is we have really ramped up and team sizes have increased to 5-15. With this increase it seems like we are having more and more troubles relating to our solution, especially, with team builds. I am thinking that I need to move to solution files as being personal and should not be checked into Source Control. Trouble with this, is how do you get new developers set up w/o a huge set-up. Furthermore, and much more importantly, how do you run nightly builds or any built-type at all. I'd love to h ...Show All

  • Visual Studio Report Viewer: Internal error using sub reports

    Good afternoon. I am having some problems with a report viewer program that I am writing. Whenever I run a report that contains a subreport, I get a pretty unhelpful error message. The message simply says "An error occurred during local report processing". The inner exception says "An internal error occurred on the report server. See the error log for more details." I can't find any error log anywhere nor can I find anything more helpful in the ReportErrorEventArgs. Anyone know somewhere that I can find some more helpful information on where this is failing and why The reports are running in local mode and will work fine if I remove the sub-reports. Did you download and i ...Show All

  • SQL Server random error 513 "insert or update conflicts with previous create rule"

    Hello, I use ODBC driver to perform SQLServer commands from C/C++ application. An "INSERT INTO <table> (<column>) VALUES (NULL)" command has a random behavior in a SQL2000 Server running on WindowsXP. The <column> in this command has 2 definitions about the NULL value : - the NULL is accepted in the table definition, with <column> ut_oui_non NULL". - the NULL is rejected in the type definition, with EXEC sp_addtype ut_oui_non, 'char(1)', 'NOT NULL' and a rule to check values with '0' or '1' 1/ The column definition in any explorer show the NULL from table deffinition 2/ The "INSERT INTO" is completed in SQL Query tool, used on Windows2000 and WindowsXP computers, connect ...Show All

  • Visual C++ Link error when using STL w/ forms ?

    Hi, I've recently started using VC++ after a couple of years of linux development. I created a forms application and was hoping to use some stl code, however there seems to be problems linking. For instance, the following code: private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) { std::vector<int> testvect; testvect.push_back(5); } results in the link errors: error LNK2028: unresolved token (0A00034F) "extern "C" int __cdecl _CrtDbgReportW(int,wchar_t const *,int,wchar_t const *,wchar_t const *,...)" ( _CrtDbgReportW@@$$J0YAHHPB_WH00ZZ) referenced in function "public: class std::_Vector_const_iterator<int,class std::allocator<int> > & __thiscall s ...Show All

  • .NET Development Persisting Database Updates using an OleDbDataTableAdapter & DataGridView Object

    Hi all Getting data using an OledbDataAdapter and an OledbCommand referencing a Stored Procedure in Access, then filling a DataTable and displaying that data in a DataGridView is easy. Changes made in DataGridView then need to be applied to the database as well, that is where my problem occurs. If I use a DataSet then changes can be persisted easily = OledbDataAdapter.Update(Dataset, "tablename"), yet I am not using a DataSet but a DataTable to store the data and populate the grid. Can I update the data without going via a DataSet, via the changes made to the DataGridView / DataTable / OledbDataReader If I only need to populate one DataTable with data then the use of the DatSet seems to be a waste of resources, hen ...Show All

  • Visual Studio Express Editions Ready, Steady, Hang on a minute.

    To give me a break from the program that I'm working on, I've decide to have a go at a simple game, (That's a laugh, my last program was a Simple combobox to show the fonts on my system, it' now about 5000 lines of code and 4Mb, and still going thanks to an extreme beta tester ) Anyway I thought I would do I twist on tetris, still blocks falling etc but before I start and go wandering off into a maze of code, only to come here and ask for you guys to pull me out I thought I would start with your ideas and opinions. Would it be better to have pitureboxes dropping or drawn rectangles or panels or what Is there any help or info out there that I could look at to get the basic idea. Should I stop now and forget it All advice welcome and appreci ...Show All

  • Visual Studio Team System Unable to edit VSMDI file after Upgrade

    Hi, we have been using the Eval-Version of VS2005 Team-Suite (English Version) and have now switched to our Volumne-License-Version of VS2005 Team-Edition for SOFTWARE DEVELOPERS, GERMAN EDITION. Ever since then when we double-click the VSMDI file, the test-list opens up, instead of the VSMDI-Editor. We have one VS2005 Team-Suite GERMAN and there it opens just fine. Is this a limitation of the DEV-Edition or how can we re-link the VSMDI Extension to the correct editor Yes, that's correct, although I wish I had better news. Test manager requires either the Test or Team Suite edition: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=129079&SiteID=1 Eric Jarvi http://blogs.msdn.com/ejarvi ...Show All

  • Visual C# The first time that a ActiveX is loaded in IExplorer causes a long delay

    Hello, I have implemented a complete application using the ActiveX technology and works correctly. But when the ActiveX is loaded in IExplorer the first time causes delay, of approximately 10 to 22 seconds and when the ActiveX is loaded for the second time then do not exist any delay. In order to assure that this problem is not own of my application, I have implemented a simple Activex and when is loaded the first time in IExplorer also causes delay, of approximately 10 to 15 seconds. This delay is generated only the first time that IExplorer loads the ActiveX and in the following cases: 1. When the client machine, where Activex was installed, is restarted 2. When the new version of ActiveX is installed How I can avoid this ...Show All

  • Visual Studio VS2003: Hangs when changing from debug to release code, or vice verca

    Visual Studio 2003: On a new Windows XP with VS2003 I have a wierd problem: When I change from debug to release in configuration mananger, Visual Studio will stop respondind and hang. The only solution is to kill the app in task manager. Currently I'm not able to build the project on the machine. The size of the project is probably around 200.000 lines of code... On other machines this change is not a problem. Anyone else seen this behavior Thanks I had the same problem in visual studio 2005. I had a windows service project with an installer project. I could change the installer to release, but not the windows service project. As soon as I pressed the close button or the close X in the upper corner after I have changed th ...Show All

©2008 Software Development Network