Joe Rattz's Q&A profile
Visual Studio CRITICAL ERROR INSTALLING SP1 (released) FOR VISUAL STUDIO 2005
Hi All, I have tried to install released version of SP1 for VS2005 Team System for Software Developer since last night with no success at all. This is the most troublesome for Service Pack, I have ever experienced so far. Now, some of my applications can't be used any more, e.g. VS2005, Windows Live Messenger, VSS, Paint.NET. Can someone from Microsoft or whoever help me Currently I am developing application and is near the target date. As I see in MSDN that SP1 has been released, I believe that released version from Microsoft will be easy to install and since this is SERVICE PACK, not new product. First time I encounter problem due to lack of space. I am quite surprised Service Pack need more than 2GB to install. So I have clea ...Show All
.NET Development Permissions problem running from IIS
Web application uses old style ASP pages at the front, and a vb.net 2005 DLL at the backend. The IIS web is setup with Integrated authentication, and Anonymous is turned off. One option in the app involves running through the shell command a .NET EXE. That .NET EXE attempts to do some WMI stuff but it doesn't have the permissions to do that. The Shell command is inside the vb.net 2005 DLL. I log into the browser as Administrator, and the winapi username shows up correctly as administrator in debug sessions. So why doesn't my shelled application have all the permissions that administrator has ------------------------------ more info.. ASP Page > x = createobject("mydll.myclass") c = x.shellthatEXE () In My ...Show All
.NET Development How to access the ASP.NET 2.0 Cache object without HttpContext?
I'm writing a web application that store some data into the application Cache. This cached data is depend on a file. So I create a CacheItemRemovedCallback method to handle the cache removed event. private static void dataRemovedCallback(String key, object value, CacheItemRemovedReason removedReason) { // if the cache Expired, just let it removed. if (removedReason == CacheItemRemovedReason.Expired) return; // if the cache is removed due to dependent file modified, add it back to the cache if (removedReason == CacheItemRemovedReason.DependencyChanged) { // load data from database and cache if again HttpContext.Current.Cache.Add(...); } } But when the program run, NullPointerException is ...Show All
Visual Studio Team System Unit Testing, Windows Presentation Foundation: Problem
Hello, I am writing a class library (File> new>Clas Libarary) with a Windows Presentation Foundation GUI, in VS2005. The Unit Tests wizard has a dialog called:"Create Unit Tests". This dialog is supposed to show a grid with: First row: Namespace Second Row: Class Next Rows: Methods. But I only get rows one and two. This cause me to code by hand my unit tests stubs. If I create a class library with WIndows forms, everything works fine... I think it is a bug. Anybody ever encounter this Regards, arit Hello arit, This is currently an unsupported scenario, we are aware of it, and will be supporting it in future versions of Visual Studio. ...Show All
Visual Studio Express Editions why this expression is invalid?
hi when i write Dim buff As Byte() = New Byte(fsin.Length) it says that byte has no contructors and when i put square brackets at the end like that Dim buff As Byte() = New Byte(fsin.Length) {} no complain any explain for this thanks in advance. Usually that implies an initialization Array. For example, you may see this at times: Dim S() as bye = {1,2,3} That will create a three byte array and fill in the values 1,2,3 ...Show All
Windows Forms adding single records to a gridview
I have a cbolist the user will select a name hit enter then a query runs to get that name details and enters it to a grid view, the user clicks another name and its details are added. How do i do this. i have only used the adapter.fill(table) gridview1.datasource = table but only one record is showing the last one clicked. "seperate list holder" - you mean like a "storage container" which constantly has items being added (or removed) right Yup I agree and this is what I had also posted earlier. (sorry, just different termonoloy) :-) ...Show All
SQL Server collapse and expand of a column based on another column collapse and expand in a table report
Hi All, I have a requirement where in, on the click of a expand (+) sign of a detail row column (which is in collapsed (+)mode initially), I should be able to expand one of the header row column. To put it in another words, i want to toggle the columns expand/collapse based on the click on another column. Please let me know if this is possible if so how . Any pointers in this regard are highly appreciated. Thanks, Bala ...Show All
Visual C# Validation
Sorry if this question is a dumb one, but I'm new in C# so.. How can I validate text that the user writes in a maskedTextBox with the OK button E.g. The user enters the program and needs to enter a password to have access. If the password is correct, he has access and the main window apppears. + Enters "Sample" into maskedTextBox 1. I'll start with the second one first. You could certainly use Compare to validate the passwords, but unless the password is culturally dependent, it might be overkill. textBox1.Text == "password" would work as well. As for the first question, the technique is to have Form1 expose a public property called TextBox1Value. The implementation of TextBox1Value would be to eithe ...Show All
SQL Server Error: The product level is insufficient for component, while executing SSIS package
While executing SSIS package from command prompt as follows: dtexec.exe /DTS "\MSDB\etl-hyundai-package" /SERVER tvmwindev02 /CONNECTION "TVMWINDEV02.HISNA_POC";"Data Source=TVMWINDEV02;In itial Catalog=HISNA_POC;Provider=SQLOLEDB.1;Integrated Security=SSPI;Auto Translate=False;" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING E /CONSOLELOGO while executing the package following error message is received as : Error: 2006-07-28 15:12:36.60 Code: 0xC00470FE Source: Data Flow Task DTS.Pipeline Description: The product level is insufficient for component "Data Conversion" (202). End Error and at the end as : DTExec: The package execution returned DTSER_FAILURE (1). Same ...Show All
.NET Development error: stored proc expects param @xxxxx not supplied
I created a stored proc with 2 insert queries. Both queries have parameters. The first query inserts a row in first table and second query inserts a row in the second query. In addition, the first query gets the scope_id from the first table and inserts this same scope_identity in the second table along with the other supplied params. Here is the stored proc: (accountNumber gets the scope_identity) ALTER PROCEDURE dbo.InsertAccount @AccRisAsse bit, @AccHldBll bit, @accountNumber bigint output, @prpDateBir datetime, @prpSinNmbr char(15) AS insert into TblAccount(AccRisAsse,AccHldBll) values(@AccRisAsse,@AccHldBll) set ...Show All
Visual Studio Team System Visual Studio 2005 Team Suite 180-Day Trial
I am trying to lower the En_vs_2005_vsts_180_Trial.img file but single it lowers 4kb to me or in its 1,7 defect Gb Somebody podria to say to me of where I can lower it so that quero to prove this version You can also order the Team Suite trial from here and avoid the trouble of downloading it: https://www.tryvs2005.com . -Ajay ...Show All
Visual Studio Team System Data Tier Problem
Hey, I wanted to create a test environment. So, I installed everything as I was supposed to, and then I backed up the production DB and restored it to the testing environment. Then, I used TFSAdminUtil and specified the new data tier. Seemingly, all went well - no error messages, I even checked up on one table (subscription) in TFSIntegration and it pointed to the new data tier - great. However, today, I was startled to find that changes I made to work items on my testing environment changed things on the production environment! Then I took a quick look in the TFSWarehouse to find out what was the last work item id and found that I was right - the test server was actually pointing to the production server (I learned this ...Show All
.NET Development Cannot convert from 'anonymous method' to 'System.Delegate'
Hello all, The Form.Invoke method is waiting for a delegate as parameter. I wanted to use an anonymous method instead of a delegate but I receive a compilation error : Cannot convert from 'anonymous method' to 'System.Delegate' I find this quite strange as an anonymous method will be generated as a delegate in MSIL and so as class of type System.MulticastDelegate. So i think it should be able to convert it. Is it because it doesn't know the signature of the delegate it must build or for another reason If it's because of that, I was wondering if this will be solved with type inference of C# or not. Thanks, Pierre-Emmanuel Dautreppe Jarodtweiss wrote: Is it because it doesn't know the signature of the de ...Show All
SQL Server Predicting in Trees
Hi! I have created a DMM using Trees. But when I go to the Mining Model Predition tab and select a Predict function, I get this in the criteria column: <Scalar column reference>[, EXCLUDE_NULL|INCLUDE_NULL][, INCLUDE_NODE_ID]. When select Result, I get this error: "An incorrect number of arguments are used in the function at line 3, column 3." I'm predicting a continuous variable. But when I delete everything except <Scalar column reference> I get this error: "Parser: The syntax for '<' is incorrect." When I delete everything in the criteria column, I get this: "Query execution failed." If I change the criteria to "<Scalar column reference>,INCLUDE_NULL, INCLUDE_NODE_ID" ...Show All
Windows Forms Problem connecting an event handler to IE in a Windows service
I'm trying to connect an event handler to the BeforeNavigate2 event of Internet Explorer. This works in a Windows app, but I can't get it to work in a Windows service. I get the following exception when I run the line "shellWindows = new SHDocVw.ShellWindowsClass();": Exception Details: System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e. Any ideas for resolving this error Thanks, Brijesh I too had the same problem. If you create a windows app and start it minimized and don't show it in the task bar (hidden) it works just as well. No one will be using IE if their not logged in. Y ...Show All
