Boycey's Q&A profile
Visual Studio Execution session has expired
I have a web page that uses ReportViewer web control to connect to a remote SQL 2005 report server to display reports. Once the report has been displayed, I am not able to export, refresh or navigate to the next page using the reportviewer toolbar. I get the following error: Execution session has expired Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Exception: Execution session has expired Source Error: An unhandled exception was generated ...Show All
Windows Forms Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click event as I can see the code when I double click the Save button. I can then handle the exception gracefully by displaying the error message to the user via a status strip label if fields are required ...Show All
Visual Studio VSS 2005 + Visual Studio 2003 using internet connection to database
All, My scenario is that a team that previously developed in the same physical location is now globally distributed (US, UK, eastern Europe and Australia), but code maintainance requires that we can access the VSS source database. We originally developed the product using VSS 6. I can connect to the server that hosts the database via VPN, but performance is unusable - I gave up trying to "Open from source control" when it hadn't completed after 2 hours. I am looking into using VSS 2005's internet connection option for a performance improvement. I have installed the product on the server, and configured a copy of our source ...Show All
SQL Server Droppinga a default value
Hi, I'm trying to drop a default value on a column by: ALTER TABLE [Table_A] ALTER COLUMN [Col_A] DROP DEFAULT But I just get an error: Msg 156, Level 15, State 1, Line 1 Incorrect syntax near the keyword 'DEFAULT' Doesn't Sql Server 2005 support this syntax What is the correct syntax Tomsi Take a look at this MSDN page. They warn for using DROP DEFAULT: DROP DEFAULT will be removed in a future version of Microsoft SQL Server. Avoid using DROP DEFAULT in new development work, and plan to modify applications that currently use them. Instead, use default definitions that y ...Show All
Visual Studio Team System TFS RC Setup fails with "Internet Information Services (IIS) Front Page Server Extensions are installed "
Hi, I am having a vary strange problem. I am trying to install TFS RC and in the initial checks it stops with the following message ----------------------------------- The System Health Check has detected a problem that will cause Setup to fail. Description Internet Information Services (IIS) Front Page Server Extensions are installed Workaround / Remedy Internet Information Services (IIS) Front Page Extensions must not be installed. Uninstall (IIS) Front Page Extensions and run setup again. More information For additional information and help please refer to: http://go.microsoft.com ...Show All
Windows Forms Adding images to subitems in listview?
Hi, is there a way to add an image to the subitems in a listview I actually wanted to add checkboxes to additional colums of the listview but since this is not possible I'm trying to add two image-items to the listbox, one like an unchecked and one like a checked box. greetings ...Show All
.NET Development Configuration data writable by all users - even non admin - how?
Where can you store machine wide configuration data that all users (even non-admin users) can write to All Users seems to allow everyone to read machine wide data but only admins can write to this location. Does Vista address this hole You're preaching to the choir. We have a team that is looking at modifying the permissions on a registry key that they install under HKLM to give everyone write access. That doesn't seem like a good idea to me. OTOH I understand their use case. They have configuration data that is stored for a couple of pieces of hardware hooked ...Show All
Visual Studio VS Team Test extensible to support alternate languages?
We are VSIP members with debugging support for our own scripting language. Can Visual Studio Team Test be extended for any arbitrary language If not, is this planned and what is the timeframe Thanks. See Microsoft Technical Forums Visual Studio Team System Visual Studio Team Edition for Software Testers That forum will be helpful to you, because the Team System folk are more active over there than in extensibility. ...Show All
Visual Studio Team System Types not checked if they have the GeneratedCodeAttribute.
I have written a custom rule that validates the schema namespace of typed DataSets. I also have a custom rule that makes sure that there aren't any "invalid" characters in the DataSet column and table names. In FxCop 1.35 Beta 1, the Check(TypeNode type) method doesn't ever get called for the typed DataSets. I removed the GeneratedCodeAttribute from the typed DataSet and the Check(TypeNode type) method was ran as it did before 1.35. Is there some way to get my rules to run again If there isn't, I suggest adding some way to enable checking (default to not is fine). For the time being, I will probably just implement the Check(Module mo ...Show All
.NET Development SqlCommand and Multiple Select INTO Statements
Hi, can i put multiple select into statements (to create temp tables on my SQL Server) in one SqlCommand and execute it. For Example: Select * into ##tmpTable1; SELECT i.Email ,Min(s.ssID) as FirstSkin ,Min(v.SessionStarted) as FirstVisit ,Max(s.ssID) as LastSkin ,Max(v.SessionStarted) as LastLastVisit ,Count(DISTINCT s.ssID) as Skins ,Count(DISTINCT p.ProfileID) as Profiles_Created INTO ##email_addresses FROM Skins s LEFT OUTER JOIN Sessions v ON v.SkinID = s.SkinID LEFT OUTER JOIN Entries e ON e.SessionID = v.SessionID LEFT OUTER JOIN Profiles p ON p.ProfileID = e.ProfileID LEFT OUTER JOIN PersonalInfo i ON i.ProfileID = p.P ...Show All
.NET Development SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request
Hi all! I have problems with my web service I'm coding in C# in VS 2005. I got the above error when I execute my web service. Actually, the web service calls a method from a class that is located in another project referenced by the web service. This method reads data from a database located on our server and the error happens when I close the connection to the database with the instruction: conn.close(). Can you help me please Roxane Roxane, You find no useful information in SoapException object – because it is not a real exception thrown on the server side – it's just a warning ...Show All
.NET Development .Net 2.0 Framework Issue
I have a C# DLL on .Net 1.1 framework. I am calling this DLL from Foxpro code using as CreateObject("xxxxxxxxx.xxxxxx"). It worked fine. As soon as I installed .Net 2.0, it is no longer working. I am getting "OLE error code 0x80131509; Unknown COM status code. I used gacutil to registered the DLL. Any help will be very much appriciated. Thanks, Rob I registered as followed: regasm /u C:\Rob\AAA.dll /tlb:C:\Rob\AAA.tlb regasm C:\Rob\AAA.dll /tlb:C:\Rob\AAA.tlb gacutil /u AAA gacutil /i C:\Rob\AAA.dll gacutil /u BBB gacutil /i C:\Rob\BBB.dll gacutil /u CCC gacutil /i C:\Rob\CCC.dll ...Show All
Windows Live Developer Forums Errors in contest entries?
Some of us who've submitted our entries to the contest may not be aware of bugs in our apps. If you find one, please post it here. We can determine if the problem is in the Activity API or our app's code and then elevate any relevant issues. Please include: The name of the app The exact error message (including line number if displayed) Steps to reproduce the error An objective suggestion to correct the problem By the way, my app is "Rockhopper's Race for Fish". I'm anxious to hear how it works for you. Thank you! Nick, could you please elaborate on the environment in which you got that error I also have XP w ...Show All
Windows Forms HOWTO avoid that the IDE place the propertys ordered alphabetically ?
Hello, I'm a having a issue with my custom control, because the IDE place the attributes in alphabetical order in the code (when the user place the control in a form). e...g... : if you control have three properties (Buttons, Captions y ValuesToReturn), the IDE place the attributes in this order: mycontrol.Buttons = 2; mycontrol.Captions = "YN"; mycontrol.ValuesToReturn ="10"; I need that the properties become placed like this: mycontrol.ValuesToReturn ="10"; mycontrol.Captions = "YN"; mycontrol.Buttons = 2; I need that the ValuesToReturn property become the first property that the IDE set, because its value is use ...Show All
Windows Forms How to get the previous focused control?
Hi all, I want to open a file from the openfiledialog and fill in the textbox with the opened file name. Because I have a few textboxes in the form and I only want to fill in the textbox which has focus before I open the file. How can I achieve this goal Thanks Each textbox will have a corresponding member variable defined at th ...Show All
