Software Development Network Logo
  • Visual C#
  • VS Team System
  • Visual FoxPro
  • Visual Basic
  • SQL Server
  • Audio and Video
  • Game Technologies
  • Visual C++
  • Visual Studio
  • Windows Forms
  • Microsoft ISV
  • Windows Vista
  • IE Development
  • Smart Devicet
  • SharePoint Products

Software Development Network >> em325409's Q&A profile

em325409

Member List

Logan1337
LeeM
Rumy......
Paul Martin
Basani
Gordonn
KatyG
Rafer
ShadowRayz
jprovchy
ku19832001
glx2074
vkkv
Novelle
Chad Campbell
vdv_phuong
magicalclick
Sudheer George
Wee Bubba
ZhenYuan
Only Title

em325409's Q&A profile

  • .NET Development Kerberos WSE 2 Error

    Ive been doing a .net 2 web service which is secured with WSE 2 SP3 using kerberos tokens, when i call the service i get the following error message. System.Web.Services.Protocols.SoapHeaderException: System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.Security.SecurityException: The handle for the current process could not be retrieved. The OpenProcessToken call returned the following error code: 0. at Microsoft.Web.Services2.Security.Tokens.Kerberos.LsaServerContext.AddTcbPrivilege() at Microsoft.Web.Services2.Security.Tokens.Kerberos.LsaServerContext.LogonUser(Byte[] inToken) at Microsoft.Web.Services2.Security.Tokens.Kerberos.LsaServerContext..ctor(Byte[] inToken) at Microsoft.W ...Show All

  • .NET Development BackgroundWorker InvalidOperationException

    Hi folks, I'm trying to put together my first usage of BackgroundWorker. The problem is that the compiler is throwing the following exception in Debug mode: A first chance exception of type 'System.InvalidOperationException' occurred in System.dll Once that happens, no code after ReportProgress runs (the Debug::WriteLine() func does not execute). The exception is being thrown anytime I try to call the Worker's Report-Progress method from within its Do-Work method. My Do-Work method is as follows: void backgroundWorkerFolderAnalysis_DoWork( Object^ sender, DoWorkEventArgs^ e ) { BackgroundWorker^ bgWorker = dynamic_cast <BackgroundWorker^>(sender); bgWorker->ReportProgress(0); Debug::WriteLine("Poin ...Show All

  • Software Development for Windows Vista Composit Activity Problem

    Hiya I have a couple of composite activities with several child activities that build fine with no errors or warnings that won't appear in the toolbox. One of them I have actually used in a workflow (because it used to appear) and the code hasn't been changed. I'm wondering if any automatic updates could be effecting them as they stopped appearing about the time we installed updates. I can get the activities to appear in my own toolbox in the rehosted designer but it wont let me use it. Does anyone have any ideas Hiya Elif Ok, I have tried that and it still doesn't work. Thanks for trying though :) The CodeBefore and Code After are infact in the same namespace and cs file as the LsmParallel class and strangely enough the ...Show All

  • SQL Server dtexec over the network

    Hi All, I'm trying to execute DTExec from a workstation and I got some help from a different group without luck maybe someone here can help me. This is what I try so far. 1. My package run in command line from my sql box using dtexec with parameters. 2. Set the package with DontSaveSensitive and import into IS under MSDB with the same option setup. 3. Set package role to public. 4. Share DTS folder with everyone permission just for testing. 5. Execute the package from a workstation using //sqlServerbox/DTS/BINN/dtexec /dts "msdb/mypackage" /SER "MySQLServer" /set \package.variables[myvariable].Value;"myvalue1,myvalue2" (myvariable is string and I can pass multiple values separate by commas) 6. Still g ...Show All

  • Gadgets This is not a valid gadget package!! grr!

    hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards Hi nickwilliams , This could be the same problem i'm having I made a gadget -- submited it to gallery, and they accepted it, it worked fine, 100 people downloaded it. I then decided to update it a little, all i added was the following line in the code.js file: System.Gadget.background = "url(bgB.png)"; I pack it back up, no changes to the gadget.xml or page.html (which basicly me ...Show All

  • SharePoint Products and Technologies Getting Access denied when nav to the Shared Service instance

    I created a Shared Service on my server a few days ago using the local administrator account. I have since created a separate Windows account (belongs to the Administrators group) for myself to use. I'm able to do everything in the Central Administration site but accessing this instance of Shared Serviced created a few days ago. What specific access rights does it need My windows account is in the Farm Administrators group too. Thanks a lot Kiral. That fixed the problem for me. It really makes sense since a new top level site wouldn't know what accounts need to be in the admin group other than the account creating it. ...Show All

  • Visual Basic Get menu item text from contextmenustrip

    I have created an app with a contextmenustrip attached to a notifyicon. The menu is generated dynamically by enumerating my servers in AD.Menu items are added this way: ContextMenuStrip1.Items.Add(Name) What i now want to do is click on the notifyicon, select a server name and execute an action like this: Private Sub toolStripItem1_Click( ByVal sender As Object , ByVal args As EventArgs) Handles ContextMenuStrip1.Click     Try           Dim psi As New ProcessStartInfo           psi.RedirectStandardOutput = True           psi.UseShellExecute = False &n ...Show All

  • Windows Forms About FileSystemWatcher

    hi to all.. my question is about the style of work of a FileSystemWatcher.. i mean how it does work when only one or all of the files have changed and for example while i am watching 50 .doc files in a folder and 20 of them are changed by different users how can i do some changes on only the changed files. if using a for loop how can i determine the number of the changed files. how can i do that So using the example // Define the event handlers. private static void OnChanged(object source, FileSystemEventArgs e) { // Specify what is done when a file is changed, created, or deleted. Console.WriteLine("File: " + e.FullPath + " " + e.ChangeType ...Show All

  • Software Development for Windows Vista R/W into SmartCard (USB reader) in Windows Vista using winscard.dll and cardmod.h

    Hi Folks, Recently I started working on a smart Card related project. I created a small application that does R/W using methods in winscard.dll and some methods from cardmod.h. The code is in C#. So, I created another unmanaged dll to use the methods from cardmod.h and then using that dll in my c# code using DLLImport. It all works fine in Windows XP. But when I run the same app on windows vista it fails on the very first call of "SCardEstablishContext" and the method call returns "2" instead of "0". What's going on here with windows vista Its the same smart-card, same reader its all the same. But still it doesnt work in vista. Is there anything extra that I need to do This is an urgent request ...Show All

  • Visual C# Change Default Project folder

    Hi All, When i create a Project using VS2005, by default a folder with the namespace gets created. for e.g. When i create a project with name Test.Test1.Test2.csproj and namespaceTest.Test1.Test2 under C:\MyProjects\ A folder with name Test.Test1.Test2 gets created, How can i avoid this i want to create the project as C:\MyProjects\Test\Test.Test1.Test2.csproj Any pointers would be great. Apologies if this is wrong category. Thanks, Swarup Hi, When creating a new project, you need to specify C:\MyProjects\Test\ as folder to save your project. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • SQL Server Date out of range?!

    Greetings! I have a data source that gets generated based on a variable with the following SQL : "select * from result where deletion_ind = 1 and when_deleted >= '" + (dt_str, 50, 1252) @[User::Last_Run_Date] + "'" But when I run my package I get an error message saying: The conversion of CHAR to DATETIME resulted in a DATETIME value out of range The Last_Run_Date variable is set to '2006-06-25 14:35:05.450' When I run the code in a QA session it works, but in the package it complains! What am I doing wrong Thanks for your help in advance. Hi Jamie, I am not quite sure how to use profiler for this problem. I have a data source coming from SQL Server 6.5. The data source i ...Show All

  • Software Development for Windows Vista Serious design flaw in HandleExternalEventActivity?

    To set up the subscription for events from a custom service, CallExternalEventActivity registers with the CorrelationService, and calls the specified method on the custom service to create the event subscription. When an event is raised by the custom service, it is handled by the HandleExternalEventActivity. When this activity is unsubscribed, it cleans up its own subscription with the CorrelationService, but it provides no means for the subscription with the custom service to be cleaned up, as there are no overridable unsubscribe method. This means that subscriptions cannot be manually removed from custom services! I appreciate that for once only guaranteed events, such as the CorrelatedLocalService sample this isn't a problem as ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. So how does this (non)commercial business work?

    Can anyone please enlighten me on how this all will work. How I see it, there are two points for having XNA. 1. To let gamers make Xbox 360 non-commercial games freely to play on their own consoles. 2. To let gamers make Xbox 360 commercial games that they may transfer over live. But can we sell these games & start a business And where do our limits end & then begin again with Pro I have been trying to start a video game business for years now, working with teams and software, and Microsoft XNA can be a new pedestal for my team and business.   Thanks in advance. So, as of now, I can not sell any games I make Pity, I have found other engines for computers out there but I ...Show All

  • SQL Server snapshot replication and schema change on sql server 2000

    can a sql server 2000 snapshot replication solution handle a schema change. as far as i know i can't drop a table involved in replication ...Show All

  • .NET Development Debug interfaces in real time

    I am thinking of using debugging interfaces to provide flexible diagnostic extensibility to an application running in production. This involves having application to instantiate the debugging interfaces internally and define some breakpoints that will be hit as the application executes (I read about separate debugger thread in 2.0). The code inside the breakpoint will then do some diagnostic activity and let the application go until the next breakpoint is hit. So this is kind of applicaiton debugging itself in its own process at certain points of its execution. Do you think using the debugging interfaces will even be feasible to produce something like this And that it will be stable and have little performance degradation compared to un ...Show All

©2008 Software Development Network