sigme's Q&A profile
.NET Development Repeating Element Name Problem with xsd.exe
Hi, i generated a dataset with xsd.exe by my xsd file. What i am trying to do is to fill the dataset and generate an xml as fallows (It is valid for my xsd): <root> <ELEMENT1> <ELEMENT2>11<ELEMENT2> <ELEMENT2>22<ELEMENT2> <ELEMENT2>33<ELEMENT2> .......... <ELEMENT1> <root> Anyway, with the datasate created. When i add an ELEMENT1 Row it always generates the xml like: <root> <ELEMENT1> <ELEMENT2>11<ELEMENT2> <ELEMENT1> <ELEMENT1> <ELEMENT2>22<ELEMENT2> <ELEMENT1> <ELEMENT1> <ELEMENT2>jhgkjhk<ELEMENT2> <ELEMENT1> <root> I think it is because ELEMENT2 is a ...Show All
SharePoint Products and Technologies Error creating MySite: There has been an error creating the personal site
Hi, When creating a MySite users get this error message: There has been an error creating the personal site. Contact your site administrator for more information. Here is our setup: 1 web application for central administration 1 web application for ssp administration site 1 web application at port 80 (collaboration portal) this web app uses (and requires) SSL managed path: "mysite" (explicit inclusion) managed path: "personal"(wildcard inclusion) site collection based on the MySite Host on the "mysite" managed path SSP: personal site provider: https://[portalurl]:443/mysite/ SSP: personal site location: "personal" Initially we hosted the the MySites in a s ...Show All
Software Development for Windows Vista Getting information about a workflow instance
I am building an Workflow-based application that will contain a "Task List" to inform users when a workflow instance is waiting for their input. I would like to populate this Task List by examining the loaded workflows and determining which are waiting for input from the current user (based upon Role membership). In the WinSDK Samples, the OrderingStateMachine demonstrates how to use WorkflowInstance.GetWorkflowQueueData() to get the list of event messages that the current workflow state can handle. How would I add the following functionality When the workflow is in the "OrderProcessed" state, the order will be assigned to a specific shipping group based on the order's destination, and only the members of that ...Show All
SQL Server Reporting Services and Excel interoperability
Dear friends I am using SQL Server 2000 reporting services. But my customer does not like the output reports He just want to his reports look like Excel 2007 output format or a third party tool Crystal Xcelsius Designer output format. I am deploying the reports to a Share Point Server. How can make dynamic reports that he like to see with/without using Excel 2007 or a third party tool. Thanks OZ Reporting Services strives to mimic the layout of the report in the Excel export. This means that it tries to attach report items to cells on the Excel sheet, and to do this accurately with the positions of objects appropriate to each other it has to create merge cells, which can cause problems when trying to manipulate the output from Excel ...Show All
Software Development for Windows Vista Scaling out Windows Workflow
Looking for a point in the right direction for scaling out an windows service hosted workflow to multiple application machines. In the MSDN article "Performance Characteristics of Windows Workflow Foundation" http://msdn2.microsoft.com/en-us/library/Aa973808.aspx they show workflows running on multiple machines. Are these machines sharing the durable queue thank you adam Adam, From what I understood of the article, all servers share the workflow persistence and tracking databases, put on a shared database server in the backend. Is that what you mean by "durable queue" ...Show All
Audio and Video Development Keyboard Mapping problems
I am trying to use a Microsoft keyboard with the Microsoft HD simulator, and the Ctrl and Alt keys do not simulate the player correctly. The keyboard I am using is connected via USB. (I am using a Dell computer, with USB connections only) The player, and the code, works fine on a different computer, with a keyboard that has a ps2 connection. I have tried changing the keyboard, doesnt help... For example: when pressing 'Ctrl m' it does not act as the menu button for the player. Please Help! Talia I am using Win XP Pro, the spec for the media center remote specifies that it will work only with WINDOWS XP MEDIA CENTER OPERATING SYSTEM, do you think it will work Th ...Show All
SQL Server compare fields from two datasets
Hello, How can I solve this problem. For example, I have two databases. db1 and db2. I want to compare two float fields from tables from db1 and db2 and the present the difference between these fields in a column in reporting services. ex. loop1 value from db1.table_db1 4 value from db2.table_db2 6 diff 2 ex. loop2 value from db1.table_db1 2 value from db2.table_db2 2 diff 0 ..continues... Should I create 2 datasets and 2 datasources Must I write custom code for this Regards Are the two databases on the same server or on the different servers If they are on the different servers then use the SQL Server linked servers feature. ...Show All
.NET Development "The content of the response is text/html type instead of text/xml": problem consuming a Web Service
Hi, i have a web service written in PHP, which is running on http://localhost:8000/server.php. It has a method, CalculateOntarioTax, which take a number and multiply it by 0.15; i tried to use it with ASP.NET. Visual Web Developer Express find the web service correctly, but, when i call the method, i get this exception: "The content of the response is text/html type instead of text/xml" and then, a long list of HTML code. Where is the problem Here is the PHP code of the server: < php require_once("nusoap.php"); $ns="http://localhost/"; $server = new soap_server(); $server->configureWSDL('CanadaTaxCalculator',$ns); $server->wsdl->schemaTargetNamespace=$ns; $server->register('CalculateOntarioTax' ...Show All
Visual Studio Team System Book for MSF For CMMI? Templates / Process Guidance / AdventureWorks templates
Hi it seams that a book for MSF for Agile Software development is underway (looking forward to it - Randy couldn't you put the sample chapters online somewhere ) Is anyone writing a book for MSF for CMMI Our company would like to use it since we are working with a CMMI Level 5 certified company. I'm really looking for a book that explains the use of the CMMI process guidance in depth. I'm right now looking for answers to questings surrounding templates and that are/are not included with the guidance. Why does the project guidance not like to actual documents Is it because official documents do not exist so they can't be included in a product like Team Foundation I have downloaded some templates for MSF 3.0. There is a small ...Show All
Visual C# How to get mem-size of a structure?
Is there a way to get the memory size used by a structure (say a 2-dimensional array of type String) I need to compare implementations mem-wise, but I can't find what I need to know. I hope this isn't a too dumb question :x I am representing a polygonal 2D structure (mapped onto a grid) into memory. I have 2 ways of doing it: 1) represent all grid points in a 2-dimensional matrix and if there is a line from point grid point 1 to grid point 2; make the value of the matrix > 0 (this is indicating a line-type) 2) represent the structure as an array of lines (so an array of {x,y}-{x,y}) I am facing the problem that I am working on a massive computer with lots of mem (and a very large windows swap file), but ...Show All
Visual Studio Express Editions Lost Toolbox content
I have a beginer problem. I lost all the content to the toolbox. I can not figure out how to reset it and dock it back to the default position. Also I want to some extra tools inside the box. Would some please give me the guidence I need I right click on the the tool box will reveal a context menu with REPAIR ToolBox on it. For additional controlls see the Tools | Choose Toolbox items . Good Luck. ...Show All
SQL Server Calculate the values from a underlying table
I am building a customerlist within the customer sales of a period. I have a dataset with two tables: "customer" and "customer_ledger_entry". In the report I will present the customer number, the customer name and the sales. The problem is the sales value is not available as a field, but I have to calculate this value from the "customer_ledger_entry" table. In this table are several entries (invoices, credit notes, etc.) How to calculate the values from a underlying table Selectis, I must have misunderstood what you were trying to accomplish, I thought you when trying to display values from 2 different tables but I didn’t realize you want to reference the 2 dat ...Show All
SQL Server Select not exists very slow
SQL 2005 on CoreDuo 2.8 ghz, 1 GB ram, Windows XP I have the following tables: inLogData with about 1 million rows. Three of the 22 columns are: FromIP varchar(255) null DateCol varchar(255) null TimeCol varchar(255) null. Weblog with about 200,000. Three of the 24 columns are: FromIP Varchar(50), DateChar varchar(24), TimeChar varchar(12) weblog has the following index: CREATE NONCLUSTERED INDEX [WebLog_DateHourFromIP] ON [dbo].[Weblog] ( [DateChar] ASC, [TimeChar] ASC, [FromIP] ASC )WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON [PRIMARY] I am running the following SQL script: Select top 200 FromIP, DateCol, TimeCol From inLogData l where not exists (Se ...Show All
Visual Studio Express Editions Convert string to HTMLDocument
I'm trying to parse html from a string containing the html. I would like to do it using the DOM via the HTMLDocument class. Basically I need to load a string into a HTMLDocument class. I know I could do this using WebBrowser but it seems inefficient. I've tried the following code but doc is not an instance and HTMLDocument has no constructors. Maybe I can't Dim html As String Dim doc As HtmlDocument doc.Write(html) MsgBox(doc.Title) Thanks. Sorry it took so long to get back to this, too many other things to sort out. I guess what I'm asking is how do I use HTMLDocument.Open or HTMLDocument.Write ...Show All
SQL Server HELP!!! Can not restore database from only back up I have
I had to transfer my database from one server to another. Both are running SQL 2000. I backed the database up and moved it to the new server however when I try to do a restore I get the following message: The media set for database "xxx' has 2 family members but only 1 are provided. RESTORE DATABASE is terminating abnormally. I did some searching and found a couple of posts that mentioned something about the back up including 2 files. My problem is that the machine I backed this up from crashed when it was shut down and would not reboot so all of the data and the original database do not exist. Is there any hope of restoring this database. It is pretty critical. Thanks, Melissa :-) I a ...Show All
