Not able to access the context in custom functoid
Hi,
Below is the code referred from
https://contextaccessor.codeplex.com/,
Implemented this Custom Pipeline component in the Resolve Part stage:
The below code under Class = AccessContext
[ThreadStatic]
internal static IBaseMessageContext context;
Public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
context= pInMsg.Context;
return pInMsg;
Custom Functiond:
When i try to access in the custom functoid,
IBaseMessageContext msgContextFunctoid= AccessContext.context;
"msgContextFunctoid" this is returned as "null"
What i am doing wrong here. Please help.
Thanks,
Sathish
I would suggest to use latest contextaccesor functiod from below location
improved-context-accessor-functoid
You can find the DLL in /ContextAccessor/bin/Debug
Maps used in a Receive Port
Grab the .dll
Save the .dll to \Microsoft BizTalk Server \Developer Tools\Mapper Extensions
Save the .dll to \Microsoft BizTalk Server \Pipeline Components
GAC both assemblies
Add the functoids to your functoid Toolbox
Toolbox>Right Click>Choose Items…>BizTalk Mapper Functoids
Drop the functoid into your map, and configure it
Add the ContextAccessorProvider pipeline component to your pipeline Toolbox
Toolbox>Right Click>Choose Items…>BizTalk Pipeline Components
Drop the ContextAccessorProvider pipeline component into a pipeline at the ResolveParty stage
Similar Messages
-
SQL2005 on winserver 2003. I have a view in Xdb that accesses tables in 2 different databases (Xdb and Ydb) on the same server. I have mixed mode security. I have a SQL user (XYuser) that has read access to all tables and views on both databases, yet when I try to access the view using a C# windows application I get the following error:
The server principal "XYuser" is not able to access the database "Ydb" under the current security context
This same scenario works under SQL 2000. I looked through the postings and tried to set TRUSTWORTHY ON on both databases but that didn't help. I can access any other views or tables on the SQL 2005 server, just not the one that joins the tables cross databases. Any help is much appreciated... johnThis appears to be a Login/Database Mapping issue. I was having this problem, but was able to resolve it as follows:
Using the SQL Server management Studio:
In the Object explorer, under the SERVER security folder (not the database security folder), expand Logins.
That is: ServerName -> Security -> Logins
NOT: ServerName -> Databases -> DatabaseName -> Security -> Users
Select the Login that is having the troubles. Right click on the Login and select ‘Properties.’
The ‘User Mapping’ page should list all databases on the server with a check mark on the databases that the Login has been mapped to. When I was getting the error, the database in question was not checked (even though the Login was assigned as a User on the database itself). Map the Login by checking the box next to the database name. Set the default schema. Then select the roles for the Login in the Database role membership list box. I selected db_datareader and public. After clicking OK to save the changes, the problem was resolved.
In order to ‘Map’ the Login, the Login must not already be as User on the database, so you may have to go to the database security (ServerName -> Databases -> DatabaseName -> Security -> Users) and delete the Login from the list of database Users before mapping the Login to the database. -
User has contribute access but he is not able to access the site collection...
User has contribute access but he is not able to access the site collection...
What error does he get.
Can you share fiddler trace(check if any 404 error)
what error do we see in ULS Logs
Create disableloopback
registry on server
http://support.microsoft.com/kb/926642/en-us -
Not able to access the multi-source universe in WebI
Hi
I am not able to access the multi-source universe in WebI, getting below error message.
[Data Federator Driver] Unexpected exception: com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN: null | [Data Federator Driver] Failed to connect to any of the provided 'Central Management Server' hosts.
And also Not able to perform anything to designing multi-source universe in business Layer.
Universe back-end is
Oracle 11g and
SQL2008 DB
Version IDT: 4.1 Support Pack 2
SAP BusinessObjects BI Platform 4.1 Support Pack 2,Hi Sreeni,
You can create a new APS in CMC containing the Data Federation Service with
-Xmx2g -> 8g (This is the suggested range)
Make sure you remove this service from the existing APS and then create a new one.
You could refer SAP KBA 1694041 - BI 4.x Consulting:- How to size the Adaptive Processing
Server (APS) which would assist you in sizing the APS.
Regards,
Manpreet -
Not able to access the Database & Clusterware from OEM Console.
hi,
I had installed Oracle RAC 11g R2 in RHEL 5.3 Operating environment. I had installed my Oracle RAC with Enterprise Manager Console.
Its with the defailt port 1158. After the installation when i try to access my EM Console, i was not able to access the Database and Clusterware from EM Console.
When i access the EM console with url, I found with Startup and Perform Recovery option. But whereas my database is already startup and running.
So when i click startup its saying database is already started. Since it is a prodution environment i dont want to go with Perform recovery option.
Please tell me hw to attach files in this thread so that i can send the snap shot of the console for your reference.
with regards
A.Aravind
Edited by: 795847 on Sep 21, 2010 10:40 PMhi,
As mentioned due to not having the default listener port 1521, we are facing this problem.
As meniotned i had changed the emoms.properties file and changed the port and my emctl page is opening.
But am not able to access the other parameters like ASM, Servers, Clusters etc bcoz since in some file it is looking for 1521 default port.
So is it better to go for emctl deconfig and config again or to change the port the files which required.
If i do in what are the file the default port will be located related to emctl.
with regards
A.Aravind -
Not able to access the internet SOlaris 10
I have installed solaris 10 and it is in subnet but no router. I was not able to access the internet.
hostname.e1000g0
hostname.hme0
hostname6.e1000g0
When I create the file dhcp.e1000g0 internet works but the hostname becomes unknown.
Can someone please help me ?route add default 192.168.1.55 (Ipaddress of default gateway)
DHCP able to find it dynamically but once dhcp is off we need to mention it.
Makes it work. -
I do not have a Mac but I want to give a software program for a Mac as a gift. I am not able to access the Mac store. Do I just get an iTunes card?
"Gift Card" is sometimes called a tacky gift, but if it allows the other person to get whatever they want it works.
Besides, anything purchased through App Store is usually "All Sales Final", so I think iTunes card is a good idea. -
I have just recently brought the blackberry curve 8310 and i am not able to access the internet, MSN etc.
I rang my phone company(Crazy Johns) and they saif i cannot use the internet on this phone because they don't sell it anymore and i need a setting for it to work.
Can you please help me with this?
Thanks Matthew.Hello,
The services you listed in your post will require a data plan which is provisioned by your wireless provider. You may want to contact your wireless provider to see if you have the correct plan.
Cheers,
-FB
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.
Click "Accept as a Solution" for posts that have solved your issue(s)! -
I am not able to access the sharepoint:80 site using the local IP address.
I am able to access the Central administration using the Local LAN IP address and the port number, but, I am not able to access the sharepoint:80 site using the same local IP address without the port for the central administration. I tried adding
the local IP address in the Alternative Access Mapping to no avail. Any ideas, where I should look, is much appreciated.Hi,
By my test, I set the Alternative Access Mapping for the SharePoint 80 port web application as below and it works fine:
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
I am not able to access the internet without wi-fi after updated to iOS 7.0.4. Please help!
Hello sweetracy,
The following article can help restore and stabilize your cellular data connection.
iPhone: Troubleshooting a cellular data connection
http://support.apple.com/kb/TS3780
Cheers,
Allen -
I am not able to access the "featured" and "top charts" in the app store
I am not able to access the "featured" and "top charts" icons in the app store. Everything else works fine.
Here I am using Java Type IV for database
connection.
So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then. -
I am not able to access the App Store on my Iphone 3GS with IOS 6.01, however i can access the same on my laptop when i connect my phone to my PC. Any suggestions on this.
varunsharmaapplefan
http://support.apple.com/kb/ht5209 might help you. An iPhone 4 can airplay content from apps that support airplay and iTunes but it cannot mirror. If your game does not have airplay in the app you cannot mirror it to the apple TV so I don't know if you can play just the music. You should have no problem playing your iTunes over airplay though.
This may also help http://support.apple.com/kb/HT4437
Regards
Jules -
I am not able to access the "Settings" on my iPad 3. I just get a gray screen for about 30 seconds and then the app shuts down. I am also unable to access the App store, iTunes, or any app requiring an internet connection. Any thoughts?
First, try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If the Reset doesn't work, try a Restore. Note that it's nowhere near as quick as a Reset. Connect via cable to the computer that you use for sync. From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. Again, say "yes." -
I'm not able to access the thumbnails of my open web pages. Why?
I'm not able to access the thumbnails of my open web pages. Why?
Oh ok, that explains it. Thank you so much. I'm still getting use to my ipad2. I've only had it for about three weeks
-
Not Able to Access the Properties of Workspace and Target
Hello
I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application) then window will not open.
Please provide me some suggestion on this issue.
Thanks
Amit MaheshwariHi,
You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
PowerBuilder Developer Center
Thanks,
Ben
Maybe you are looking for
-
I have recently upgraded my laptop operating system from Vista to Windows 7. i tunes is asking me to sync my i pod, because it is recognising the Vista laptop and not the Windows 7. All my music has gone from i tunes library but it is all stored in W
-
Indesign CS4 in Mac 10.6.8, sometimes won't show files, sometimes won't show tools. Like I click to open a file from the finder, and Indesign makes that temporary file in the finder, but won't display the pages. At other times I can have the pages di
-
how to write a function to change foot,solid meter,fathom,sq.feet,sq.meter,decimal acres,Kilometer into acres.
-
Does Encore CS4 has Autosave function like Premiere Pro
I don't seem to find about it. Recently I had a project that suddenly lost it's menu and so was replaced by a template. It was fidly an busy so I would love to get it back without redoing it. (Butons, links and all) Thank you for your time MM PS I ju
-
I have lost my I-Phone. Is there a way to wipe it even though I can not find it?
I have lost my I-Phone. Is there a way to wipe it clean on line without access to the phone itself?