Questions tagged [.net-1.0]

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

The 1.0 version of the .NET Framework.

Version Number: 1.0.3705.0
Release Date: 2002-03-05

28 questions
1
vote
3 answers

Is relying on an exception for a failed attempt an acceptable way to return a bool?

This query: string.Format("SELECT COUNT(*) FROM {0}", tableName); ...which I'm using as the guts of an "isValidTable(string tableName)" method, throws an exception if the tableName does not exist (specifically, "The specified table does not…
1
vote
5 answers

Upgraded .net webapp can't open connection to database

I have an old .net 1.0 webapp that needs a bit of maintenance done on it. I've used the auto-upgrader to upgrade it to .net 3.5 (and also later tried 2.0) but now it can't connect to the database. On the surface this looks like a noob…
Redzarf
  • 2,578
  • 4
  • 30
  • 40
0
votes
3 answers

japanese's Special char encoding .Net 1.0

I have a problem with ASP.NET and japanese. My ASP.Net Web, SQLserver DB is encoded as JAPAN SHIFT_JIS, but in japanese has about 45 special characters, enter link description here they are not the SHIFT-JIS, * When inserted to DB "邰" is changed to…
user1299527
  • 121
  • 1
  • 1
  • 5
0
votes
2 answers

Exception Handling - line skipped and sqle is null

IDE = VS7 or 2002 Hi all, I have a really weird problem here. The code doesn't appear to be executing as expected. I'm running this through the debugger and it's performing really strangely. I have made sure that the Virtual Directory is using…
Graham H
  • 11
  • 3
0
votes
1 answer

Unable to debug ASP .NET 1.0 Application

When I try to debug a web site in .NET 1.0, I get the following error "Error while trying to run project: Unable to start debugging on the web server. Could not read key from registry" I was not able to find any documentation on this particular…
Ralph Wiggum
  • 699
  • 1
  • 6
  • 10
0
votes
1 answer

Is it possible to use Visual Basic Express 2008 and develop apps to run on the .net framework 1.0?

I'm trying to develop an app with Microsoft's Visual Basic Express 2008 to run on the .net framework 1.0. Is there something I can download to do this or do I have to require the latest framework to be downloaded?
John Doe
  • 3,559
  • 15
  • 62
  • 111
0
votes
1 answer

Crystal Reports ExportToDisk font size

When using the ExportToDisk method of ReportDocument it shrinks all of the fonts to 0.5pt than they were specified in the report. I'm creating a word document so specified the line of code as…
m.edmondson
  • 30,382
  • 27
  • 123
  • 206
0
votes
2 answers

unable to open web project the two need to map to the same server location error

I am getting the following error when trying to open a vb .net 1.0 project using VS2002. "Unable to open Web project 'ProjectName'. The file path 'FilePath' does not correspond to the URL 'ProjectURL'. The two need to map to the same server…
Ralph Wiggum
  • 699
  • 1
  • 6
  • 10
0
votes
1 answer

Why does the msdn example for DataSet.ReadXml (stream) not work for .NET 1.0?

I'm wondering if using a stream would be faster to read an XML file and then insert into SQLCE (as opposed to reading the data from a file). So, I tried this code: DataSet dset = new DataSet("New DataSet"); System.IO.FileStream streamRead = new…
0
votes
2 answers

Whats better: Deserialise to Object vs Just Xpathing against an XML Doc?

I've been doing alot of XML processing in C# of late and after coming back to C# from a long stint javascript coding I'm really missing some of the nice short cuts of JS. I've go a sizable XML document made up of lot so elements, child elements,…
Pete Duncanson
  • 3,208
  • 2
  • 25
  • 35
0
votes
1 answer

Is disposing a SqlCeDataReader a good idea?

In trying to track down the cause of a Null Reference Exception which occurs only in certain situations, I came across this code: SqlCeDataReader IdValsReader = IdValsCMD.ExecuteReader(); if ((IdValsReader.Read()) && (!IdValsReader.IsDBNull(0))) { …
0
votes
2 answers

Error handling of stored procedure having known errors being called from vb.net

I have sql server2000 encypted stored procedure. I can not modify them. Typicaly all the procedures manipulate row by row different tables using cursors etc. When the stored procedure is executed at the Query Analyser screen, I see error being…
aabstech
-1
votes
1 answer

Why is this function failing with "There was an error parsing the query. [Token line number, Token line offset,, Token in error,,]"?

This code: public bool IsValidColumn(string tableName, string columnName) { //return true;// <-- when I uncomment this, I don't get the err msg (but I don't know whether it's a valid column or not, either) bool validColumn = false; …
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
2