.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to resolve "Tag ... does not exist in XML namespace errors"

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :Windows Application
I am new to both Workflow and WPF and am writing my first IValueConverter in an attempt to properly handle an InArgument of "WorkOrderTypes" Enum type represented as a ComboBox in a custom CodeActivity's ActivityDesigner.   I have used an ObjectDataProvider to successfully populate the ComboBox's ItemsSource property, but am stuck at getting the binding working for the InArgument<WorkOrderTypes>.   I have looked around in this forum and elsewhere and have seen recommendations that i use an Converter class.  So I thought I'd give it a try. My Converter class is probably not coded correctly in this first cut, but I am unable to build the project to use the debugger to see the inputs and outputs to get it working because it won't build.   When I try to build it, there are no direct code syntax errors but I get the error: "The tag 'ComboBoxToWotArgConverter' does not exist in XML namespace 'clr-namespace:MyCo.Workflow.Activities;assembly=MyCo.Workflow.Activities.DemooActivityLibrary'".   The skeleton custom "CreateWorkOrder" CodeActivity, its "CreateWorkOrderDesigner", and the 'ComboBoxToWotArgConverter' classes are all in the same ActivityLibrary assembly MyCo.Workflow.Activities.DemooActivityLibrary".    The  public enum "WorkOrderTypes"&

View Complete Post

More Related Resource Links

XQuery: Unable to resolve sql:variable('@variable').

Solution to problem in SQL 2005: http://beyondrelational.com/forums/p/4289/7997.aspx USE tempdb GO -- If table exists, drop it IF OBJECT_ID('Tbl','U') IS NOT NULL BEGIN DROP TABLE tbl END GO -- Create the source table CREATE TABLE Tbl (col XML) INSERT INTO Tbl (col) SELECT ' <page height="782" width="620" id="page1" number="5"> <layout> <region id="r1" x="0" y="0" height="782" width="620"> <img src="../../Images/page11.swf" /> </region> </layout> </page>' -- Local variables DECLARE @page1 VARCHAR(20), @sQuery NVARCHAR(MAX), @insertXML NVARCHAR(MAX) SET @page1 = 'page1' SET @insertXML =' <hotspot id="C0D7AE7C5807FCA934C02E8FE1765031E4B4FC3B" x1="38.45" width="0" y1="53.6" height="0" FileName="" pageRF="" roleId="1" FilePath="" externalLinkURL="http://...._hsw_hswsnake.pdf" title="A visual ...Works." index=""> <role id="34" action=""/> </hotspot>' DECLARE @sql NVARCHAR(MAX) SET @sql = 'UPDATE Tbl SET col.modify('' insert ' + @insertXML + ' into (//page[@id=sql:variable("@page1"

access denied execute permission (how to resolve?)

hi theremy company create for me a new database in new server hostingthe problem is that with new user's database, i cannot execute SPit return error that the user "username" do not have execute permissionthe actual permission are :db_datareader,db_written,db_ddladminit seems not enoughtmust i ask for add  db_owner schema rom to user?

Interesting error message with content organiser: Cannot resolve mailbox (null) to a valid user

Here is a site with content organiser site feature enabled, as well as the email integration feature. Emails are successfully delivered to the "Submitted Email Records" list, but is never routed to the Drop Off Library. (the content organiser web service works fine and the drop off library works as a custom send to destination and happily processes its rules. If I turn up the debug juice I get the error "Cannot resolve mailbox (null) to a valid user" for every item in any "Submitted Email Records" in the site collection. Area: Document managagement Category: Content organiser EventID: 8000 Message: Cannot resolve mailbox (null) to a valid user I have temporarily worked around the problem by email enabling the drop off library but it creates an intermittent race condition (similar to certain workflow and event receiver situations), so its not a real solution (and in fact I assume thats why the Submitted Email Records hidden list exists in the first place). I've run procmon, specifically focusing on OSWTIMER and nothing interesting shows up at all. The error message is intriguing and I can't really think of what it is trying to do. In troubleshooting I noted that this farm had configured inbound email but not outbound email. I have since rectified this and de/reactivated the content organiser features and reset the timer service and IIS, b

How to resolve Shared Services Provider creation failure?

I would like to ask for support regarding this problem: SSP provisioning will be retried periodically. If you correct the error that caused this failure, provisioning will subsequently succeed. To stop provisioning from being retired, delete the SSP. I'm creating a New SSP & everytime I create, I received that message. I tried to reset the IIS already, restart the machine, but still I received that error after I create a new SSP. Wait for soonest advise!

Help resolve an issue for importing data

Hello All, What is the best way to get info from a directory on machine to import into SQL?  I basically need the file path and file size of a certain directory.  I tried using the command prompt and print to a text file, but I can't find a way to get JUST file path and file size.    I'm looking into some free software online like "Treesize" but I'm not sure that'll do it. I know I can do this prgrammatically, but I'm just curious to see if there is a faster way because I am dealing with large directories. Any suggestions would be appreciated. Thanks!

ORA-12154: TNS:could not resolve the identifier specified

HiI have been trying to connect to Oracle from .net now for a working day and a bit.I have solved a number of errors and each time i do i get another one.The above error is where i am at nowhttp://ora-12154.ora-code.com/this link gives some pointers on how to avoid or solve it, i think all the suggestions are covered and it still occurs.could anyone shed any light please?thanks in advance 

How to resolve "Performance counter registry hive consistency check" failed?

I want to install SQL Server 2008 November CTP Developer Enu. When "System Configuration Check" it shows: Rule "Performance counter registry hive consistency check" failed. The performance counter registry hive is corrupted.   And cannot continue installing. How to solve this problem?

Help to resolve an error "The conversion of a char data type to a datetime data type resulted in an

Why am I getting an error when executing this: select convert(datetime, '2010-09-12T18:11:48', 120) The message is: "Msg 242, Level 16, State 3, Line 1 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value." I don’t get the error if I remove “T” from the string. But I need it to work with “T”.

Using Tilda in code-behind to resolve URL

Hi all,How can I resolve a URL in code-behind please?If I use the folllowing line it just returns the string without resolving the tilda?string imagelocation = "~/images/news/thumbnails/";RegardsMelt

sp_cmdShell fails to resolve remote server

Hello, I am trying to access a file on a remote server with sp_cmdshell and it fails to resoolve the server name.  A simple test is: 1) Running it with the server name "exec sp_cmdshell 'dir \\server\sharedFolder\file.txt'" fails with access denied. 2) Running it using the ip like "exec sp_cmdshell 'dir \\{server IP Address}\sharedFolder\file.txt'" works. I checked at the OS level remote server resolution and works: At a cmd window both "dir \\server\sharedFolder\file.txt'" and "dir \\{server IP Address}\sharedFolder\file.txt" works ok. So, the server is resolving names correctly, but fails within SQL. I'll appreciate any ideas. Carlos

