Dotnet Junkie's Q&A profile
SQL Server SQL 2005 Developer edition fails during installation
When trying to install SQL 2005, I keep getting the foll. error: Error 1706. Setup cannot find the required files. Check your connection to the network or CD-Rom drive. For other potential soltions to this problem, see C:\Program ....\1033\setup.chm I have tried using two different DVDs, and also downloaded SQL 2005 from msdn, but none of them work. Can some please help. Thanks, Amir acharania@trimontrea.com Amir, Try copying all files from the DVD to a folder on your "hard" disks and install from there. MikeC ...Show All
SQL Server How to View a Scheduled Job?
Silly question from a Beginner! I have created two jobs in enterprise manager using Tools - Job Scheduling. The jobs are working at the scheduled times, however I want to view one of them in order to check I haven't missed anything. How do I do this Hi there, In Enterprise Manager expand the nodes on the left hand side of the screen like this: Console Root > Microsoft SQL Servers > SQL Server Groups (May be diff for you if you created your own group) > Server Name > Management > SQL Server Agent > Jobs Click on the "Jobs" node and a list of jobs will display in Enterprise Manager. To se ...Show All
Smart Device Development Visual Studio 2005 Downloads ("Deployment")
Deployment to my target fails unless I first manually delete the previously deployed exe/dll on the target. How to avoid this What is the exact error message you are receiving from the deployment Short of the files being in use by a process, or out of memory on the device, we normally don't see any deployment errors like you describe. ...Show All
SQL Server Replication Questions???
Hi, I'm having a headache with the following questions weavering around...Hope that someone can help me with the answers. 1) I've implemented a immediate updating transactional replication on 2 servers. The loopback detection is also set to true. Under normal circumstances, when there is an transaction at the subscriber, it should be replicated to the publisher. However, this was not the case here. There were some transaction in the subscriber, but they were not replicated to the publisher. Is it because of the "loopback detection" option 2) If a bi-directional transaction is to be implemented as according to the BOL, the ...Show All
Visual Studio Express Editions How to Specify Form Location when Maximized
Hello, I have a single form that starts up in the Normal State and StartPostion set to Manual. When the user clicks on the Maximize button, I would like to specify the location the form, instead of the upper left corner. Is this possible Thanks, steve Hi Steve, I'm assuming what you mean is "when the form is maximized and the user clicks on the Maximize button", otherwise clicking the Maximize button causes the form to fill the screen. If the form is already maximized, clicking the button restores it to its previous size and location - this is the default Windows behavior. If you haven't explicitly ...Show All
Windows Forms initial timer event throws error when trying to rebind datagrid
I'm using a System.Timers.Timer to refresh a view in a datagrid On the first refresh I ALWAYS get this error Column 'firstName' does not belong to table responses. I'm just assigning a DataTable to the datasource of the datagrid. details 1) I have a refresh button who's click event runs the EXACT SAME code as the Elapsed event on the timer. The refresh button NEVER throws this error 2) After the first refresh this error no longer comes up. It keeps refershing without incident The error seems to be thrown in the paint event of the datagrid is as much as I can tell. any ideas I'm just curious what's so different about t ...Show All
Visual C# Is there a way to create a exe from an exe in C# ?
I'm fairly new to C# and wanted to ask if anyone knew if it was possible to create an executable from the exectuable made in C#. Basically I want to make a configuration application that will make an executable based on the configurations made by the config app. It's for a application I'm working on that will allow the client app to talk to a custom built content mangement system. The point is to have a dynamic way to create the client app based upon the configurations of the user. It's kind of hard to explain but yeah. I was able to do this in visual basic 6 but I wanted to know before I get started if this was possible to do in C#. ...Show All
Visual Basic reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2005 this is possible using dim sContents as string = My.Computer.Filesystem.ReadAllText("c:\foo.txt") the next is to be able to find a match on your textbox entry you can use the instr meth ...Show All
SQL Server Variables - Changing Scope Once created
If I have created variable and have written expression etc and then I have realised that I have created it in the wrong place. For example I have created the variable inside Package scope instead of Foreach Loop scope. Yes I know it is my mistake. Do you think it would be nice to have a feature to change the scope from Package to Foreach Loop Maybe a drop down list I am sure there is a reason behind why it was done like this. I would appreciate if anyone can shed some light Or maybe there is a way it could be changed Thanks Sutha Thanks for logging the bug Sutha. I've placed it in the v.next bucket for consideration in the next r ...Show All
.NET Development can't launch the MFC application on AMD64 operating system.
Hi, I have ported an application from 32 to 64 bit and trying to run on AMD64 OS but it prompts a follwing system error. " Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. " system error code for this message is 14001. Also, Windows event viewer displays the following message "Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system." Is it the problem with 64SDK version or 64bit WinXP version.Currently, I h ...Show All
Visual C# Create Web-Based Comments from VS.NET 2005
I had one of the earlier versions of VS.NET and I could have sworn that when I was writing C# code, I was able to not only generate the XML file from my code's comments, but also the web pages. After a layoff of a couple years, I'm writing VB code in VS.NET 2005 and I've been able to generate the XML file but I can't find anywhere that tells me how to automate making the web pages. Does this functionality exist Thanks for any help in advance. I believe there's a third party tool which is free and which generates web docs ( which basically just means running an XSLT if you think about it ). I don't belie ...Show All
.NET Development Namespace ???
using System.Data.OleBb does it have the same functionality that comes with the namespace System.Data.SqlClient or if i used OleDbCommand property will i flag an error from the compiler Yes, WebServices need a WebServer which is IIS for v1.0/v1.1. So you need Windows XP Professional with IIS installed. For SQL Query Analyzer, you need SQL Server installer. You can download a trial version of SQL Server 2000 here: http://www.microsoft.com/sql/evaluation/trial/privacy.mspx Query Analyzer is part of the Client tools. Regards, Vikram ...Show All
.NET Development Additional information: No connection could be made because the target machine actively refused it
Hello, I am currently getting this error when attempting to instantiate and remote object. Currently, everything is located locally. Here is a code snippet to further explain. The highlighted code is where the error occurs. Can anyone help Thanks =========================================== namespace ResumeClient { public class ResumeClient { public static void Main( string [] args) { ChannelServices.RegisterChannel( new TcpClientChannel()); ResumeLoader loader = (ResumeLoader)Activator.GetObject( typeof (ResumeLoader), "tcp://localhost:9932/ResumeLoader"); if (loader== null ) { Console.WriteLine("Unable to get remote ...Show All
Visual Studio Team System Printing Reports from within Team Explorer
We are trying to print reports from within Team Explorer and get the following error: Print Error: "An error occured trying to get the current window." After clicking ok on that error, we get an Internet Explorer Script Error that says: "Could not complete the operation due to error 8007f305." If I go out to the report server and print the report, it prints just fine. It is only when I am trying to print from Team Explorer. Anyone have any ideas This is a known issue(I looked up the bug in our internal TFS) and the work around as you pointed out is to print the rep ...Show All
SQL Server Error attempting to import from Excel
Here is the error: TITLE: SQL Server Import and Export Wizard ------------------------------ An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. ------------------------------ ADDITIONAL INFORMATION: Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ The connection type "EXCEL" specified for connection manager "{55E5636D-F2A9-48D6-9723-867C9F241F5B}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Ch ...Show All
