JIM.H.'s Q&A profile
SQL Server problem with loging in
I installed a default instance of Enterprise edittion and didn't face any error during the instalation process. In Management Studio in the Server Name section for loging in I wrote the name of the local system. but I couldn't log in. in Control Panel \ administrative tools\services there is no SQL Server service at all. should I install any thing extra just like Express Edition which I used to install SQL Express in Visual Studio 2005 pakage or like MSDE in SQL Server 2000 please tell me what to do thanks. pooyan Hello, It would seem that the core dbms has not been installed correctly - did you perhaps only select client tools during the install Reinstall th ...Show All
.NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange
Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple: public string myFunction( int ANumber ) { string strRetVal = null ; SqlDataReader myReader = null ; SqlConnection MyConn = null ;   ...Show All
Visual Studio 2008 (Pre-release) Inheritance of types used as DataContract
Hello, I have a service interface ( IMyService ) with a method ( DoSomething ) containing a parameter of a "general" type MyObject . Furthermore there are some types inheriting from this type MyObject. [ServiceContract] public interface IMyService { [OperationContract] void DoSomething(MyObject obj); ... } [DataContract] public class MyObject { private string _myParam [DataMember] public string MyParam { get { return _myParam; } set { _myParam = value; } } } [DataContract] public class MySubObject : MyObject { private int _myNewParam [DataMember] public int MyNewParam { get { return _ myNewParam ; } set { _ myNewParam = value; } } } ...Show All
Windows Forms SQLXML as a custom prerequisite
Hi all, I need to install SQLXML as a custom prerequisite. Can someone point me to a discussion on how to do this I can't seem to find any examples or tutorials or discussions to get me started. Thanx! WNC I believe there is not an actual "install" but there is going to be some file and package copying needed. For example you will need to copy the product and package manifest files, along with your redistributable files into the "\SDK\v2.0\Bootstrapper\" directory on each machine that you will want to work from. From what you are saying this sounds like something you want to avoid but believe this is the only option if you want to be able to build the installation...on any of your machines with VS and ha ...Show All
Windows Forms No console, help plz
I have .NET framework 1.1 installed when i try run any console commands such as Console.writeline("hello") The compiler compiles fine but with no console showing any data I've read you have to install it, that true any clues Thanks Amazon Did you create a Console Application project If you add a Console.ReadLine() after the Console.WriteLine in your code do you see the console window when you run the application If so everything is working just fine, it was just that the console window dissapeared so fast that you didn't see it. ...Show All
Software Development for Windows Vista AD (Active Directory) Roles
Maybe someone with experience can help me. I have always worked with applications that have managed their own security and the security model has always been "fine-grained" in that each object has a collection of possible permissions, several objects are "instance aware" in that permissions and filters may be based and set dependent on instance values. Furthermore, the roles are user-configurable. For example, let's say we have an application with a WorkOrder form. The form may have permissions for Add, Edit, Delete, View, Print, etc. Within the object, the valid values or permissions for Delete may be None, Own, Group, or Unrestricted. If the current user is assigned a Role where the permission for Delete is s ...Show All
Visual C# Connection String
Hi, I want to save connection string in xml file. This is ok for web application. But it is not working with desktop application. < configuration > < appSettings > < add key = " ConnectionString " value = " DataBase Physical Path " /> </ appSettings > </ configuration > This code is ok for web but null for desktop application The config file has to be named like your exe plus .config, e.g. notepad.exe.config And it has to be copied next to your exe file. -- SvenC ...Show All
Visual Studio VS6 Enterprise equivalent in VS 2005
Hi, What is the equivalent version of VS6 Enterprise edition in VS2005 series. Also which platfrom SDK we require to use with VS 2005. Visual Studio 2005 comes in several flavors: Visual Studio 2005 Product Line Overview Visual Studio 2005 Team System Editions Comparison There is no direct equivalent of the Visual Studio 6.0 Enterprise Edition, instead when you are upgrading to Visual Studio 2005 I recommend you take a look at your exact needs and based on this decide for which version to go. If I had to give one edition that comes close enough to the Enterprise Edition I would say that it is propably the Visual Studio Team Edition for Software Developers. ...Show All
SQL Server Microsoft ReportViewer and AJAX .Net2
Hello, I'm currently having some problems with the reportviewer embedded in AJAX Panel. I've got 6 ReportViewerControl in a page, each embedded in AJAX Panel. When I refresh the first time one of these ReportViewer, it works fine. The second time it gaves me the Exception : ArgumentOutOfRangeException. When i just have one ReportViewer control on my page, all work. Can someone help me please Sincerely yours, Alexandre Equoy ...Show All
Visual Studio Team System Custom team project creation failed on RTM with TF30162
Hi all, We upgraded to team foundation server RTM (from TFS beta 3 refreh) single server deployment couple of weeks ago. The upgarde went fairly smooth. We have a custom process template on our team project (based on the MSF agile). After the upgarde we managed to create a new test team project based on this custom template. Today when I tried to create another one (again based on the custom template) the project creation wizard fails with the message "Actual reporting settings for the field System.Title are different from those specified in the XML. Changing these settings is prohibited" (as detailed in the creation log attached). We hav'nt changed this field in the customization but it's possible we changed its reporti ...Show All
Visual Studio 2008 (Pre-release) ItemsTemplate and DockPanel
Hi! I'm trying to use a DockPanel instead of the StackPanel for a HeaderedItemsControl. I know how to get it to work but only for vertical (left->right) docking. How can I have a HeaderedItemsControl with every item docked to Top and the last item fills the remaining space (LastChildFill = True). Thanks. I suspect the LastChildFill feature isn't working because the last item container has been assigned a value for the DockPanel.Dock property. If you add in custom logic which prevents the last item container from having a value for that attached property, it should work (I assume). How exactly one might go about adding in that custom logic, I'm don't know off the top of my head. Perhaps a trigg ...Show All
Visual Basic vb.net 2005 ALT-TAB forms not hidden
In v2003 setting the form property 'ShowInTaskbar' to FALSE would hide the form from the task bar but also hide the form if I did a 'ALT-TAB'. This is not the case in v2005. WHY and how can I hide the form for 'ALT-TAB'. The form has to be borderless. rune setting FormBorderstyle = Fixed tool window... the exe doesn not show up in Alt+tab much easier i think http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=667347&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) Need some pseudo code for a "simple" scenario
Hi guys, Here's my dilemma. I have a canvas hosting a bunch of PathGeometry's that can be dragged around and re-positioned etc. Keeping in mind that these are all very non rectangular shapes, I'd like to be able to label the Filled areas of the shapes with text. So the end result would be that both the shapes AND their corresponding text would move in unison when I darg the shapes about. Any ideas on what the easiest way to achieve my goals is Thanks! Senkwe Did you try using VisualBrush <Path Canvas.Left="100" Canvas.Top="100" Stroke="Black" StrokeThickness="1" > <Path.Data> <GeometryGroup > <EllipseGeometry Rad ...Show All
Visual J# Scanner object
The Visual J# we have presently installed where I teach does not have many of the objects found in the java.utils package found in JAVA 5.0 Among other objects that were not found is Scanner , one used extensively in the text that we have adopted. Does the Visual J# upgrade address this problem at all Hi Varun, only http://lab.msdn.microsoft.com/ seems to work now, the URL to get vjsharp express or vjsharp seems broken this looks very bad since this URL should be alreaded posted in many forums ...Show All
Visual Basic Tabbed child window and toolstrip
Hi I want to create tabbed child window and set the toolbar's action to current focused child window.Please tell me how to do that Thanks Shailendra Kumar i think this the best link for question http://www.codeproject.com/vb/net/MDITabStrip.asp ...Show All
