ernisj's Q&A profile
SQL Server Microsoft SQL Server connection headaches, PLEASE HELP
OK, heres the situation: I am using Visual Web Developer 2005 Express Edition along with SQL Server 2005 Express Edition on the same computer. ALL I WANT TO DO IS MAKE A SIMPLE CONNECTION TO THE DB. I have tried using every possible type of connection string that I can find on the internet (of which there seems to be WAY too many), but none of them seem to work. I can't believe how difficult this is. Any ideas I am using windows authentication, and the management server utility connects fine. So this is really annoying. PLEASE HELP are you using remote desktop to log on to the computer There was a bug with that although I am not sure if it was fixed yet, try logging off and then log back on the computer from the console, or the actu ...Show All
.NET Development Why doesn't Garbage Collect reclaim unreferenced objects???
I have written a Windows Service using VS.NET 2003 C#. The service is having big memory foot print problems at a customer site. This service communicates via TCP to about 100 clients on the customer's network. The service has a single TCP listening thread (that derived from the TcpListener object). When a new TCP connection is accepted by this thread, a new client thread is instantiated and a Socket object is passed to this new client thread. The client thread is then responsible for all comminications with the customer's client machine. There are about 100 client thread at this customer's site. The messages that are exchanged with the customer client are XML based. In each client thread object, I have a single method that process ...Show All
Visual Studio Team System Ghost Projects
We had a TFS server and an administrator moved that to a new server. When the old server was turned off, SharePoint errors popped up. We turned the old server back on so that the errors would go away. Another problem we are seeing is "Ghost Projects". These projects appear in Source Control Explorer but when I go to delete them using the command line utility TFSDeleteProject, I get an error "project XXX not found on TFS Server". So, it appears I have two problems 1. How do I convert this SharePoint database over to the correct server and 2. Why am I seeing Ghost Projects and how do I delete them Can you recall any details about the sharepoint errors When did you see them appear ...Show All
Windows Forms DataTable sorting
I have a DataTable binded with DataGridView. I may provide my own sorting for DataGridView (via ICompare), but I can`t when DataSource property is used (and it is in my project). I would like to sort rows, when user clicks in the header of a specific column, but I don`t want the default sorting. Default sorting is like that: 0,1,11,12,2,3,4I want a numeric sorting: 0, 1, 2, 3, 4, 11, 12how to achive this Seems correct, thank you very much, but the problem now is, that I have the first column of type int , and the rest of the columns of type A. Klass A has method ToString() overriden to meet my personal expectations, that in specific situations returns empty string ( "" ). I also set datatype for ...Show All
.NET Development Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e
Hi, I am trying to take screenshots of any open Internet Explorer. I have writen the code and it works fine when I run the site in debug mode. Once the site is published I get the following error: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e. This error is shown for the following line: SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows(); I have given permission to various files for aspnet user. I have looked up most of the forum but to no avail. Any help would be greatly appreciated. Thanks, Hey , MICROSOFT !!! Say something . Anything. Any idea ... don't leave us , Bill , please ... ! w ...Show All
Visual Studio Team System No Work Item is created when a build fails
For some reason the automatic creation of Work Items when a build fails has stopped working for one of our projects. It's been building just fine for some time now, so I haven't noticed before today. So I'm not 100% sure what we might have changed to cause this behaviour, but it could be one of the following actions; Renamed the build type Added iterations and areas Anybody have any ideas Need more info Reading your reply I'm thinking that I might have been too quick with my answer... I'm fairly sure all I did was to do a standard Windows rename, but I'll look into it when I get back to work tomorrow. ...Show All
.NET Development How to get all the cookies
Hello, I have a problem with getting all the cookies. I use HttpWebRequest and Ethereal shows the following HTTP/1.1 302 Found : Daniel, Could you please post the System.Net trace file for this You can get the instructions from http://blogs.msdn.com/dgorti I would like to see what sort of cookies are being sent and why you are not getting them ...Show All
Visual Studio 2008 (Pre-release) accessing Sharepoint 2007 information using WCF?
I know it can be done, but what is the best way to, say, access a list of Documents in a document repository then make them available on a website external to sharepoint Including allowing the end user to download the documents My website that will be accessing the data will not be on the same server as Sharepoint so I cannot use the OM, but I would like to create a WCF app on the Sharepoint Server and use it to gain access to the data. Can this be done easliy If users have access not only to your ASP.NET site but also HTTP access to the SharePoint Server, the easier approach would be to manage just the HTTP URLs to each document within SharePoint Libraries. I mean, in this case, your WCF Service will ...Show All
SQL Server without checkbox leftside of the dropdown value list of the parameter
Hi, I believe somebody know the reason. Please help me on it! I plan to pass a multivalued parameter from my web application to the server report, and let user select the value(s) from the value set. But when I run the report, there's no checkbox leftside of the values, that means user has no choice on this parameter. Is there any way to do it Thanks, Jone Hi Jarret, Thank you for your reply! I double checked it. Yes, I checked the 'Multi-value' for this parameter. when I run the report, there's a dropdown value list, but no checkboxes at the leftside of them. Any idea Thanks, Jone ...Show All
Software Development for Windows Vista Debug step into code behind SharePoint Sequential Workflow
Is it possible to step into the code behind of a sharepoint sequential workflow assembly I followed the steps outlined into http://msdn2.microsoft.com/en-us/library/ms455354.aspx (How to debug your Windows SharePoint Services workflow) and I see it stepping through the different steps in the workflow designer but it does not seem to break into the breakpoints added into the code behind e.g. the code added to the OnWorkflowActivated handler, Thx in advance for responses Yes, it actually was ... but I found the problem, since one of the properties of the activity was not filled in, it returned a value can not be null error and it never made it into the actual code. Thanks for the feedback, ...Show All
Visual Studio Express Editions Adjusting the cursor position in rich text boxes
Greetings, I have a rich text box named txtConsole and it is read only. My application prints information out to the text box but I have ran into the issue of it not auto-scrolling. How do I adjust the cursor so that it is at the end of the text box so that it scrolls correctly Thanks! Scionwest Thanks for the advise! Unfortunatly this didn't work, is there another way I could do this I've tried several differant ways and can't get it to work. Thanks for any further advice! Scionwest! ...Show All
Visual Studio Team System TFS - periodic automatic builds if a check in has been made
Hi, Yesterday I set up my TFS system so that it does periodic 15 minute builds of all the team projects contained within TFSource Control. However it seems a waste of resources to be building all my files every 15 minutes and sending out alerts to the appropriate people when theres a good chance that nothing has been changed within the past 15 minutes. I'm wondering if anyone knows of a way to build at the automatic 15 minute stage only if a change has been made to the source repository Cheers, smudie Hi, I'm now taking a new approach. Instead of Windows Task Scheduler pointing to a batch file it will point to a C# program. This C# program will contain code that can create and run batch files. ...Show All
Visual Studio Team System Error 2738 running tfpt.msi v1.2
1.Uninstalled the old Process Template Editor. 2.Installed the DSL Tools. 3.Installation of Power Tools 1.2 gives "Internal Error 2738" and finishes saying 'wizard interrupted', 'run setup later'. Can anyone provide details of that error I had the same error trying to install itunes, here is my fix.(for Vista 64 bit) I had the 2738 error for both Quicktime and Itunes. The solution of running the command; regsvr32 vbscript.dll in the system32 folder did not work for me. I'm running Vista 64 Bit Home Edition. After much trail and error this is what worked. open Command Prompt using a right click "Run as Administrator". cd to C:\windows\syswow64 type- regsvr32 vbscript.dll, then hit enter. This is not an off ...Show All
Windows Forms Drawing on[/underneath!] Controls
Is it possible to draw a line as shown in the pic on a single form The line in the image is drawn on a second form which is transparent so form1 is visible. No. You've got two distinct windows here. One for the form, another for the control. You can't draw on both. ...Show All
Windows Forms WebBrowser NewWindow event...Cancel IE and send URL to my...
In my application I have a webBrowser control. When the user clicks a link that calls for a NewWindow to be opened, I need to cancel the action, retrieve the link they clicked, and send it to MY new window. So far all I have been able to do is cancel the new Window from being opened: private : System::Void OnNewWindow_CONSUME(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) { // Implement method to capture IE window and use this window instead // Cancel the IE window from being opened e->Cancel = true ; } Now what I need to do is get the url of the link that the user clicked so I can then send it to my webBrowser. I have no idea how to get the url of the link the user clicked though, ...Show All
