Abhayc's Q&A profile
SQL Server Can't generate report using Framework 2.0
Can someone help me... Previously I'm using framework 1.1 for web development in my server and sql reporting service 2k. Everything look fine...can generate reports. But when I try to generate the report using framework 2.0 the page display this error "Server Application Unavailable". Database server and web application server in different machine. For your info : Database server : Data Source - SQL 2K5 Web Application server : Server - Windows Server 2003 Web Application - .Net 2.0 Report - .Net 1.1 What is the problem all about Any idea Another questions are : 1)How I deploy the report without installing reporting service in web application ser ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My 1-week XNA evaluation
Hi! I've been evaluating XNA Game Studio Express for about a week now. Writing this little report to get some thoughts and ideas out of my system. If you just want to download the game I made, here it is: http://www.artplant.no/Johan/XNATest.rar Everything is original and copyright (c) Artplant, except for the sound assets and the sound code, which was ripped from the SpaceWar sample in XNA. Someone please give me a heads-up if that's illegal for some reason, and I'll take it out. You'll need a shader model 2.0 GPU to run the game. Also, you'll need a 360 gamepad or similar. (Don't know if XNA is compatible with other pads yet.) Both of the thumb sticks fire cannons independently when pushed. Enough of that, here's a quic ...Show All
Windows Forms How do I set the location of a control loaded at runtime?
I've created a Button control that I want to locate on the bottom of the form. How can I use the form's size attributes so that no matter how the form size is changed, the button(s) will always be centered along the bottom of the form At this point, I'm dragging a button control from the tool box and positioning it on the form then, using the button's Location property to use in the code then deleting the button from the form. I can vaguely remember in VB 6.0 that you would use the form's ScaleWidth and ScaleHeight but these are not in C#. Needless to say, I'm kinda lost. Rhubarb Hi Andrej; Actually, I want to create the control at run time. Starting with a blank form and, when the app is started the butt ...Show All
Visual Studio 2008 (Pre-release) Select Shape element by clicking inside
I have added few shape elements to the Canvas. In MouseDown function, i can select the element using InputHitTest Method. c# code for rectangle: ell = new Ellipse(); ell.Width = 100; ell.Height = 100; ell.Stroke = Brushes.Blue; ell.StrokeThickness = 2.0; Canvas.SetTop(ell, 25); Canvas.SetLeft(ell, 25); eCanvas.Children.Add(ell); InputHitTest returns the Ellipse element by clicking only on edges, but not when user clicks inside the ellipse. I notice that by filling the element it is possible to select the ellipse, but would like to do without filling it. Is it possible to select/highlight the ellipse element, if user clicks inside the rectangle box Thanks Frances83 & Adam. It's working. ...Show All
Visual Studio 2008 (Pre-release) Clarification on SSDL ?
Hey there! Ok, I've read numerous articles on vNext as well as been analyzing the samples. I would just want to have a couple of concepts clarified to me: General concept: ----------------------------------- As I have unserstood it, the *SSDL files contain the description of the "physical" database with all its tables translated into the Entity framework "types". *CSDL files contain the conceptual model which is exposed to the application, and should preferrably be as consistent as possible with little or no major changes. *MSL files maps the conceptual model to the SSDL description of the "physical" database Have I understood this correctly The part I'm a bit confused about is the SSDL, this has nothing to do with the conceptual model ri ...Show All
Visual Studio Express Editions looking for help
I want to create a basic payment tracker. I would like to track two items. First I want to track payments and second I want to track balances. I have a sqldatabase that I have created to input the client info. now I just want to be able to track all of that clients payments and balances. I would also like to be able to see a average of the total payments and total balances. Can someone tell me the easiest way to create this Thanks I am still very new to VB but I am learning. You can make an EXE, and even embed an Excel spreadsheet in the EXE, but probably not the way you want: to modify the Excel spreadsheet you will need Excel (the application) to be installed, and use automation. ...Show All
SQL Server How to Setup JDBC for SQL2005 in Webshpere 6.0
Does anyone know the steps on how to get SQL2005 to talk to a Websphere application via the MS JDBC We are trying to setup the Niku Clarity system with a new SQL2005 Database. Thanks i found this link useful http://msdn2.microsoft.com/en-us/library/ms378484.aspx ...Show All
.NET Development xslt output generating compact form closing tag XmlTextWriter
I'm finding that when xslt transform output is written for an empty element, the generated text includes the element name in the closing tag (e.g., "<MosaixDataField Name="NAME" MapName="PrimaryName" Type="Data"> </MosaixDataField>") instead of closing the element at the end of the beginning tag (e.g., "<MosaixDataField Name="NAME" MapName="PrimaryName" Type="Data" />"). This happens even though I have overridden the XmlTextWriter XmlWriterWriteFullEndElement() in a derived XmlTextWriter class. Here's the code involved: // using XmlTextWriterEE to avoid splitting empty XML nodes XmlWriterSettings xmlWriterSettings = xslt.OutputSet ...Show All
Software Development for Windows Vista What do i have to do in order to use SqlWorkflowPersistenceService
I tried to add SqlWorkflowPersistenceService with a valid connection string (an existing DB) , but once i create an istance of workFlow i got an exception with could not find stored procedure RetrieveNonBlockingInstanceStatsId. is there any process for creating those tables and stored procedure Thanks Amit Hi Amit, Follow the steps below to create tables and stored procedures for sqlpersistenceservice. To create and configure the SQL database Using Microsoft SQL Server 2005 Express, Microsoft SQL Server 2000 or later or Microsoft SQL Server 2000 Desktop Engine (MSDE), create a new database named SqlPersistenceService using the SQL query statement: CREA ...Show All
SQL Server Index.IsUnique vs. Index.IndexKeyType
Hi, In many examples or pieces of code on this forum I see both Index.IsUnique and Index.IndexKeyType = IndexKeyType.DriPrimaryKey or IndexKeyType.DriUniqueKey invoked during table or index creation. Is it not achieving the same result Thank you, ...Show All
Visual C++ CVT1100 Error
While migrating a WTL-dependant VS2003 project to VS2005, I encountered this post-compilation error: Error 1 fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409 I was able to get rid of the error by going to project configuration properties -> Manifest Tool -> Input and Output -> Embed Manifest and setting it to "no." But I still don't understand what the full ramifications of this are. Why did the auto-project conversion not set this to "no" for me automatically Now that I have turned it off, what "features" did I lose In past development I have done, I don't recall having to "manually" generate manifest details for CRT or MFC libraries - everything ...Show All
SQL Server Create Customer Ranking in Cube
Hey guys, is there a way i can create a Rank Member or measure in my cube based on sales for that customer, no matter what time heirarchy we are looking at. I have reporting requirements where they want to see all customers, ordered by Sales Amount. It could be at a year level, month level, or even a week/day level.. Im new to SSAS and MDX, i have looked at a few examples posted here, but cannot work out where i put the script in my cube. Is it a measure or do i do it as a calculated column in the DSV. Any help is much appreciated. Thanks Scotty > You're right in the strict sense - the reason I added NON_EMPTY_BEHAVIOR was to remove rows with no sales for this specific query (ie. a query ranking only among cu ...Show All
Visual Studio 2008 (Pre-release) January Orcas CTP
Hi! I have download and installed January Orcas CTP on virtuell server and now I can start Visual Studio Orcas 9.0, but can not find any Linq project to start playing. I am a first timer about Linq. I checked and there is a version 3.5 Net framefork installed under Windows. Regards The official 'Orcas' CTPs do not have LINQ project templates. Those templates existed in the eariler LINQ-only CTP's to help you start a project that targetted the correct compiler. With the Orcas CTP, the main compiler understands LINQ. All you need to do is include the correct DLL's and namespaces to get going. For LINQ standard-query-operators you need to reference the new System.Core.dll and use the System.Li ...Show All
Windows Forms Pass Values from Formview child controls to unbound textbox
I have created a formview that is bound to a table in an Access database with an AccesDataSource object. How do I pass the values contained in the labels in the formview to unbound textboxes outside of the formview < asp : FormView ID ="FormView1" runat ="server" DataSourceID ="AccessDataSource2" Width ="519px" Visible =false HeaderText ="Company Address" HeaderStyle-Font-Bold ="true" > < ItemTemplate > < table style ="width: 557px; height: 91px"> < tr > < td style ="width: 100px"> Address: </ td > < td style ="width: 100px"> City: </ td > < td style ="width: 100px"> PostalCode: </ ...Show All
SharePoint Products and Technologies create multiple websites in different languages using WSS 3.0
Hi , I am new to Sharepoint Services (WSS 3.0) . My requirenent is that i have to create multiple websites in different languages using WSS 3.0 . A user can view his content in any language. I have few queries here : 1. If i am creating a site in English using a saved template and i want to create another site in German using the same template then how to convert all the text written in English to German as the template was created from an English site Ex: Lists, Libraries and other items column names and other metadata information. 2. In the same above way. After running several sites in different languages using a specific template. Now we want to add a new List/Library/WebPart etc to them, do we ne ...Show All
