ekb0211's Q&A profile
SQL Server Detect Licensing
Hello I am trying to find out if versions of SQL SERVER 2005 we have installed have full or Developer Licenses. They were installed previously by someone who no longer works here, and we do not the versions on record. We have enough full licenses, so we just want to make sure the correct ones are set up on our servers. Anyone know how/where we can find this information ...Show All
.NET Development SQL database connection in Global.asax.vb
We have an application where users log in and set up a ConnectionString based on the login-info. As to now, we have used Application.Contents("conn") = (strConnectionString) in Global.asax.vb (Application_Start section) and then in the in the webforms we use Dim con As New SqlClient.SqlConnection con = New SqlClient.SqlConnection(Application("conn")) con.Open() ...... ...... con.close() (Each user has their own sql database that they connect to using the same scripts.) The question is: When many users are logged on at the same time, will the use of Application.Contents be a safe way to connect to each users own database or is there a possibility that users suddenly will try to establish a connect ...Show All
.NET Development Can't open more than 2 TCP connections
Hi, I'm trying to open number of HttpRequests to a URL, and i'm watching with TCPview and i'm seeing only 2 connections. even when i'm trying to open 4 (With threads..) My App only open 2. Anyone can help Thanks. This is by design and as per the HTTP RFC which dictactes a client should make no more than 2 concurrent connections to a given host. If you wish, you can up this limit. Please see: ServicePointManager.DefaultConnectionLimit or the System.Net section of application configuration files. I have blogged about this as well, please see: http://blogs.msdn.com/mflasko ...Show All
Windows Forms Populating a datagrid
I am pretty new to C# and programming for the most part. I currently have an Access database created with data already in it. What I am trying to do is to have a user select from a combo box what he or she wants to look at. After selecting from the combo box I have a button that needs to be pushed so that it can populate the datagrid. private void bGo_Click( object sender, EventArgs e) { if (cbBCBS.Text == "CTA" ) { this .cTA_DIAGTableAdapter.Fill( this .bcbscheckerDataSet.CTA_DIAG); } if (cbBCBS.Text == "MR Breast" ) { this .mRI_BRST_DIAGTableAdapter.Fill( this .bcbscheckerDataSet.MRI_BRST_DIAG); } if (cbBCBS.Text == "MRA" ) { this .mRA_DIAGTa ...Show All
Visual Studio 2008 (Pre-release) varchar(max) causing a FormatException to be thrown
I have a weird problem when using varchar(max) on the table columns using linq. If i write (as an example): [Column(DBType="varchar(128) NOT NULL", Name = "strTest", Storage = "strTest")] i have no problems, but if i use the following [Column(DBType="varchar( max ) NOT NULL", Name = "strTest", Storage = "strTest")] i get a FormatException thrown telling me that the 'Input string was not in the correct format' has anyone had a similar problem Thanks I have also noticed that if you use sqlmetal to create the classes you need for linq and have a field of varchar(max) in any of the tables, sqlmetal will place (as an example): [Column(DBType="var ...Show All
SQL Server The merge process was unable to deliver the snapshot to users having host_name length 10 and partition_id bigger than 999
Hi, We are performing merge replication between SQL Server 2005 and SQL Server Mobile with more than 1100 handheld, and recently we have following problem with user name(which is used as host_name in merge repl.) having length 10 chars and partition_id bigger than 999. Error Code: 80004005 Message : Minor Err.: 29006 Source : Microsoft SQL Server 2005 Mobile Edition 20070116-121908 Error Code: 80045017 Message : The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write. Here is th ...Show All
Visual C# Controlling EventHandler Auto-Naming
Hopefully this will be an easy one. Say I have the following: public class Foo { private double _angle; public event EventHandler < OnValueChangeEventArgs > OnValueChange; public double Angle { get { return _angle; } set { _angle = value ; OnValueChange( this , new OnValueChangeEventArgs (_angle); } } public class OnValueChangeEventArgs : EventArgs { public readonly double value; public OnValueChangeEventArgs( double value) { this .value = value; } } } Then, in my application, I create an object of Foo: Foo f = new ...Show All
.NET Development Using XML to select a user
Hello all, I am trying to create a program that presents the user with a text box where they enter a number it logs them into a system where they have specific things they can do and some they (possibly) can't. I would like to use an XML file to do this. For example Number 0000 Logs in the user Jane. Jane has admin privileges Number 1111 Logs in Dick Dick can only access the Sales portion of the program. I'm not sure if XML is the way to go with this but it seemed to be the best choice. If you need a copy of my XML file I can post it. I think it is done correctly. Thanks Thomas Can that be done How I guess I dont understand XML well enough. I've looked in books and online and its a bit confusing to me. Th ...Show All
Visual Studio 2008 (Pre-release) one question on ComboBox databinding
In my scene, I bind the ComboBox to the CountryId field in a table. This field stores "1", "2" and so on. But in the ComboBox, I hope it can display "Japan", "American". The mapping is defined in a .xml file. So, what should i do Thanks Use the ComboBox's DisplayMemberPath property to specify which property on the data object should be shown in the UI. ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/cpref30/html/P_System_Windows_Controls_ItemsControl_DisplayMemberPath.htm ...Show All
Visual Studio Team System webservice project check in problem
i've created webservice project and tried to check in the project to team foundation server source control but the reference to project (bin folder) are not checked in. what is that when i go to another dev machine and get latest version of the webservice project it cant get the references. If you are referring to the DLL files that appear in the Bin directory as a result of the web project referencing another project in the solution (e.g. a classlibrary), then the behavior you observed is by design. The DLL is not added to SCC because it will be regenerated when the user does a build. --Ben Ryan ...Show All
Windows Search Technologies WDS and Outlook archives on networked server
WDS 3.01, XP Pro SP2, Outlook 2003 I, like many people, use Outlook in and out of the office on a laptop. While at work I will routinely archive my Outlook folders to a networked server. I need to have these archives indexed and searchable. To get them indexed I opened the archives and WDS successfully indexed all of the archived folders. However, when I open Outlook when not in the office WDS will remove the archives from the index, because they are no longer available. Then when I get back into the office WDS re-indexes the archives. This is problematic for several reasons. First it is a considerable drain on resources, both for the laptop and for the network. Secondly, once these archives are indexed I do not need them reindexe ...Show All
Software Development for Windows Vista HandleExternalEvent activity in Parallel
I have a few activities in parallel that listen for the same event. With the event arguments I will see which one of the parallel activities to execute. It seems though that the event is only fired in the first activity and not in all the activities waiting for this event to fire. yes, but there is really only one subscriber which is the ExternalDataExchangeService which delivers the single instance of the event which it handles and delivers it to a waiting workflow. This level of indirection is needed to handle persisted workflows and the queued communication to the workflow. So you only really have one subscriber, the workflow lets you model out the concept of an event occuring, but the Handle ...Show All
Visual Studio 2008 (Pre-release) Issues Un-installing WinFx Runtime Components 3.0 - Beta 2
Hello, I am having some issues un-installing WinFx Runtime Components 3.0 - Beta 2. It is crashing with the following messages in the dd_winfxerror30 error log... [07/03/06,19:37:52] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [07/03/06,19:37:54] WapUI: [2] DepCheck indicates Windows Communication Foundation Beta 2 is not installed. [07/03/06,19:37:54] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 - Beta 2 was not attempted to be installed. [07/03/06,19:56:26] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293. [07/03/06,20:12:12] MSXML ...Show All
Visual Basic WINDOWS DOES NOT RECOGNIZE . -
Hi! I have made a program in VB6 and it works fine. the problem is that on some computers the output is wrong. the system does not recognize "." as decimal separator and "-" as a character when I put it between "". Why is that I have checked the regional settings and everything is ok there. I have no idea what else I could do Should I change something in the registry Where and what Thank you very much! im afraid these are the incorrect forums for your VB6 question, these forums are for VB.NET. Please post to the appropriate VB6 communties: www.microsoft.com/communities Thanks ...Show All
Software Development for Windows Vista Vista Final Release Date
Have to plan IT budget for hardware & software. Can anyone tell me what is the deadline of the Vista Project if there is one I was under the impression that the MSDN release would precede the release to the general public by at least a month. So it might still end up being in Q1 2007 but could be sooner depending on how things are going at Microsoft. The MSDN subscriptions page says the MSDN release will take place within 7 days of release to manufacturers. ...Show All
