473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Weird problem with .Net framework 1.1 on windows 2k server

I have this very weird problem that I couldn't find reported anywhere.
I have an asp page that executes an MS SQL stored procedure and
assigns the output value to a variable. It's been working fine until
..Net installed. The value assigned to the variable become junk
"77073993" or something instead of the correct id of the newly created
record. After uninstalling .Net, it's back to normal again. Maybe
because .Net is used to variable type declaration like Dim i As
Integer while asp you only do Dim i?

cmdUpdateHistInfo.CommandText =
"dbo.usp_Docsynergy_InformalConsults_Chart_InsertN ewChart"
cmdUpdateHistInfo.Parameters.Append
cmdUpdateHistInfo.CreateParameter("@strCreatorUser Code", 200,1,25,
UserCode)
cmdUpdateHistInfo.Parameters.Append
cmdUpdateHistInfo.CreateParameter("@strConsultID", 200,1,25,
ConsultID)
cmdUpdateHistInfo.Parameters.Append
cmdUpdateHistInfo.CreateParameter("@intChartIDOut" , 3,2)
cmdUpdateHistInfo.Execute,,ADODB.AdExecuteNoRecord s
ChartID = cmdUpdateHistInfo.Parameters.Item("@intChartIDOut" ).Value
Nov 18 '05 #1
0 938

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

Similar topics

13
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
9
by: deko | last post by:
I'm confused about what I can use C# and VS.NET for. I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use? If I want to build a basic VB app, I assume I can use the VB 6...
1
by: wASP | last post by:
Hi, I'm a newbie starting up with ASP.NET, and I'm getting off to a wonderful start - and when I tell you "wonderful" I'm being sarcastic. My OS is Win 2000 SP4 - and I'm using IE6. I've...
6
by: Angel Mazo | last post by:
Dear all, I have a very weird Access 97 MDE behavior that I don't know how to explain and, of course, how to solve: .. I have a site with 14 PC's, mixed Windows XP Pro and Windows 98, running...
1
by: Mythran | last post by:
I keep getting the exception, "Cannot open database requested in login 'dbblah'. Login fails. Login failed for 'domain\user'". I have ASPNET setup as the user in IIS, identity impersonate is true...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
3
by: JV | last post by:
Our site just built a machine to host a TEST version of a web site. The site works fine on other servers, but on this one the home page is displayed as if the ASPX file were just .TXT file. It...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
10
by: David Thole | last post by:
Hey all, I'm still very new at all this, but am going through the ASP.net 2.0 unleashed book, first chapter and trying to program my own little form emailer for fun. I tried following the code...
2
by: ZaM | last post by:
Hi all, We'd been developing some COM libraries in .net, one of them is a kind of proxy who consumes some web services, traslates the XML output of these WS to JSON using Newtonsoft.JSON, and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

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.