Philip Jaques's Q&A profile
SQL Server Login failed, user is not associated with a trusted SQL Server connection
I set up SQL Express and Visual Studio Team System for the first time yesterday. I created a web service (on my localhost IIS) and added an MDF file to my App_Data folder. I added a table with five fields. I'm trying to connect to the database in my web service, but when my web service gets to the connection line it returns the error System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection. When I add in my domain name and password to the connection string I get the error System.Data.SqlClient.SqlException: Login failed for user 'redmond\danmor'. The user is not associated with a trusted SQL Server connection. I've queried these SQL forums, and the advice is u ...Show All
Visual C# ManagementScope.Connect taking 20 seconds
In the code listed below, I am attempting to do a ManagmentScope.Connect to do a WMI query on a remote machine. While this connect only takes milliseconds on most machines on others it takes up to 20 seconds. One the ones that it takes 20 seconds on I recieve the following error: ERROR: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) I am OK with the failure, but I cannot have the failure taking 20 seconds to return control back. I attempted to set the ManagementScope.Options.Timeout value to 500 milliseconds but still doesn't return back control for 20 seconds. Any help would be greatly appriciated! Vincent Fournier public string GetW32_Compute ...Show All
Visual Studio Team System Is Team Edition for Developement has web application support
Does Team Addition for Developement has Web application Support. Can we create and deploy Web Applications from Team Addition for Software Developement. Yes it is possible. All the Team Editions are built on top of VS2005 professional so all the editions have that functionality built in. What you cannot do is create webtests from the developer edition. For that you need Tester Edition. ...Show All
Windows Forms WebBrowser - setting value for "type=file"
I'm using the VS 2005 control System.Windows.Forms.WebBrowser. I want to be able to set the value for a text area that indicates a file to be uploaded, where type=file HTMLInputElementClass iElement = (HTMLInputElementClass)element.DomElement; if (iElement.type.ToLower() == "file") { if (iElement.name == name) { iElement.value = text; Application.DoEvents(); ok = true; break; } } iElement.value is still null after the assignment. Help. Right,it's a security limitation,preventing someone from setting the value of the file input, hiding the element an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MathHelper - Trig methods, fast float math
I think it would be helpful if MathHelper had a performant set of trig methods that work directly with floats, rather than having to use System.Math, which works with doubles. Also, does the x86 build of .NET Framework 2.0 optimize math on the float type using processor capabilities such as MMX or SIMD If not, this would be nice to see optimized float math functions as a feature of the MathHelper class as well. I would post this in XNA feedback, but it appears to be down at the moment. ...Show All
Visual Basic Checking if drive exist
I got a few questions, maybe you might be able to help. I am needing to design a program that will check for a problem with another pc in my local network. We are not running a server type enviroment, but just a simple peer to peer platform. Any how on to the problem, We use one pc to act as a server, and the hard drives use a raid controller using 1(mirror). We ran into a snaffou yesterday, because no one in that building monitors thier pc's, they just use them, anyhow the raid broke and created 2 independent drives with the same shared folders, and the drive windows decided was bad wasnt the right drive, it renamed the volume and took everyone back to fridays data that resided on the drive that windows thought was bad. Anyhow ...Show All
Visual Studio Custom Guidance Package - Auto enable WCF Gudiance Package?
Greetings! When I create a WCF Software Factory Project, several projects are created. One of the projects, for example, WCFService1.DataContracts provides a right click menu that says: “Service Factory” on it. I’m creating a custom guidance package and would like to enable WCF in it to allow for similar functionality. After inspecting the resulting project from the WCF factory, I notice the following tag: <ProjectExtensions> <VisualStudio> <UserProperties IsWCFDataContractsProject="True" /> </VisualStudio> </ProjectExtensions> Adding that to my own project file in the guidance package solution does not enable this menu, any suggestions on how to gain access to WCF though ...Show All
Windows Forms Uninstall custom action
Hi, How can I identify in uninstall log file, that custom action for uninstall was performed What can be reaseon that my custom uninstall action wasn't performed My uninstall custom action is following Visual Basic Script stored in file startsh.vbs: Set WshShell = CreateObject( "WScript.Shell" ) WshShell.Run """" & Property ( "CustomActionData" ) & """" ,7, False Set WshShell = Nothing ---- CustomActionData is: [TARGETDIR]deleteShortcuts.vbs startsh.vbs and deleteShortcuts.vbs are installed in [TARGETDIR] folder and property "Permanent" is True. Thanks It doesn't work because TARGETDIR is not valid during a ...Show All
Visual Studio Micrsoft Visual Studio 2005 Beta 2 ToolBox integration
We have developed a Microsoft .NET Control library on .NET 1.1. We have added an installer to integrate that library into the Visual Studio 2003 ToolBox. This all works great. Now we are expanding this installer to make it possible to integrate into Microsoft Visual Studio 2005 (Beta 2 at this point), but we cannot add the actual controls to a Tab in the ToolBox. To illustrate the problem, I have created a simple solution in Visual Studio 2003. This solution contains 2 projects: VisualStudioTest and VisualStudioTestControlLibrary. VisualStudioTest is a Windows Forms Application that can add the VisualStudioControlLibrary to Visual Studio 2003 and 2005.The Visual Studio 2003 code works. The Visual Studio 2005 code creates a tab, but does n ...Show All
SQL Server SQL Server Management Studio Express will no longer start
I used to have both SQL Server 2005 Express and SQL Server Management Studio Express up running just fine until I installed (removed SQL 2005 Express) SQL Server 2005 for Developers and re-installed SQL Server Management Studio Express - now, SQL Server 2005 for Developers works, but I can not start SQL Server Management Studio Express No error messages, simply nothing happens when I execute ssmsee.exe. Should I be using a different version of Studio Thanks, Tor On the official media just install the client Tools, that includes the SSMS. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms Handling control non-client area in the designer
I have created a control derived from UserControl, where I am drawing a border in the non-client area. The designer for this control is derived from ControlDesigner. I have two problems when dragging/moving this control around the design surface. 1) I don't receive any WM_NCPAINT message while the control is being dragged, so my border is not painted. 2) When the mouse down to start the drag is in the non-client area, it is ignored by the designer. Is there any way to get around these problems other than re-implementing dragging in the designer or moving my border into the client area Joey, My wndproc is pretty much the same as the code already posted here: http://forums.microsoft.com/MSD ...Show All
Microsoft ISV Community Center Forums build a matrix
Hi all, I would like to create a 2x4 matrix but I can't make it work. This is how I like the matrix to be [LHS_X, ForceX, DispX, StiffX LHS_Z, ForceZ, DispZ, StiffZ] The first value on every row is a string (LHS_X and LHS_Z). The rest(Force, Disp and Stiff) is each a single value. How should I declare the Array to get this function I would also later need a similar matrix but then will the Force Disp and Stiff be arrays. How will this differ from the first one Grateful for help \Jonas ...Show All
.NET Development Access database.
Hi! How do i access an MS Access database from .net /Jimmy What connectionString should be used for MS Access I allways get an error telling that the Provider keyword is wrong /Jimmy ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A real newbie - character creation troubles
Hi all, I am just starting out in the game/graphic programming world. I am trying to start with a little project that will have a character or two moving around an area such as an island or such. My first problem is: how do I actually create the character(s) I have searched for a while, but all I seem to come up with is extensive graphic packages or schooling. Any help would be appreciated. George You might want to look at 3dbuzz.com for a great modeler's website. And free/inexpensive products like Milkshape , Blender , and Zbrush will definitely help you get started. Good luck! ...Show All
SQL Server Database table
Goodday. I have set up my database table with one columbe as data type set to Nvarchar (max) How many charectors will this allow me , and is there a seting where I can get the most charectors. And while I,m here , I,v noticed a data type called image. How do I get my image onto the form. When I drage my gridveiw onto the form , the image block does not come. Thanks in advance Rob HI Rob, Adding to what earlier said in thread i suggest to read a very Research made at MS for BLOB, and it is suggested not to store such images/docs in database but to store the path of it and handle its operation with front end tool http://research.microsoft.com/research/pubs/view.aspx msr_tr_id=MSR-TR-2006-45 Hemantgiri S. Gosw ...Show All
