battlestar 2007's Q&A profile
SQL Server Not Allowing Remote Connections
TITLE: Connect to Database Engine ------------------------------ Cannot connect to FRI-0503\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476 ------------------------------ BUTTONS: OK ----------------------- ...Show All
Visual Studio Team System Can LoadRunner support application under .Net Framework2.0(C#)?
Hi. I have encountered an problem when I use LoadRunner to do load testing. The LoadRunner need to run an Application developed by C#2.0 in VS2005. While I load the *.exe, the application breakdown. So I'm wondering if LoadRunner support .NetFramework2.0 Application. Thanks for your kindly help. ...Show All
SQL Server Question regarding scaling
I need some advice/opinions/comments on scaling our current configuration. Our database is for a student information system accessed by parents, teachers and students (student count is around 26,000). The application and database are developed by the state and I maintain it at our district. Windows 2003/ SQL Server 2005 1 Database approximately 500 MB Data & Log on separate drives connected to SAN via fiber 2 Node cluster – Active/Passive Dell 2850s, 2-Dual Core Processors, 4 GB Memory 2 Web servers – separate machines, 2 NICs each Most of the time the processor utilization is around 10-25% but several times a year when the teachers post grades, the server get hammered. More web servers are being added to help with th ...Show All
Visual Studio Report viewer ToolBar
Hi friends, I need help about report viewer(Win control) Tool bar, That how can I access the Find Text Box of tool bar so that I can get the text written in Find Text Box... Thanks for help.... Thanks for reply, But I have a problem that On each time when i want to reload a new report into report viewer the Text in Find TextBox remains as per it was in the last report, So i want to remove teh Text in find text box each time report viewer load a new report Thanks for help..... ...Show All
Visual Studio 2008 (Pre-release) WPF Validation
Paul Stovell has post a good article Validation in Windows Presentation Foundation about Validation in WPF. But, when I test the demo, I find a limitation to validate data in that way. Suppose I have 10 TextBoxes and many other UIElements on a WPF form. For the first time, I binding these elements to null-value data object, so all the TextBoxes are empty. The simple validation is to make sure all the TextBoxes are not empty. Then I click on a Button "submit" directly. Since the TextBoxes are never focused, and the Text in them never be modified, UpdateSourceTrigger.LostFocus and UpdateSourceTrigger.PropertyChanged can not be used. But if I use Explicit, does that mean I should write tens of codes to vaidate the Bindi ...Show All
Windows Forms Dataset & DataGrid???
I have a dataset that holds some data, and when i show it in the data grid i would like it to be editable, and changed in my dataset, can anyone send me a link or shed some light on how i should get this done do not use acceptchanges() otherwise when you update, it will not update the changes to the database since the rows modified in the dataset have been marked to "not needed to be updated" Remember, you need to rebind the datagridview after you have done an update() - do you see the updates commited in SQL Server database/table To be safe for now, I would suggest you comment out the SqlCommandBuilder and just do an Update() directly after making sure that your SqlDataAdapter has the SqlCommand in its constructor as ...Show All
Visual C# C#.net How do you give a Windows service specific permissions?
Hi, I want to be able to create a new user account with only the necessary privileges etc (getting a web webrequest from a web page, then writeing the result to a file). And configure the service to run under the new user account. I cant seem to work out how to do this. Hope someone can help me. Thanks in advance kered Hi if you want to configure a service to use a specific user account you have to - install the service - open up service manager (control panel - administrative tools - services) - right click on the service, choose properties - in the tab Logon, choose this account and supply the necessary info Hope this helps, please close the thread if it does ...Show All
Windows Forms Properties of a control
Hello, I'm trying to find some kind of list-property as the base for a custom property for a control. A developer than should be able to select an item in a list at design time for this control property. How can i implement this Thanks, kind regards, matti Hi, take a look at this older thread for two possible solutions. Andrej ...Show All
Visual C# Moving from procedural to OO
I have been coding in C for upwards of 4 years now and a friend of mine has brought to my attention that a lot of employers now want their programmers to use OO instead of procedural. I have gotten a book on Java and 2 on C# (one on the basics and one on network programming), but I must say this OO thing isn't really catching with me. I am still in high school, so I don't have much time on my hands, but do any of you have any good resources on how to relate OO to procedural, or to just make it a bit understandable Thanks hi, this page has few lessons which will help you to understand OO better personaly i started with it. i guess you will better understand it quicker than i did , because you have back ...Show All
SQL Server SQL Server Login Problem
Will somebody please help me I have problems in starting SQL Server 2005 session whenever I use SQL Server Login (Windows authentication is OK). Message received is as follows- A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476 ------------------------------ Server Name: COMP1 Error Number: 233 Severity: 20 State: 0 ------------------------------ Pro ...Show All
SQL Server Hotfix for Bug # 473675 (SQL Server could not spawn process_loginread thread)
Hi, I get " SQL Server could not spawn process_loginread thread." errors. This is related to a bug in SQL 2000 and there is a hotfix for SP3a. I am running SQL2000 with SP4. I checked the fix list of SP4 & this bug is not fixed in this SP4. Can I apply the hotfix to resolve this problem on my server tia. The most common cause of this message is a lack of free virtual address space. The most common cause of virtual address starvation on SQL 2000 are misbehaving com components from the use of sp_oacreate, misbehaving extended stored procedures, or poorly written OLEDB providers that are loaded by the use of linked servers. Start by reviewing your use of these items and remove t ...Show All
.NET Development Measure data-traffic per IP-adress
I have a pc with a number of devices connected to it. They are all connected via an utp cable. All devices have their own IP-adress. Now I want to measure the traffic of this data. In this way I want to check wether there is activity at the device (scanner). So when the number of bytes during a certain period is below a certain value, it must start another process. This must be monitored per IP adress. I want to use C# code to make this work. It's not my goal to measury the connectivity, I've read several articles on that subject. It's really about the quantity of data. Other recommendations regarding this subject are welcome as well. Thanks in advance! If you are ready to do some C stuff, there are sample LSPs in the SDK th ...Show All
.NET Development XmlSerializer Class not allowing Parameters when initialized?
Hi all, I am running through some examples/samples of XML Serialization and have run into some strange problems. I am using VS2005 (therefore using .NET 2.0, C#). I have a class that I want to serialize (correct attributes have been assigned to the Class and its relating properties). So, to do this I want (so all the articles are telling me) to do the following... XmlSerializer s = new XmlSerializer(typeof(ShoppingList)); ...from this I get the following error message... No overload for method 'XmlSerializer' takes '1' arguments. I have included both the System.Xml and System.Xml.Serialization namespaces. Hope you can help. Thanks in advance. ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Same issues! We use Windows XP Media Center Ed. Those issues only occur on my Wife's login ... mine works fine. To futher that, ...Show All
Gadgets Environment Variables and Image Calls.
Hello, I am trying to Improve a Gadget which forces users to log in to there Administrator accounts to use Backgrounds simply because it was named "Administrator" at the Path. At first I tried using PHP like calls. But didn't work, So I resorted to looking at how the calls are made. I've added this. <!-- //////////////////////////////////////////////////////////////////////////////// //Find Which User is Using the Gadget and SET the Variable - Steven {augrunt} //////////////////////////////////////////////////////////////////////////////// --> <script> userProf = System.Environment.getEnvironmentVariable("USERPROFILE"); userPath = userProf + " \\AppData\\Roaming\\Microsoft\\Windows Photo Galle ...Show All
