J Bradley's Q&A profile
SQL Server Some users cannot view report in IE 6.0
Some users get the error The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. when they click on one of the reports in report manager. It does not seem to matter what user logs in. Thanks in advance for your help. It looks like a 401 error. Are you seeing this when ...Show All
SQL Server raw file source avoid bad data?
I want to have a data flow like this: 1. raw file source 2. validate data or conditional split 3. sql server destination there is some bad data in my raw file. by bad data I mean datetimes that are out of the range that sql server can handle. this should be simple right so debugging script components does not work nice. all the time I have wasted with integration services already. I could have hand writ ...Show All
SQL Server Running SSIS package
My boss want to close access to xp_cmdshell for any logins including sa. He afraid of possible fraud when somebody having sa login will be able to make operations on the company's network. In this situation (see above) I have two questions: 1. Is it possible to run SSIS package by SQL Job without corresponding utility 2. Is there any replacement of the osql.exe utility in order to run file containing sql script I mean may be SSIS ...Show All
SQL Server Microsoft.SqlServer.Management.Trace.TraceServer - Examples ?
I'm trying to find ANY examples of using the Microsoft.SqlServer.Management.Trace namespace. What I'm looking for is an example of being able to create and initialise a new trace, haing this processed on the Server, and then initializes some sort of traceReader against this. e.g the equivalent of: MyTraceConnection = new Something ("localhost"); MyTrace = new SqlTrace (CaptureTSQL || CaptureLogonEvent || CaptureLogoutEv ...Show All
Visual C# Threading Problem
For some reason i'm getting a Error MediaView.Form1 does not contain a Defintion for Thread.. namespace MediaView { using System.Threading; public partial class Form1 : Form { private Thread MediaThread = null; private BackgroundWork BackgroundWorker1; private void toolStripButton2_Click(object sender, EventArgs e) { this.Thread = new Thread(new ThreadStart(this.MediaThread)); this.MediaThread.Start(); } ...Show All
Visual C# Create a .swf file from a C# application
Hi, I know its possible to embed a .swf file in a C# application but I need to create a .swf file from scratch based on the user's choices in the application. I have code to do this in visual basic, but when I convert it to C# I get a .swf file that seems to hang the application when it is run. I've posted my code below; I'd appreciate it if someone could take a look at it and see where I'm going wrong. Thanks. Mau ...Show All
SQL Server what is [SQL-DMO]
in computer management, when i expand the branch of my sql2005 express, i got a error message. it seems i cant register my server, but i cant login in sqlcmd i also installed sql2000, and it works fine... could anybody help really strange This will never work. You need to use Management Studio (full or Express) to connect to SQL Server 2005. We have a bug file on our side to determine why the server is being registered. I ...Show All
Visual C# Console Application
I am making a console application, and the console application can only hold a certain amount of lines. Is there a property I can edit to fix this. And how would I make the WindowState maximized. You can use the Console.BufferHeight and Console.BufferWidth properties to set the buffer area, but this only works in .NET Framework version 2.0 or higher. If you are using .NET Framework 1.x you can use the SetConsoleScreenBufferSize from kernel3 ...Show All
Windows Forms Cross-Form data
Hello everyone, I would like to ask what is the best way to transfer data from one form to another. For example, I have form A that opens a modal form when the user performs a certain action. I would like to pass the value ente ...Show All
Visual C++ Modal dialog needs a parent - in another process!
I am attempting to host an MFC COM client in a dll surrogate. My application creates the host and the host creates the MFC based COM server. The COM server adds commands to my application. If one of the commands creates a modal dialog box, when DoModal is called, the dialog does not come up on top of my application window, which is what I want to happen (and is what happens if I am not using a surrogate host.) When a modal dialog is launched, ...Show All
Visual Studio 2008 (Pre-release) Accessibility of Window components
hi all, i have a window 'mainwindow', with its components in its xaml file. this window contains a textbox, which i want to access from another class. 'mainwindow' is initialized at program start, so i think there has to be an object of this class available for another class. but if i try to do something like this: mainwindow_textboxname.Text = "sometext"; i get the following error msg.: 'An object reference is required for ...Show All
Visual C++ Translating from VB into Visual C++ .NET 2005
How can I translate this code from VB .NET 2005 into VC++ .NET 2005 string htmlContent = webClient.DownloadString("http: //www.somewhere.com/somefile.txt"); That's C#. The C++/CLI equivalent is: String^ htmlContent = webClient.DownloadString(" http://www.somewhere.com/somefile.txt "); (Try out our C# to C++ converter: Instant C++) David Anton www.tangiblesoftwaresolutions.com Instant C#: VB.NET to C# Convert ...Show All
Visual C# GetCurrentMethod / reflection
How can I runtime see the name of the class and the method where the program is at a given time. public class TestClass { private void TestMethod() { console.write("You now in class: " + ); // must print You now in class: TestClass console.write("You now in method: " + ); // must print You now in method: testMethod } } Thx, Jim Jim, Use the GetCurrentMethod() method to ret ...Show All
.NET Development general configuration: runtime
This is not a developer question, and I am very sorry for posting unrelated, but I really have to ask for guidance and information as to how to configure the .NET runtime. There is nothing really either in the package itself or the MS Knowledge Base can can be used as a guide for proper configuration. Frankly, I'm just very confused, beyond having to have it to run certain applications. I am a self-employed technician that does PM and ...Show All
Visual Studio Express Editions How to include a .lib file in VC++ Win32 Console Application project.
How to include a .lib file in VC++ Win32 Console Application project. When i include the .lib file by include existing item,it shows matching custom build Rule not found. Willfin You have to add the lib in the linker opetions or just place a #pragma comment(lib,"libname.lib"); into your code! ...Show All
