Miroslav_shrek's Q&A profile
SQL Server SQL 2k5 Std. not installing, PA655502.CAB isn't found
Does anyone know where I might find this CAB file Where do I put so the installation can find it MSI (s) (58:F0) [16:59:30:375]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI56F.tmp, Entrypoint: StartCache Action start 16:59:30: StartCache. StartCache: Error 0x80070490: failed to get cabinet: PA655502.CAB StartCache: Error 0x80070490: failed to set state for cabinet: PA655502.CAB I originally posted my problem on 01/19/2007, look for that post if you'd like to see the complete log files. thanks, Wnz Hey Wnz, What's your setup media, are you installing from network share, locally copied cache or from CD can you goto the root of your installation folder, then goto Servers subfolder, then goto Setup, take ...Show All
Visual Basic Weeknumber
How do i get the weeknumber in Visual Basic 2005 Express edition Depends upon what you actually need. For all I know he could have been asking for the week number of the current month. Generic questions tend to result in generic answers. ;-) ...Show All
SQL Server DTS Package
I have created a DTS package that connects to the database fills a temp table with data based on my sql statement, generates a text file with the data in the temp table, and after the file is generated the temp table to truncated. The package has been added as a job to run daily, but the problem is sometimes the job will not generate data in the text file. I get an email with the file attached as soon as the job ends, and if i see that no data is in the file I run the package manually, and for what ever reason the file will then have data. Can someone tell me why the job will sometimes pull data, and sometimes not. But manualy running it will always pull data. Thanks in adavance for helping!! ...Show All
Visual C# foreach without Type
Hello, I have a collection and I want to iterate all elements in it. Example: string [] arr = new string [] { "A" , "B" , "C" }; foreach ( string s in arr) Console .WriteLine(s); in the example the element type is string, because the collection is array of strings. is there a way to do the same as foreach does, but without declaring the type. something like: foreach ( s in arr) Console .WriteLine(s); some how make the compiler know that the type is the collection's element type. Thanks. yes, I've heard something about the var stuff. Currently my application is deployed with .net framework 2.00, and it is not going to change for a while about object - ...Show All
Software Development for Windows Vista Windows Cardspace Control Panel applet crashes (RTM)
I have several development machines that I have been unable to get the RTM version of .NET 3.0 working on properly. Even after completely uninstalling the various pre-release CTP cardspace / infocard packages, if I make any changes (add / edit / delete a card), the applet crashes with an uncaught exception. Attempting to debug it in VS isn't much more helpful -- I get this error: System.ExecutionEngineException was unhandled Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in System.IdentityModel.Selectors.dll Is there some way to remove whatever Registry / files / settings / etc. are causing cardspace to crash This seems to be system-level as it occurs even with a newly created user account. ...Show All
SQL Server Allow reference to dynamically-created DataColumn from report--Help?
Hi everyone, I currently have a strongly-typed dataset that, in code, will expand tables according to relationships in that dataset in order to bind it to my ReportViewer. My problem now is whenever I try to run it, I get an error looking like the following: An error occurred during local report processing. The definition of the report 'Main Report' is invalid. The Value expression for the textbox `textbox15` refers to the field `Parent_FullName`. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data scope. The reason I'm dynamically creating this dataset on the fly is because I couldn't find how to do a one-to-one relationship (bind a column in one report ...Show All
Visual J# "Cannot find method" Control.Invoke Method (Delegate, Object[])
Hi everybody, I have a little problem and do not know how to solve it. I am trying to make cross-thread call to Windows Forms control. My code looks something like this. public delegate void AppendToTextArea ( String myString); public AppendToTextArea myDelegate; myDelegate = new AppendToTextArea (print); public void updateTextArea() { this.Invoke(this.myDelegate, new Object [] { "HELLO" }); } private void print( String s) { statusTextArea.AppendText(s); } The problem is that I always get a following error: Cannot find method 'Invoke(AppendToTextArea, Object[])' in 'ProtocolSimulator.SimulatorGUI'. Can you please help me solve ...Show All
Windows Forms Problem with Event-based Asynchronous Pattern sample code - form Not Responding
Hi, The sample code at: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxadvance/html/3c1aa4d4-da87-4a03-b812-3d167b8c57cf.htm that uses prime calculation to demonstrate the asynch pattern, appears to have a problem. Not sure where the problem lies - don't think it's in the asynch pattern. It may be the ListView. - in the PrimeNumberCalculatorMain form's InitializeComponent method change the buttonPanel to dockBottom and the ListView to dockFill, so that resizing the form resizes the ListView. - Run the app and start many threads (the more running the easier to lock the app) - resize the form up/down while the threads are running. Eventually the form will lock. Some time later the title bar will display N ...Show All
Visual Basic Compiler Error after Service Pack 2
Hi I have read that this is a problem for others Microsoft has said that we need to contact their support for a fix. We have waited 1 week for a response Can someone from Microsoft just post the damn fix. why the hell should we contact them for the fix and then wait. Error is below. Whats ridiculous is that it happened after installing the latest service pack for Vs2005 Visual Basic compiler is unable to recover from the following error: System Error &Hc0000005& (Visual Basic internal compiler error) Save your work and restart Visual Studio. So, jumping in with both feet, and in the interest of providing some transparency into our processes: The c0000005 error isn't just one i ...Show All
Visual C# Why ImageList can not dispose the image it contains?
It's strange that ImageList can not dispose the image it contains, when I invoke imagelist's dispose method. private void Form1_Load( object sender, EventArgs e) { ImageList images = new ImageList (); Image image = Image .FromFile( @"xxx\bookmark.png" ); images.Images.Add(image); images.Dispose(); this .pictureBox1.Image = images.Images[0]; } I have invoked imagelist's Dispose method, but the picturebox can still show the image in imagelist. Why ImageList _copies_ the image, it does not own a reference to the original image. If you want the original image to be disposed, dispose of it yourself. ...Show All
Visual Studio Syntax error when using Online MSDN
Hi, I have a problem with the Visual Studio 2005 help. Every page that loads i get a "line 1 syntax error" message box. It is DRIVING ME INSANE! I have tried to repair of the Document Explorer tool. I have looked for updates or KB articles and i can't find anything. I have tried turning off IE debugging but just the shape of the message box changes (and it doesn't ask me to debug), and the syntax error moves to line 2. A sample source for the page starts with XML so i thought that might be the cause but I am running the latest updates. Has anyone else had this problem Thanks in advance for any tips, Nathan Hi! I am having exactly the same problems. Just want to let you know that these problems ...Show All
SQL Server CREATE SCHEMA fails Inside an If Block
Hello All, The below "CREATE SCHEMA" sql statement fails if it is inside an IF block. It runs fine if i run it without the IF block... --------------------------------------------------------------------- IF NOT EXISTS ( SELECT * FROM sys.schemas WHERE name = N 'Customer' ) BEGIN CREATE SCHEMA Customer AUTHORIZATION [sys] END ---------------------------------------------------------------------- Did anyone encountered this issue before.... Thanks.. Thanks, Bushan. As the DDL scripts can grow bigger, I feel that it is hard to maintain dynamic sql. But, I was just trying to figure out why this is not possible in this "c ...Show All
.NET Development sql injection :: filtering datagridview
I use a textbox to filter my datagridview's binding source on keydown. I'm facing problems if the user enters apostrophes and other undesirable characters into the textbox. "Fred's furnace" is a data item that is available in the datagridview. But when I enter "Fred ' s" in the textbox search it causes an exception. Please can someone point me to a how-to in this case of avoiding sql injection. Thanks in advance. You should use parameterised queries rather than raw SQL statements: http://codebetter.com/blogs/david.hayden/archive/2006/01/05/136264.aspx http://www.codeproject.com/aspnet/SqlInjection.asp ...Show All
Software Development for Windows Vista Replace text in XPS documents
I'm trying to replace text in XPS documents and I've got nowhere. What we're trying to do is replace our old word templates that have bookmarks as placeholders; we use vb6 to replace the text where the bookmarks are. This is so users can create generic documents and merge them with our data from our database. We want to replace this as honestly the current solution isn't that good, but does work, so it's not all bad. I've created an XPS document with bookmarks, can't seem to figure out what makes a bookmark a bookmark in XPS. But really all we would need would be a placeholder like <Address> or <Name> or something and then replace that text with data. Can anyone help or at least point me in the right directi ...Show All
SQL Server System Variables in a SSIS package
hello all, I am having a hard time referenceing system variables. Can some one give me a quick lesson I am trying to save system variables suck as StartTime finishtime and processes ran I want to store these items into a table for use later. Thank you Jamie, I did end up changing the SQLSourceType to "Direct input" Still haveing some small problems, but I will figure them out. If I do I will post my results. Thank you again :) ...Show All
