eligu's Q&A profile
.NET Development How can I generate the prerender event of ASP:NET page
I havent been able to generate the event handler How can I do it Please post ASP.NET specific questions to the ASP.NET web forums: http://forums.asp.net Daniel Roth ...Show All
SQL Server Client Failover Problems
Hi, I encountered 2 problems when my application reconnects to the mirror database after the principle database is not available. My Connection String: Data Source=ServerA;Failover Partner=ServerB;Initial Catalog=TestFailover;Persist Security Info=True;User ID=sa;Connect Timeout=45 Firstly, the following exception will be prompted when failover occurs: A transport-level error has ocurred when received results from the server. The specified network name is no longer available Q1: Is it normal to have this exception Otherwise, how can I avoid this exception Secondly, I tried to capture the exception and retry the op ...Show All
Windows Forms VS .NET2003 Sluggishness
I am using VS.NET 2003 for my development and I have noticed that the interface is very sluggish. Everytime I change some part of my code, the interface goes into some kind of a process and I cannot continue with my work during that period of time. Even making a simple change to a comment, it goes into the wait state. I have turned ...Show All
SQL Server Conversation ID cannot be associated with an active conversation
Hi: My service broker was working perfectly fine earlier. As I was testing...I recreated the whole service broker once again. Now I am able to get the message at the server end from intiator. When trying to send message from my server to the intiator it gives this error in sql profiler. broker:message undeliverable: This message could not be delivered because the Conversation ID cannot be associated with an active conversation. The message origin is: 'Transport'. broker:message undeliverable This message could not be delivered because the 'receive sequenced message' action cannot be performed in the 'ERROR' state. How do I pro ...Show All
Visual Studio Express Editions Customizing menus in VB Express
Trying to add the "New File" command to the "File" menu. In the "Customize" window, I'm dragging the command from the "Commands" list and dropping it into the "Categories" list - but nothing happens. Is this only available in Pro or am I doing something wrong Thanks a bunch Mike File.NewFile is supported by VB Express. Try dragging the command onto the File menu where you want it to show up. The little X on your pointer will change to a + when you are over a valid drop target. Best regards, Johan Stenberg ...Show All
Microsoft ISV Community Center Forums Bound Object frame manipulation in VBA
I am having some trouble with boundobject frames in Access. I have a record in which 1 of the fields is a embedded object that is a excel ss. Now I would like to execute a script on it to extract some information. I have gotten help from the "Buddies" on how to do this inside a form ------------------------------------------------------------------------------------------------- Private Sub pin_diagram_Click() Set ex = CreateObject("Excel.Application") ex.Visible = True ' activate the spread sheet Me.pin_diagram.Class = "Excel.Sheet" Me.pin_diag ...Show All
Windows Forms Unable to change the backcolor of the menu strip.
Hi all, I'm unable to change the backcolor of the menustrip. I tried changing in the property and in the code but no use. I've coded it as Me.MenuStrip1.BackColor = System.Drawing.Color.White But the color I have is Maroon. any help ...Show All
Visual C# C# and VC++ unmanaged
Hey, I have a dll created in C#, that i wish to reference in my VC++ unmanaged application every time i try to import the dll, i get an error which is. fatal error C1083: Cannot open type library file: 'c:\mydll.dll': Error loading type library/DLL. i have never done this before and started playing around with the properties of the c# dll. I turned the "Register for com interop" facilitie on, which appeared to create a tlb. I then tried referencing that, which i seem to be able to do. But i can only create instances of objects and not call any of the methods on those objects. So first question is, is this possible ...Show All
Visual Studio Team System Project alert from Code coverage
Heya. Is it possible to get a project alert when the code coverage percentage fall below a set threshold when a team build completes For example, the team project is built on a build server every night. Unit tests with code coverage is run if the build is successful. I'd like to receive an alert if the code coverage percentage for the project Utility falls below 75%. Is this possible Cheers, Chris We do not support out of the box customization of alerts on different events Chris. Currently, Team Build sends out alerts only on build complete and build quality change. Please refer here for an alternate ...Show All
Visual Basic Trimming a string
How would I trim a string that looks like this: 6004-6005_004.txt Into: 6004-6005 Thanks. variablename.remove(Character to start at, number of characters to delete) New variable as string. So I think your code should look something like NewString = OriginalString.remove(9, 4) But if you have trouble with the characters being selected just try playing around with those numbers. ...Show All
Visual Studio forget my admin password
im forgot my admin password Alin Constantin - MSFT wrote: Of course, in Windows, for an Administrator to change passwords, the Administrator must remember his password, right Not really. If there is more than one administrator defined, then one administrator can reset another administrator's account. Of course that solution isn't perfect, resetting a password like that makes encrypted data inaccessible. A better solution is for an administrator to create a Password Reset Disk which they can use to reset their password if they forget it. That ap ...Show All
SQL Server Backup of Log fails.
It appears that the data is backing up fine but logs do not. Obviously something has changed but I cannot see what. I have plenty of space and privs but the backups fail with the below errorlog. If anyone can point me in a new direction I would greatly appreciate it. 2005-12-31 08:22:34.16 spid11 Analysis of database 'CEMS_PRO' (7) is 100% complete (approximately 0 more seconds) 2005-12-31 08:22:34.25 spid5 Starting up database 'tempdb'. 2005-12-31 08:22:34.58 spid3 Recovery complete. 2005-12-31 08:22:34.58 spid3 SQL global counter collecti ...Show All
.NET Development Change to SQL table not reflected in TableAdapter
I have created a form with a DataGridView control. This automatically creates a TableAdapter, a BindingSource, and DataSet. Everything works great. However if I change the table structure, I can't figure out an easy way to get the new structure reflected in the TableAdapter or DataSet. Al I can do is create a new datasource, and then delete the old one. This changes all the names, and requires changes in code. Does anyone have an easy answer (besides don't change the table structure) Hi, The .NET 2.0 Wizard is to help you speed the process that create a Data Access application. So it will create many ...Show All
SQL Server Displaying various Time Intelligence calculations at the same time
I created a new calculation for a measure to display Year over Year growth % using the business intelligence wizard which created new calculated members in my time dimension. How can I display the new calculation and the original value at the same time without these two options being columns or rows For example: 2005 Sales Sales Year over Year Growth % Product A $23 1% Product B $45 15% I have tried to do this using perspectives but these are not included in the 'Standard Edition' SKU. Thanks in advance. ...Show All
SQL Server Source code for the standard SSIS components that come with SSIS?
Hi, I'm finding that the standard components often just don't quite meet my needs, but would only need some fairly minor changes to save me and my team a lot of work (and produce more elegant solutions). So I was just wondering whether the source code was available for the standard components that come with SSIS, or if there is anyway to extend their functionality Or do you just have to start form scratch Thanks, Lawrie Thanks Bob - I thought that was probably going to be the case, but thought I'd ask just in case... ...Show All
