SBoyd's Q&A profile
Visual C++ C++ CLI and Assembly signing
Hi, we are using a pfx file for signing our c# assemblies. Now we have also some C++/CLI (managed c++) assemblies. When I try to sign the assembly with our pfx file with the /keyfile linker switch - I get the following error: Error 1 fatal error LNK1256: ALINK operation failed (80090007) : Ungultige Anbieterversion TestDll when I use a snk file instead - everthing is ok. With our C# projects we have no problem signing with a pfx file. Any ideas Cheers, Franz Creating a new keypair solved the problem. sn -k KeyPair.snk I now use the same one for t ...Show All
Visual C++ OLE Automation Error
Hi Everyone, I have a COM object that is displaying an OLE Automation Error 0x8000FFFF Catastrophic Failure every now and then. Do you have any suggestions on how to debug it, and how can I catch the error so when I get this error I can exit it gracefully. I want to set an alert to SMS that the application has gone down, but with the dialog, the program doesn't actually exit until the alert displays and OK is selected. Thanks in advance, Julie. Do you have the source of the COM Project Be sure that you have matching pdb files created for the COM control. Just launch the program to repro the error. Attach the VS Debugger to this Pr ...Show All
Windows Live Developer Forums Clarification
So if i'm right, Microsoft is releasing MSN Messenger Activity API's for the protocol Good, in a way, but will Microsoft change they're licence to allow us to create applications (such as MSN Messenger Robots and 3rd Party MSN Messenger Clients) that will connect to the .NET Messenger Network , because if not, then this is really just for refrence.... Yes, although the protocol itself you don't have to worry about, which is part of the coolness of this. Yes, the idea is to allow more third-party apps. ...Show All
SQL Server Cannot Enable Remote Connections for AS 2005 on clustered instance
Hello SQL pros - I am having a problem with enabling the remote connections for Analysis Services 2005, Here's the gist.... --Error Information-- "To configure Analysis Services for Remote Connections, you must be an adminsitrator for Analysis Services Windows Service (SQLSAC). Additonal Info A connection cannot be made. Ensure that service is running (Microsoft.AnalysisServices) No connection could be made because the target machine actively refused it (System)." --Actions Taken-- 1) Analysis Services Windows Service was confirmed to be running. 2) Analysis Services Windows Service was stopped and restarted. 3) A ...Show All
Architecture Architecture question - how to store local copies of data on a server
My work order application needs to do the following: 1) User has a windows forms client on their laptop, PC, or even mobile client. 2) When they have an active connection, they can connect to a web service to view new tasks, mark the ones they want to download to their local machine, then disconnect. 3) They can then edit their local copies of these tasks, then re-synch with the server when they next have a connection. Reason being, they may often have to take work orders into the field where they will not have an internet connection. Question: How can I store these locally in a secure manner, i.e., in a format that I canno ...Show All
Visual Studio XPE - Remote debugging
I try to debug an application that is running in a Windows XP embedded system with visual studio 2005. I use remote debugging to debug it. I am able to start and debug the remote process by launching it with visual studio IDE. However, I cannot attach visual studio debugger to a currently running remote process. When I go in "Attach to Process..." dialog, the "available processes" list is empty. I choose "Remote (Native only with no authentification)" for the "Transport" option and I enter the ip address of the remote machine for the "Qualifier" option. Also, I check these check box : "check processes from ...Show All
Windows Forms prevent application closing
i have created a program but it is intended to be used constantly and so that means i have not included a means of closing the application. but the defaults that Windows uses are still available such as Alt+F4, Ctrl+Alt+Del, Alt+Tab. I want it so these are disabled by my program when it is run. also, i want the three buttons in the top&n ...Show All
.NET Development Error : execute reader requires an available open connection
Hi all, I have an error that occurs randomnly in my web application (it does not occur all the time) - execute reader requires an available open connection , the connections current state is closed. I have the connection string defined in web.config as <add key="ConnectionString" value="Server=Server1;database=db1;uid=sa;pwd=;pooling=false;"/> For Any help ,thanks in advance Why do you have pooling set to false The fact that it is random makes me think you should enable pooling. You can also try to check the connection state of the connection If connectionobject.State = Closed Then connectionobject.O ...Show All
Windows Forms ToolStrip ItemCliked Event is not raised when clicked if the form is not focused.
When a form is not focused and the toolstrip is clicked, its ItemClicked is not raised. I need to click the second time to cause this event. Looks like the first click get the form focused. Is it a standard behaviour or a bug. I don't see this behaviour in Infragistics's Toolstrip. ...Show All
Visual C# width % and px
I have my datagrid (ewb app) with 1 column not visible, then a column, then other columns of width=10px,10px,20px,20px. Datagrid is in <div style="OVERFLOW-Y: auto; WIDTH: 100%; HEIGHT: 100%;"> which is in a table... I want size 2nd column to fill remaining part. How Thx Your table need to have a width of 100%, the rest will follow. <table width="100%" border="1"> <tr> <td width="30px">a</td> <td>a</td> <td width="30px">a</td> <td width="30px">a</td> <td width="30px">a</td> </tr& ...Show All
.NET Development ASP.net File Upload
I am having an issue uploading a file to specified folder on my harddisk. I get an error saying that Asp.net does not have access to write in this folder. I add the permissions to the folder and then remove the "read-only" designation from the folder. When I close explorer and look at the properties again, "read-only" is again checked. How can I get my changes to stick so I can allow ASP.net (1.1) to write to the given folder Firstly, do you have Privledges in your Windows account to allow you to write to disk Secondly, I think you need to add the permission for the ASP NET user on th ...Show All
Windows Forms Hosting an Windows Forms Control inside an MFC CView or CWindow
Is this possible without using the ActiveX control wrapper I want ot do this: 1.) recompile the MFC code as managed code. 2.) instantiate the windows forms control inside the CView code somehow. 3.) use it as any other windows control in the CView. Kind regards, ~~~~~~~~~~~~~~~~~~~~~~ A l e x a n d e r K l i n s k y Software Deve ...Show All
Visual Studio 2008 (Pre-release) Missing ORM Features
Hi, Been playing with the preview and saw in the doco that mapping inheritence is not supported. This is fundamental to an ORM. Without it polymorphic queries are not possible. Not only this, but all ORMs I've worked with (Persistence, TopLink, Versant, Hibernate, NHibernate) support the standard 3 ways of mapping inheritence to a relational model. This is equally important because alot of legacy schemas out there use a combination of these. IMHO DLinq is useless in any real business application without this. Whats the status regarding this one I hope it's one of your higher priority features. Another question I have is the need to ...Show All
Visual Studio VSS Internet Checkout Errors for 2 projects
Hi, I have setup my VSS to use the http feature. I have a solution with 5 projects and 2 websites. I can checkin the projects, websites, solution everything in VSS properly. When I try to open the solution and projects from VSS again it loads 5 projects and 1 website properly but for the second website it gives me following error. Error: Cannot contact the Visual SourceSafe Internet WebService or cannot access the specified database. The server returned the following error: The operation timed out (0x80072EE2) The plug-in advanced settings for SourceSafe Internet require SSL connections. Please verify that your server can be a ...Show All
SQL Server RDA pull problem
Hi, I am new to SQL Mobile programming. I am using SQL Server 2005 Mobile and SQL Express. I have a mobile windows application + .sdf file in the PDA. When i try to pull the table the first time, the table is successfully retrieved to PDA. When i try to pull the table again, i get the following error: "An unexpected error has occured in TestDb.exe. Select quit and then restart this program, or sleect details for more information. A duplicate value cannot be inserted into aunique index. [table Name=_sysRDASubscriptions, constraint name=c_LocalTableName] " The above message indicates, that the table is existing in "_sysRD ...Show All
