Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

WebArticlesForumsFAQs
JavaScript
ASP
ASP.NET
WCF

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

Operating SysArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Lounge
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

  View Other BizTalk Posts   Ask New Question  Ask New Question With Power Editor

Unexpected end of stream while looking for : '\r\n'
bopanna md posted at Sunday, November 01, 2009 3:10 PM

Hi.. I have been looking up to Egghead for resolution of most of the issues that I encounter with BizTalk.. I hope to get assistance with this query of mine..

I have a BizTalk application that was running fine on one Server. This application receives flat files as part of Inbound, updates a SQL database and then sends out a set of batch files in flat file format at the Outbound, at regular intervals. Very recently, we received new Servers since the existing ones were due to be decomissioned. So, as part of migration of all applications on the old server to the new one, this BizTalk application was also migrated to the new server.

The installation of the application is very straight forward. Run a MSI file which sets up the application. There was no modification to the BizTalk solution. The installation was successful. The very same DLL s that were part of the application in the old server are still part of the application in the new server. However, when I try dropping a flat file at the Inbound, I get the following error : ----------------------------------------------------------------------------------------------------------------------------------------------------------------"Unexpected end of stream while looking for : '\r\n' .. The stream offset where the error occured is 657. The line number where the error occured is 2. The column where the error occured is 109."

--------------------------------------------------------------------------------------------------------------

I have successfully validated the Flat file against its Schema and test mapped it against the Map. So, the issue appears to be neither with the BizTalk solution nor with the Flat file.  It is quite strange to me since, the file that works successfully on one server fails to work on the new server. 

Can you please help me out with this sticky situation... Any advice will be of greatest help.

Thank you - Bopanna 

Reply    Reply Using Power Editor
Mechanical engineer by profession. Biztalk developer by occupation.. Versatility is one thing I would like to experience...
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0
Unexpected end of stream while looking for : '\r\n'
Pavana Kumari provided a rated reply to bopanna md on Wednesday, November 04, 2009 7:17 AM

Can you please check the input instance you were giving as the Input file for the Application. This error generally occurs when the input file has no data that is as defined in the Schema.

In your case, give the Enter in the Line2 after column 108. Test the application now. It should work.

 

Reply    Reply Using Power Editor
  Rank Winnings Points
November 45 $0.00 3
October 0 $0.00 0