WayneW's Q&A profile
.NET Development httpHandlers
I'm able to create a http handler for a particular extenstion (ie: .aspx .htm). Can I handle a folder in the same way For example, lets say i have www.test.com/~username/ <httpHandlers> <add verb="*" path="~/~" type="MyHandler.NewHandler,App_Code"/> </httpHandlers> Since the username folder can change I want to filter and rewrite the URL if a ~ exists in the requested URL. I guess i'm not sure what the synax in the web.config for handling folders in this manner would be. ...Show All
.NET Development Error: Could not update; currently locked by user...
To all, I created an application in Visual Studio 2005 using C++ that transfers data from an SQL Server 2000 database to an Access 2003 database. During this transfer, particularly when alot of records are selected, I get the error: Could not update; currently locked by user 'admin' on machine 'GSANTIN' I know I am the only one accessing the Access database. The error occurs whether the Access database is on our network or on the C drive. Let me describe the data transferred. The smallest transfer would involve the analytical data from one wafer. There are 4 tables appended in the transfer. The first table, Lot, will add only one record to the table. The second table, Statistics, adds one record. The third table, Site, adds a ...Show All
.NET Development Generating tree hierarchy from adjacency list
I have an XML representation of an adjacency list where each <row> element has 0 or 1 parent element where the ParentID element points to the ID element of the parent. I am trying to use xsl:key to generate an XML output tree. Could anybody help with this please Thanks, Tad input: < xml version="1.0" encoding="utf-8" > <root> <row> <ID>1</ID> <Name>One</Name> </row> <row> <ID>2</ID> <ParentID>1</ParentID> <Name>Two</Name> </row> <row> <ID>3</ID> &nb ...Show All
Visual Studio Express Editions OperationCanceledException error message?
Hi everyone. Following on from my previous download post, I am currently getting an error when trying to cancel a download in my app - it just freezes. I get an OperationCanceledException message, so I decided to put in the following code: If OperationCanceled Then MsgBox( "Cancelled....") End Firstly, I am getting an error "Name "OperationCanceled" is not declared" message, and secondly, if someone could kindly help me sort the declared error - would it actually display a dialog and sort itself out Regards, AJ The last argument to DownloadFile() is "onUserCancel". Set it to UICancelOption.DoNothing if you don't care that the download got canc ...Show All
Visual Studio Using item group created from CreateItem in another Task?
Hello, I have the following structure in my MSBuild project file: < Target Name = " Build " > < CallTarget Targets = " CreateProjectItems " /> < Message Text = " Here are the projects: " /> < Message Text = " @(MyProjects) " /> <!-- displays nothing --> < CallTarget Targets = " TestTarget " /> <!-- displays the MyProjects correctly --> </ Target > < Target Name = " TestTarget " > < Message Text = " @(MyProjects) " /> <!-- displays all items in MyProjects correctly! --> </ Target > < Target Name = " CreateProjectItems &q ...Show All
Smart Device Development Square screen help..
hello, In my design windows while creating a new project, it asks for qvga or vga but wont show square screen. And the buttons get mis-aligned in square screens. What i need to know is, if i download the emulator image for square screen, will i be able to get the option to develop for square screen in the design window itself Regards Carty.. Hello, Yes, I did see a square screen emulator where the objects are displayed properly. But when the same application is run on real device, the buttons move away. The buttons are in position on the emulator. Why is this and is there any way to fix the buttons on place instead of finding the screen size and adjusting its position programmatically If no, can you please assist ...Show All
Visual Studio 2008 (Pre-release) Navigate URL in RSS Feed threw Xaml??
I was woundering can i get the Links in the RSS Feeds Navigatable threw Xaml or does it require some CodeBehind also Did some looking in the SDK and this one seems to be the one i would need to use:: INavigateUIData I have a ListBox with RSS Feeds that i obtain from within IE7,in the Feeds is a "Link" that Navigates to the Full Article http://www.blahblahblah.com/..../...../ ... Like to make those Links in the Feeds Navigatable to their Corrasponding Webpage... ...Show All
Windows Forms Migrating application from Access/SQL to C#/SQL - Combo box issue
I've been tasked with converting all of the Access apps that have been used as frontends to SQL to web-based applications written in C# that will also act as frontends to a SQL server. While I've been successful in moving most of them, I've run into an issue with C# combo boxes. Briefly...in Access the client has a form used as a frontend to SQL to add registration information to. It has many combo boxes where they are tied to other single column tables (lists basically) to ensure the integrity of choice in the dropdowns. These combo boxes have some options set so that only what shows in the dropdown list can be picked and nothing else can be added. A user can also choose not to select anything of course and it would simply reflect a nu ...Show All
SQL Server Better MDX Query in 2005?
I've worked on several analysis services and reporting services solutions but this has me stumped. I have an X,Y scatter chart in RS that needs to hit a cube. So I need an MDX query that returns something like this: DiseaseAbrev Pathway Feasibility ADD 2.7 1.9 XS 4.0 1.0 YYY 1.4 2.0 The goal is to have two columns, Pathway and Feasibility, that contain a weighted measure that is calculated by summing a set of other measures times a weighting factor. The Disease Score Type dimension has a parent-child hierarchy set up so that Pathway and Feasibility are two members who roll up the weighted leaf members. When applied to the Score measure (see query below) this gives me what I want. SELECT ...Show All
Visual Studio 2008 (Pre-release) MUTUAL CERTIFICATE SECURITY - Multiple signatures
Hi, I am sending soap message to indigo service. Message has two certificates(binarytokens) and signatures for every certificate. I succeded to implement that scenario on client using WSE. The problem is that WCF service throws ex: Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token type. Tokens of that type cannot be accepted according to current security settings. System.ServiceModel.Security.ReceiveSecurityHeader.ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver, IList`1 allowedTokenAuthenticators, SecurityTokenAuthenticator& usedTokenAuthenticator) System.ServiceModel.Security.ReceiveSecurityHeader.ReadToken(XmlDictionaryReader reader, Int32 position, Byte[] decryp ...Show All
SQL Server Failover Clustering and Standard Edition
I am reading that SQL Server 2005 Standard Edition supports failover clustering but up to two nodes only: " Support for failover clustering in Standard Edition is new in SQL Server 2005, and only two-node failover cluster instances are allowed using that version of SQL Server, even though the cluster itself might have more nodes. " I take this to mean that if I have, say, an 8-node cluster I can put several instances of standard edition in that cluster (up to 16 per node), as long as a single instance is configured to run on only two nodes. Is that correct Thanks in advance, Candice ...Show All
SharePoint Products and Technologies How to create MOSS web applications on web front end server?
Hello, I'm trying to arrange 3 servers in a farm in order to mimic CMS 2002 installation configuration (where I currently have one backend server for editing, one read-only for internet users and a database). Based on Technet's article about creating simple farm deployment now I have one DB, one MOSS server which runs all application roles except web front end (server is called APP) and one server which is dedicated web front end server (WFE). WFE and APP are in one farm. On WFE I have three sites with three different host header names all working on port 80. Then I wanted to extend these (at least this is how I see it) in order to have them serving MOSS content that should be created on APP. MOSS central administration is running on APP a ...Show All
SQL Server Bug?? Transfer SQL Server Objects Task - error when copying Views
I'm trying to copy data over using a Transfer SQL Server Objects Task however I get problems trying to copy over views. I get the similar error (pre sp1) when using import/export wizard and copying over views. Now with SP1 the views just don't transfer. I'm transferring from SQL 2005 to SQL 2005. The error I get is: Error: 0xC002F363 at Transfer Data (NEW), Transfer SQL Server Objects Task: Table "vw_XXXX" does not exist at the source. Task failed: Transfer Data (NEW) I know the view exists at the source because: A) I can select it in the Views List Collection within the Transfer SQL Server Objects Task B) I'm using the view on the source Somehow the views are not transferring. Anyone have any ideas ...Show All
.NET Development Regx Allows for two many periods!!
^(\w([-_+.']*\w+)+@( \w(-*\w+)+\.)+[a-zA-Z]{2,4}[,;])*\w([-_+.']*\w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}$ i have this regular expression that validates multiple e-mails on my form.......but it allows for emails like some..email@hotmail.com .... I know i can just remove the . from the [ ] but then i wont be able to have e-mails like some.email@hotmail.com Is there a way i can still add the . to the first component of the RegX without keeping it in the [ ] ^(\w([-_+.'] \w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}[,;])*\w([-_+.'] \w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}$ This is what i got working bacsically all i need was one period to be valid like Dee.Powers@yahoo.com But before this was working Dee..Power ...Show All
Visual C++ How to pass xml file as input???
Hi, I want to pass Xml file input to FlashPlayer 7 and after getting the file input it should be passed to the Xml parser file(xmlparser.cpp and .h) in the Player.I cannot use CFiledialog because it will create another dialog. Help me by giving your suggestions. Thanks in advance. Siddharth Hello Re: How to pass xml file as input Such questions are outside the scope of this forum - for the scope of the Visual C++ Language forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=789657&SiteID=1 I suggest you to find a free discuss group available online to handle such questions. OTP ...Show All
