Nkomo's Q&A profile
SQL Server FTP bad password
I'm trying to make an ftp task. I am able to make the connection manager. When I test the connection it works fine. When I set up the ftp task I am able to browse to the ftp site and select the file I want to download. However, when I run the task I get the following error: An error occurred in the requested FTP operation. Detailed error description: The password was not allowed I have no idea why the password wouldn't be allowed when it let me browse the ftp previously. Thanks i was having the same problem. Actually I changed the Security->ProtectionLevel for the package to DontSaveSensitive, and then this problem started happening ""the password was not allowed". I reverted the ch ...Show All
SQL Server Unable to Access HTTP Endpoints from C# application when using Integrated security
I hope you can help me to solve my issue. I created an endpoint and have an application to consume the methods from endpoint. Every thing work fine when i use the Impersonation with specific user id and password. In other words i am using Authrentication method = windows and Impersonate = true, user id = "[DOMAIN\userid]" password = "password" in web.config. But this is not the way i want to use endpoints in my application. I want to make it work without any user id and password in Impersonate section of web.config. The end points must be accessible to user using their own credentials. By the way i am using Authentication = (Integrated) in Endpoint definition and the same in IIS. In my .net application i am using proxy.Credentiats = Syst ...Show All
SQL Server Connecting to Remote SQL Server
Hi all, I have been encountering problems in connectiing to an sql server remotely. I have a SQL Server installed on a machine with a public IP. I am, running an application on one of my other Servers having a Public IP as well. Now i want to access the SQL Server Database of my first machine from my second machine, but i cannot get connected to it. I give the IP address of the machine in the connection string but it fails. I have also tried it with the port number. What could possibly be the solution for a problem like this Regards. Hi there, Maybe It caused by your windows firewall ! the initial status of Windows Firewall is on. Check the status by turning off your windows firewall on ...Show All
Smart Device Development What kind of server required?
I am a newbie in WM5 application. I have a problem: My company needs me to setup an application so that the smartphone can constantly access the server and retrieve data... I have explored many about WM5, but it said little about the system archeticture... I may need to retrieve data from database and file... What kind of server do I need Is Microsoft Server 2003 suitable Do I need to install IIS Is Web Service the only method for the mobile to retrieve data from server What hardware / software I need to pay attention Pls advice... I have been hunting this for weeks but seldom found... Foor the smartphone data interaction the most appropriate solution indeed would be using web services (there are ...Show All
.NET Development Sending Chr values to connect to a server
Hello I am in need of some help, im creating a chat client for my personal use and having a bit of trouble with the connection and what not. To connect: IP of server, Port of server I know how to set up all that and what not but here is my problem Imports System.Net Imports System.Text Imports System.Net.Sockets Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Sock As New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) Sock.Connect(IP.Text, Port.text) End Sub ----------------------------------- This is what I have to send to connect to the server 42 00 02 62 C7 85 C7 16 70 1A ...Show All
SQL Server merge agent not started - Start Synchronizing disabled
i'm running a SQL Server 2000 SP42000.8.00.2039, developer. i'm trying to setup a merge replication between the default istance and a named one of the same machine, using the same domain account for both publisher and subscriber. when it comes to "start synchronizing" (right click on the subscriber merge agent), i found it disabled, just like it is running, but it is not (the icon shows a stop sign, even refreshing.) The state is "disactivated". When i stop sync and start it again things don't change. If i setup a "pull" subscription, i get a sequence of a message like "interface not supported" (a translation from italian "Interfaccia non supportata"): after 10 attempts, it stops. i cannot ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Include Directories on VISTA write protected
Hi, I have a strange problem here. I can not remove the write protection of the include files of the DX December SDK under VISTA ... is that the expected result or do I anything substantially wrong I know how to remove the read only attribute ... I can repeat this as often as I want they seem to stay write-protected == read-only. Thanks for your help, - Wolfgang i have the same problem i cant write, i can copy files but i cant move them also (obviously) help! thanks ant ...Show All
Visual Studio Express Editions Update dataset structure
I modified the column structure of my database. This update is reflected OK in the database explorer. But it is not represented in the dataset designer. My program seems to think the old column structure is still in place. How can I update the column structure ty! ...Show All
Visual C++ Existing MFC app. Switching from ODBC to OLE DB. ATL or MFC? Can I mix?
I have an existing MFC app in which I connect to a VFP database using ODBC. Since VFP no longer supports ODBC, I am switching to OLE DB for the connection. Should I be using MFC or ATL to implement this interface Can I mix ATL classes in my MFC application The MSDN library has the following comments that I don't understand: The following example assumes that you are adding OLE DB consumer support to an existing ATL project. If you want to add OLE DB consumer support to an MFC application, you should run the MFC Application Wizard, which creates all the support necessary and invokes MFC routines necessary to execute the application . When I originally created this APP I did run the MFC Application Wizard at that time. B ...Show All
Windows Forms SaveFileDialog how to use?
I have a richtextbox1 on a child form inwhich I write a small bit of text in. I then want to save the text from this richtextbox into a .txt file. I have got the saveDialog menu at the bottom of my screen But I am unsure how to correctly make this all work. I know there should be some dialog.filter and index for txt files code somewhere but I dont know where. The code i have done so far is :- private void saveToolStripMenuItem_Click( object sender, EventArgs e) { DialogResult dr = saveFileDialog1.ShowDialog(); if (dr != DialogResult .OK) return ; else { StreamWriter sw = new StreamWriter ( "filename" ); sw.Write( ); //What should I put in the Write function } } Also is ope ...Show All
Visual Studio Tools for Office Outlook Addon - MessageBox not displaying in the current active window.
I have created an Outlook add on which performs actions when the ItemSend mail event occurs. I have a confirm dialog box that pops up. 1) If the e-mail message is open on my secondary monitor the messagebox will display on monitor 1. 2) If the e-mail message is open on my primary monitor the messagebox will be displayed BEHIND the message window. I suspect the problem is that I need to pass the MessageBox the parent window to be displayed in. Just I don't know how to go about doing that. At the moment all I have is: MessageBox.Show("Hello World"); Thanks. Thanks guys. That looks like what I am after. I kind of knew why the problem was happening just didn't have a clue at how to fix it. I will tak ...Show All
Visual C++ C++ interop LNK1120 LNK2019 LNK2028 errors
I am creating a wrapper for a C++ class to be access by C#; I am using C++ Interop to do. This is the method defined in C++: ========================================================== int fnInitialize(const wchar_t* pczModule, const wchar_t* pczFunction, const wchar_t* pcsUserName) { // Convert to a char* char *pmbbuf = (char *)malloc( MB_CUR_MAX ); wcstombs( pmbbuf, pczModule, MB_CUR_MAX ); if (pmbbuf == "module") return 0; else return -1; } =========================================================== Then I have this method in C++ Interop: =========================================================== int CInteropManaged::fnInitialize(String^ module, String^ function, String^ userName) { IntPtr pModulePtr = M ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Image Ghosting & ContentManager questions- BETA 2 issue...
I have an issue with the BETA 2. I am migrating my Slime Volleyball code (see my site: http://www.codeplex.com/Wiki/View.aspx ProjectName=SlimeVolleyXNA ) over to the BETA 2 framework. I seem to have an issue with the drawing code. In the old version I had a Slime class that handled a Slime. It drew itself using a Spritebatch in that class (this meant >1 SpriteBatches). I used to have the Slime load it's texture file in the Slime constructor. Now we have to used the ContentManager. This is a little confusing to me. Should I have a ContentManager for each Sprite (Slime and other) or should I pass the default (in Game1.cs) ContentManager to each new Sprite. I have tried this approach but I have a slight image ghostin ...Show All
Visual Studio Express Editions Creating Open - Save File menu
I am trying to figure out how to make a menu for saving & opening a file that my program has created. I coded the program to always open the same file but I want to be able to save records to other file as needed & not quit sure how to go about this any help would be great ty was kind of what i was looking for but i went a different route, just having a problem with the Open mdb i used a try catch statement in the app to get the Save menu working now to get it to save as a certain file. Example of what I used: try { objSaveFileDialog.FileName = "Database Backup" ; if (objSaveFileDialog.ShowDialog() == DialogResult .Cancel) ...Show All
Visual Studio Express Editions Delegate, Invoke/beginInvoke. How it works.
Could anybody please tell me exactly what is going on with delegates and Invoke/BeginInvoke. It is easy to make these functions work, but the explanations in the help files are so cryptically, that you may question whether the author of the help files actually knows what is going on! According to the help files, BeginInvoke executes a delegate asynchronously on the thread that the control's underlying handle was created on! I have been working with microcomputers since Intel 4004 and used multitasking when Microsoft was still in the DOS days, but this explanation is simply too cryptically. First of all, as I understand it, a delegate is a type-safe pointer, but a pointer is not executed - at least not in my terms. Subroutines are execut ...Show All
