473,568 Members | 3,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invalid Buffer Error (Hotfix 815494) and ADO.NET and Framework 1.0

Hi,

FYI,

We were able to fix a problem we had with SQLServer after Hotfix
815495 was installed.

Our application, written in VB.NET, with ADO.NET under .NET framework
1.0, would generate an SQL exception of "General network error" or "A
severe error occured on the current command. The Results, if any,
should be discarded". At the same time this error would occur in the
application, an exception would occur in SQL Server and the message
would be "Invalid buffer".

Our application would not generate the exception if run under .NET
framework 1.1, but we would have a bunch of other problems with
Crystal Reports.

The error would occur with inserts on that specific table that had a
field of type "Text". A thorough investigation revealed that the
Adapters created by the VS.NET Code Generators (dragging og an
SQLadapter Icon onto a Web Page or a Data Access Component) would be
generated with code that generate that error.

The Update Command as well as the Insert Command Parameters would
have that field defined as a System.Data.Sql DbType.VarChar( 2147483647)
instead of System.Data.Sql DbType.Text. The Changing to
"System.Data.Sq lDbType.Text" fixed the problem WITHOUT having to
migrate to the .NET Framework 1.1.

Regards

JFG

PS. The Knowledge base from Microsoft as well as their MSDN site are
totally silent on that topic... If anybody from Microsoft reads this,
Please update your site appropriately.
Jul 20 '05 #1
0 1550

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
822
by: Ivan Debono | last post by:
Hi all, I have Windows 2000 Professional SP4 with all latest patches & hotfixes. I'm trying to install Visual Studio 2003 and it fails when it tries to install the framework. The error is 1603. I've been searching around and read that this could be caused if a particular hotfix is installed. The problem is that the hotfix listed in the...
0
442
by: SqlJunkies User | last post by:
I have pretty same problem with XmlDocument.Load(). It seems to appear after KB834623 hotfix installed. Here is the information to reproduce error: Technical info: • Windows XP Professional SP1 • .NET Framework 1.1 • KB834623 hotfix for .NET Framework 1.1 installed (installing with .NET Speech SDK 1.0) Steps to reproduce: 1. Create...
1
3042
by: Mike Turpin | last post by:
Can anyone provide some help on this issue? Our code works fine on a single machine but in a web farm environment we get the following error. The View State Is Invalid for This Page and Might Be Corrupted Things we have tried We are not using server.transfer. We have verified the machine keys in the machine.config file on both nodes of...
0
1182
by: Geraldine | last post by:
When I run my asp.net application on a web farm I get the following error "The viewstate is invalid for this page and might be corrupted" Microsoft Knowledge Base artice 323744 talks of this problem and mentions a hotfix which is not available on the web site. Has any-one else resolved this problem ? Does any-one know where I can...
4
1234
by: Michelle A. | last post by:
We are experiencing the invalid viewstate error on our pages. Considering the sheer number of people complaining of this problem, I hope a patch is on the way... SOON. Here are the details: Both server and clients are running Framework 1.1. We are in a single-server environment. We have tried the TemplateSourceDirectory fix, the machineCode...
3
1921
by: Mark | last post by:
Hello, Recently I have not been able to open an asp.net page in MDE's web from designer. I recieve the following error: "The file failed to load in the web from designer. Please correct the following error, then load again: Not enough storage is available to complete this operation" I have 54Gigs of free space and a gig of ram. ...
3
4821
by: Neter Smith | last post by:
I have run into a problem when trying to import a WSDL reference under VS 2003 and 1.1 of the framework. It appears as if it is in the generation of the proxy that things are failing. When I add the reference, I get the following error: C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet\OblixSampleForDotNetWSDL\Web...
0
440
by: Danny | last post by:
Hi, we just have launched our first beta version of our new product page which was developed with ASP.NET. Now we noticed that we sometimes get the error attached below. After a little web research, we then could find out, it's a bug of the latest .NET framework and that there is a hotfix out...
8
1368
by: KunalDesale | last post by:
Hi, I am using VB.NET and SQL Server 2005 for devlopement of one software. I am getting syntax error at run type only on live system. If try to recreate it on my machine with same data I don't get that error. I fill that its .net error. Can you suggest something where it whould be going wrong.
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.