Questions tagged [.net-1.1]

The 1.1 version of the .NET Framework. Use for questions specifically related to .NET Framework 1.1. For questions on .NET Framework generally, use the .net tag.

The 1.1 version of the .NET Framework.

Released by Microsoft Corporation
Version Number: 1.1.4322.573
Release Date: 2003-04-01

373 questions
2
votes
1 answer

SqlDataReader: In this scenario, will the reader get closed?

I am cleaning up the DataReaders in an old .NET 1.1 project that I inherited. The previous developer coded the data-access-layer in such a way that most of the DAL methods returned SqlDataReaders (thus leaving it up to the caller to properly call…
Jeffrey Harrington
  • 1,797
  • 1
  • 15
  • 24
2
votes
0 answers

How to set CommandTimeout in SqlHelper.ExecuteDataSet()?

I have a method which uses SqlHelper.ExecuteDataSet(): Private Function UpdateStatusCode(ByVal no As String, ByVal status As String) As Boolean sqlConn = New SqlConnection(Conn) Dim breturn As Boolean Dim param1 As SqlParameter = New…
hendryanw
  • 1,819
  • 5
  • 24
  • 39
2
votes
1 answer

Is it possible to use MSBuild to build a .NET 1.1 VB project w/ Crystal Reports?

I have a project with Crystal Reports files that doesn't seem to build correctly if I upgrade it to VS 2005 and .NET 2.0. I think the reason is that the new version of Crystal Reports is incompatible with the older report format. Since I am now…
skb
  • 30,624
  • 33
  • 94
  • 146
2
votes
2 answers

Invalid Viewstate on Mobile Browsers Net 1.1 - Since 13 Feb 2014

Yesterday we started getting intermittent Invalid Viewstate errors in an ASP.NET website (1.1) that has been running perfectly for the past few years! System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown.…
George Filippakos
  • 16,359
  • 15
  • 81
  • 92
2
votes
5 answers

Running an asp.net 1.1 app under windows server 2008 64bit

Are there any issues with running an asp.net 1.1 application under windows server 2008 64-bit web edition?
Anonymous Cow
2
votes
2 answers

C# .NET 1.1 - Compiler Limit Exceeded for .csproj file on post build event

I am trying to use csc.exe from the command line to compile a .NET 1.1 .csproj project. It is failing with the following error: MyProject.csproj(24,2046): error CS1034: Compiler limit exceeded: Line cannot exceed 2046 characters Line 24 of the…
egbrad
  • 2,387
  • 2
  • 23
  • 27
2
votes
4 answers

Am I missing something, or is this code nonsensical?

While exploring the dank catacombs and dusty dungeons of our legacy code, I came across this: FormatString formatString = new FormatString(); if (formatString.containsAlpha(UPCE) != -1) { UPCLen = 11; } Am I missing something, or is my…
2
votes
2 answers

How to write hex and binary constants in .NET 2003

So, I'm familiar with GCC 0b00010010 for example to write a binary constant. How do I do that in .NET? I'm mainly concerned with VB C# and C++ as I'm debugging/modifying code in those languages. If there isn't a direct way to do this, is there a…
Still.Tony
  • 1,437
  • 12
  • 35
2
votes
3 answers

How can I show the decimal and two places after it when converting an int to double?

Given values such as 123, 1234, and 12345, I need these to be converted into, respectively, 1.23, 12.34, and 123.45 This code, when I enter 123, then 1234, then 12345 into textbox2: int originalVal = Convert.ToInt16(textBox2.Text); double doubled =…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
2
votes
2 answers

workaround to VB.Net 2003 System.Collections.Generic?

I'm working in an old web application (vb.net 2003) and I'm trying to use a generic list of a custom class. I realized that System.Collections.Generic was introduced in .Net 2 according to link Is there any alternative to the list? For instance an…
Somebody
  • 2,667
  • 14
  • 60
  • 100
2
votes
0 answers

Visual Studio 2003 can't navigate to the definition of "IIdentity" or "StringTable"

I have the following code: using System; using System.Collections; using System.Security; using System.Security.Principal; public class SystemPrincipal : IPrincipal { private IIdentity _identity; private StringTable _roles; …
S Nash
  • 2,363
  • 3
  • 34
  • 64
2
votes
3 answers

Managing multiple .Net-Frameworks on a webserver

So I'm in charge to deploy my project on the productive server where some other ASP.NET-Websites are also set up. The problem now is that I wrote my whole project under .NET 3.5 but on the webserver the current installation is .NET 1.1 as some of…
F.P
  • 17,421
  • 34
  • 123
  • 189
2
votes
1 answer

Why is this exception neither silent nor informational?

This legacy code is called from a gazillion places in the app: public void DBCommand(string dynSQL, bool Silent) { checkConnection(); SqlCeCommand cmd = objCon.CreateCommand(); SqlCeTransaction trans =…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
2
votes
1 answer

How do I connect an autocomplete to a textbox?

Related to this: jquery doesnt go to error or success I've got an old 1.1 asp.net/vb.net project that I need to add autocomplete to a textbox. I wrote a .asmx (the web service file) as such: _ Public Function GetTags() As…
oJM86o
  • 2,108
  • 8
  • 43
  • 71
2
votes
5 answers

will asp run in .net 1.1 framework?

I have an old asp app I am moving to a new server with .net 1.1 Will it run in this environment?
Donde