How to resolve Task Errors?

Hello All,   I've assigned some users an approval workflow. They received notification via email. when he clicks on 'Open this Task' in outlook2010 he gets the following Error dialog box(Working fine in Outlook 2010): 'An error occurred while opening the form saying that "Outlook could not open this form.To open the following form access is required and displayed URL . This could be caused by not having Permissions.' I've checked and the workflow task permissions, do exist. What other things could be causing this? Samething working fine in Outlook 2007. Any suggestions? Thanks. Sathi

How tp resolve issue releated to DAC PAckage

Hi,       I am using SQL Server 2008 R2. When I try to generate DAC from SQL Server I receive a message on one of my objects which is using synonums for other database. It refuses to build the package. Can anyone tell me since I have to manage the DAC package and link to other database objets also What should I do? Nilkanth Desai  

People Picker fails to search or resolve and return an error message.



I got an error while trying to access the people picker from some specific locations. I'm experiencing those problems ONLY in the cental administration and also there, just on a few places. For example if I try to change the authorization settings of any service application there is a different people picker pop up than, for example, if I want to change the admins of any service application. Any other people picker window outside the central administration works for me.

So it seems to me, that there are two different types of people picker windows. The one which is not working for me also appears in the metadata service application which is the reason I can't use this service as I'm not able to define an owner of a keyset.

In the error log I found the following message: "Ausnahme im Forderungsanbieter 'Alle Benutzer' beim Aufruf von 'SPClaimProvider.FillHierarchy()': Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt." It basically says: An exception occurred in 'all users' claim provider when calling 'SPClaimProvider.FillHierarchy()': The object reference was not set on a object instance. This is event-id 8307 which you can find here: http://technet.microsoft.com/en-us/library/ff535778.aspx

How to resolve InfoPath form in SharePoint?


Hi! I have created a form in InfoPath 2007 & Published it to our SharePoint Server 2007 Enterprise. I have checked the InfoPath configuration, @ Central Admin, everything's fine. Kindly check the E-Form image http://www.freeimagehosting.net/image.php?66dbb6c43c.jpg, that was the form I created, opened from clients browser, I test fill-up the form, send, at first time, it worked. Then I tried to fill-up & send again, by this time, I got the error (from the 2nd image, http://www.freeimagehosting.net/image.php?e4ca5ec9f1.jpg). It says that I must check the error, check if I miss some "*" but I filled up everything, but I can't send anymore. I don't know know where to check, what to do next, etc. Kindly advise, do I need to refresh something or reset?

Second, how can I protect for the form that was approved already & list into the our IT Form library, other users can open it & delete or change some data inside. How to protect the data from other users? Bec. if I set other users to be READ only, they can't open the form. The "NEW" will not be visible to users who are set to be READ only. So I set other users to be Contribute level, so the NEW will be vis

how to resolve conflict when using sql service broker to do bidirectional replication?


greetings ,,

after spending days in search about the best practice to make bi-directional replication between 2 databases on 2 distributed sql server instances ,,i have found that sql server service broker is the most suitbale with my business req to use as i have a problem with the updatable subscrption replication due to leased line between networks in 1 MEGA and it will be large amount data that will be replicated and that will not work as the latency will increase ,,but i need some help to know how can i resolve these conflicts when i am using sql server broker service:

1-If you insert a record that has a key into a table on one of the servers and another record that has the same key already exists on the other servers that participate in the replication, the replication does not propagate the changes to the other servers.

2-When you update a column in a record that is updated at the same time on another server, the data may be different on the two servers.

3-When you update different columns in a record, simultaneous updates of different columns of a record may sometimes lead to conflicts.

4-When you delete a row that is being deleted at the same time on another server that is participating in the replication, the replication fails because the DELETE statement does not affect any rows on some of the subscribers.


ORA-12154: TNS:could not resolve the connect identifier specified


I have a fresh install of 10g ODAC that I have loaded. My Oracle client interface connects to the db just fine but when I attempt to connect with my ASP.NET project, I get the following error: ORA-12154: TNS:could not resolve the connect identifier specified

Can anyone help out on this?

How to resolve this error? - Database on SQL Server instance is not empty and does not match current

Upgrade form MOSS 2007 to Sharepoint 2010.  Reviewing the event log I see the following error.  Not sure what to do and hoping someone can provide some guidance please.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend