Forum Replies Created
-
AuthorPosts
-
July 11, 2006 at 6:37 AM in reply to: Loading InfoPath templates to BAS SharePoint site failed #13994
While configuring BTS2004 I reached this error \”Loading InfoPath templates to BAS SharePoint site failed \”.
Installed software
– Windows 2003 with SP1
– SQL 2000
– Office 2003 (full installation)
– VS NET 2003
– BTS 2004 + SP1
– domain accounts used (DC installed apparently)What is the solution of this error? Is this because of SP1 of Windows 2003? or I have to give some permissions to used accounts?
Hi Everybody! Can anybody explain me how to migrate projects from one machine to another.
I have installed and configured BTS 2004 on a single machine(machine1), and now I want to install another BTS 2004 on a different machine(machine2). But we have some projects developed on machine1. How can I migrate these projects on machine2, what files I have to save, what databases I have to copy, etc ?
P.S. BTS2004 installed on machine2 will use domain accounts (DC will be installed apparently). And by the way, if somebody have installation guide of BTS2004 in a multiple environment (not official Microsoft guide, but real working insatallation), please send me to [email protected]
A couple of things I see:
1- You’re creating a BinaryReader you’re not using
2- Have you tried not doing this:
pContext.ResourceTracker.AddResource(OutputStream);Other than that, I don’t see anything else that could be the problem (though the code is very inneficient and could certainly be made to work in a totally streaming fashion, I think).
Okay, you are confusing me. You mentioned the \”biztalkdev\” machine, but now you say you are not using it!
It’s your choice where you want to develop. There are two schools of thought:
1) Develop on your own machine
2) Compile on your own machine, then deploy/test on a shared development server.It depends how many Biztalk developers you have, and how complex your environment is, etc…
If you are new to Biztalk, you should probably just test something on your own machine first, that would be the simplest of all scenarios to learn with. If you are running on your own machine only – forget about the UNC names for now.
Let’s forget about the second machine, and get you working on your machine. Then if and when you are ready for the other machine, we will address those issues and questions.
If you drop a file, and it is not picked up by Biztalk – there are only a few possibilities – probably already mentioned in previous messages of this thread:
1) Biztalk gets an error and writes the error to the Application Event Log.
We have asked you several times to check there, but I think you said you had not messages. This is hard to believe. Biztalk can get errors if the directory specified in the Receive Port doesn’t exist or is misspelled, or Biztalk doesn’t have full security to the directory.2) The other reason that Biztalk doesn’t pick up the file is that the port is not started, or Biztalk is not started.
3) Another possibility that would not generate an error would be that the directory where you are dropping is not the same as the directory specified in the Biztalk receive port.
I really cannot think of any other reasons.
Neal
Hi,
I’m having the dreaded \”Unexpected end of stream while looking for:
Positional data\” error with a positional file. I’m pretty new to working with flat files in BT (and pretty new to in-the-trenches BT to be honest). I’m trying to parse the following file and can’t quite figure out what I’m supposed to do. I could really use some help on this ASAP if you can. Also I would be happy to send you my schema via e-mail (jscolamiero _theat_ antekhealthware _thedot_ com).Thanks in advance!
-Jon
BEGIN FILE
————-
REPORT-ID: EPR500R1-ACC-FILE BLUE CROSS AND BLUE SHIELD OF GEORGIA PAGE NO.: 002
GRP CONTROL: 140701565 EDI SERVICES DEPARTMENT RUN DATE: 06/30/06
FORMAT ID: ANSI EMC TRANSMITTAL REPORT RUN TIME: 06.50 AMSUBMITTER: CYCARESYSINC
LINE OF BUSINESS: BCBS ——— PROVIDER INFORMATION ——–
ID: 854345 INTERNAL ID: 08758
NAME: GENESYS OBGYN
ATTN: GENESYS OBGYN
ADDR: 245 GREENCASTLE ROAD
TYRONE GA 30290MEMBERSHIP PATIENT PATIENT PATIENT SERVICE CLAIM
ID ACCOUNT NUMBER LAST NAME FIRST NAME FROM DATE TOTAL CHARGES LOBXKH363A6516002 1861C263X COLLINS TONYA 20060414 $ 120.00 QCR_P
XKH931A15178 02 2170C263X DENNEY CAROL 20060626 $ 148.50 QCR_P
XKC977A65373 02 2174C263X RODRIGUEZ SONYA 20060626 $ 292.50 QCR_P
XKC289A70758 01 2180C263X WORMUTH AMANDA 20060626 $ 133.50 QCR_P
** FILE CONFIRMED – SEE CLAIMS ERROR REPORT FOR CLAIM ERRORS **
TOTAL CLAIMS RECEIVED TOTAL CHARGES
——————— ————-
4 $ 694.50
———–
END FILE
———–The ‘OutPutFile’ i give back to the pipeline is the Zip file i create in my pipeline component.
i create it on the filesystem because the file dosn’t come correctly out of the pipeline.
so i create it as a file in the filesystem to test if the file i create is correct.
at this, i see that my problem shut bee in the return part of that programm.
when the component will be work, i will be create the file as a memfile.so i hat some problems to publish the full code sequence at the last time, i try it again.
[code:1:f514ef8a27]
IBaseMessage Microsoft.BizTalk.Component.Interop.IComponent.Execute
(IPipelineContext pContext, IBaseMessage pInMsg)
{Stream strmInputFile, DataStream;
string MessageID;
string BizTalkTempFolder = \"c:\\\\BizTalk_Temp\\\\\";
IBaseMessagePart MsgPart, RecendFileName;
byte[] ZipBuffer = new byte[32768];
Int32 bytesRead;
MemoryFile memFile;MsgPart = pInMsg.BodyPart;
strmInputFile = MsgPart.GetOriginalDataStream();
MessageID = MsgPart.PartID.ToString();memFile = new MemoryFile(\"RAM_File\", MessageID);
// memFile = new MemoryFile(\"RAM_File\", \"TEST_ZIP.zip\");ZipArchive ZipFile = new ZipArchive(new DiskFile(BizTalkTempFolder + MessageID));
// ZipArchive ZipFile = new ZipArchive(memFile);
ZippedFile file = (ZippedFile)ZipFile.GetFile(ZippedFileNameString);if (!file.Exists)
file.Create();// Wirte Information into ZipFile
DataStream = file.OpenWrite(true);
bytesRead = 0;
// Loop to write in 32k parts.
while ((bytesRead = strmInputFile.Read(ZipBuffer, 0, ZipBuffer.Length)) > 0)
{DataStream.Write(ZipBuffer, 0, bytesRead);
}
DataStream.Close();
if (SelfExtraction)
{//Create Selfextraction File
// Change its extension to .EXE.
ZipFile.ZipFile.Name = MessageID + \".exe\";// Create and configure a XceedSfxPrefix object.
XceedSfxPrefix sfx = new XceedSfxPrefix(new DiskFile
(@\"C:\\Programme\\Xceed Components\\Bin\\Sfx\\xcdsfx32.bin\"));// Assign the prefix to the zip file.
ZipFile.SfxPrefix = sfx;}
FileStream OutPutFile = new FileStream(BizTalkTempFolder + MessageID + \".exe\", FileMode.Open , FileAccess.Read);
BinaryReader OutStreamBinary = new BinaryReader(OutPutFile);MemoryStream OutputStream = new MemoryStream();
byte[] OutBuffer = new byte[ 1024 ];
int OutBufferRead;while( ( OutBufferRead = OutPutFile.Read( OutBuffer, 0, OutBuffer.Length ) ) > 0 )
{
OutputStream.Write( OutBuffer, 0, OutBufferRead );
}OutputStream.Position = 0;
MsgPart.Data = OutputStream;
pContext.ResourceTracker.AddResource(OutputStream);// OutPutFile.Close();
// delete OutPutFile.return pInMsg;
}
#endregion
}
[/code:1:f514ef8a27]There are different results (at least in the sequence), but they both ran without errors.
Output from .NET XSLTransform:
[code:1:2e0b09606e]<?xml version=’1.0′ encoding=’utf-8′ ?>
<root xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:msxsl=\"urn:schemas-microsoft-com:xslt\" xmlns:userCSharp=\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\">
<node_type_2>type2, data 1</node_type_2>
<node_type_2>type2, data 2</node_type_2>
<node_type_2>type2, data 3</node_type_2>
<node_type_1>type1, data 1</node_type_1>
</root>[/code:1:2e0b09606e]Output from .NET XSLCompiledTransform:
[code:1:2e0b09606e]<?xml version=\"1.0\" encoding=\"utf-8\"?>
<root xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:msxsl=\"urn:schemas-microsoft-com:xslt\" xmlns:userCSharp=\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\">
<node_type_1>type1, data 1</node_type_1>
<node_type_2>type2, data 1</node_type_2>
<node_type_2>type2, data 2</node_type_2>
<node_type_2>type2, data 3</node_type_2>
</root>[/code:1:2e0b09606e]Hehe, the most posts on a thread … that’s something i’ve acheived then :'(
For a start I haven’t got any orchestrations yet, i’m just dealing with messages and ports, copying a file to the receive location and seeing a copy or transformed xml file appear in the send port location. The most basic of basic processes 🙁
I have not deployed anything to the \”biztalkdev\” machine (do not currently have remote desktop access), only to the GAC locally and to the BizTalk Config Database.
This is the whole problem I am confused as to where the assemblies should be deployed to and where the file drop points should be in relation to me developing the app on my local machine and the location of the BizTalk server and config database.
So, in a nutshell (please confirm):
1. Deploy the assemblies to the \”biztalkdev\” machine.
2. Have UNC names pointing to the \”biztalkdev\” machine for the send and receive ports (as the port setup is in config db on different server)
3. Perform file drop offs on \”biztalkdev\” machine
4. Watch in amazement as it all works …..How do add the assemblies to the GAC on the \”biztalkdev\” machine? Remote desktop in and use the BizTalk Deployment wizard or use command line (in which case how)?
Cheers
I have no idea about SP1. Did you other specific questions?
HWS is undergoing major changes or replacement in the next release.
We seem stuck in limbo now. You might also research WWF (Windows WorkFlow).The other alternatives are third party vendors such as Ultimus or K9.
We use Ultimus where I’m working now. It’s very cool. Biztalk sends messages to an orchestration that then calls a web service that posts \”incidents\” or \”tickets\” to Ultimus. There are different support teams, such as the \”call center\” and the \”income processing\” group. Tickets are routed to the appropriate group, and they can also route to each other. Eventually the message comes back to Biztalk with a Cancel, Manual, or Completed response code, and the orchestration continues (all done through correlation).
Within Ultimus, the Ultimus programmers can create .NET web pages that display information about the ticket and potentially allow the user to update our back-end system, or just add data and to the XML that is sent back to Biztalk.
Neal
[quote:ae6297acfb]We have biztalk server set up on one machine \”biztalkdev\”.
I have biztalk 2004 setup on my pc (for development) and in my biztalk admin console when I right click on \”MS BizTalk Server 2004 (local)\” and select properties, the \”biztalkdev\” server is defined as the \”Enterprise single sign on server name\”.
The biztalk configuration database is also on a separate server.So with this setup in mind what can you suggest? I guess with the receive locations and ports etc being set in the biztalk configuration db, the addresses to the file locations need to be UNC names to the biztalk server or, if I wanted, to my local machine? [/quote:ae6297acfb]
You probably need to start using Remote Desktop to logon to the \”biztalkdev\” machine. You need to look at the Application Event Log on the \”biztalkdev\” machine.
Yes, if you are running your orchestration on \”biztalkdev\” machine, and files are not on \”biztalkdev\” machine, you need to specify UNC names (and of course set up the security).
But you really need to get to the Event Log to see the errors you are getting!!!
Also, I assume you Deployed your Orchestration to the \”biztalkdev\” machine, not to your machine.
Congratulations – I think this is the thread with the most posts!
Neal
I have an orchestration without any exception block.
When there is an error I can see the details in the event viewer.However, after I added some exception logic I cannot see error in the EV.
Why? Should I write it manually: system.diagnotstic ?Hi
Thanks for your patience on this.
My setup is as follows.
We have biztalk server set up on one machine \”biztalkdev\”.
I have biztalk 2004 setup on my pc (for development) and in my biztalk admin console when I right click on \”MS BizTalk Server 2004 (local)\” and select properties, the \”biztalkdev\” server is defined as the \”Enterprise single sign on server name\”.
The biztalk configuration database is also on a separate server.So with this setup in mind what can you suggest? I guess with the receive locations and ports etc being set in the biztalk configuration db, the addresses to the file locations need to be UNC names to the biztalk server or, if I wanted, to my local machine?
Cheers
hello, Wondering if someone can help me out?
Yes, i’m using this properties in Correlation Sets. It’s the state of the infopath form.
So a Distinguised field is not possible.
-
AuthorPosts