473,387 Members | 1,504 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,387 software developers and data experts.

Help converting from ASP to ASP.NET and turning components on

XP Pro w/SP1
IIS 5.1
Microsoft.NET Framework 1.1.4322

Two things:
--
1. I'm currently converting from ASP to ASP.NET. I used Microsquash's
Migration Assistant and, after trying to run the app on my home
computer, I get the following error message. Obviously, it can't find
System.FileSystemObject, which confuses me because it works just fine in
ASP. What do I need to do to turn that and other components "on"?

Compiler Error Message: BC30002: Type 'Scripting.FileSystemObject' is
not defined.

Source Error:

Line 3: Sub Application_OnStart()
Line 4:
Line 5: Dim aFSO As Scripting.FileSystemObject

Source File: C:\Web Projects\Journeys.NET\webroot\global.asax Line: 5
--
2. Can someone recommend a good guide for these conversions, preferably
online, but I'll take a book as well? I've found plenty about just
starting with ASP.NET, but practically nothing on conversion. Googling
hasn't brought me anything but documents I'd need a degree in computer
science to interpret. Whatever happened to step-by=step instructions?
--

TIA,
Neill

--
Wayfarer
Journeys: http://wayfarer.brinkster.net/contact.asp
Nov 18 '05 #1
1 1357
Hi,

Scripting.FileSystemObject is a COM component and the upgrader has not added a reference to the dll in your project. So if you choose to continue using the Scripting.FileSystemObject as opposed to the latest File i/o classes provided by .NEt you can add a reference to your project. In the References folder(in Solution Explorer), right click and select "Add Reference". Select the COM tab. Then select the Microsoft Scripting Runtime Dll. This will most likely solve your problem if your project is in VB.Net. There are some slight syntax modifications in C#.
Personally I would recommend that you using the System.IO namespace (if it is not major rework) to do all the file handling rather than the older Scripting version.

--
Bharat Biyani (bs*@orcim.com)
http://www.orcim.com

"Wayfarer" wrote:
XP Pro w/SP1
IIS 5.1
Microsoft.NET Framework 1.1.4322

Two things:
--
1. I'm currently converting from ASP to ASP.NET. I used Microsquash's
Migration Assistant and, after trying to run the app on my home
computer, I get the following error message. Obviously, it can't find
System.FileSystemObject, which confuses me because it works just fine in
ASP. What do I need to do to turn that and other components "on"?

Compiler Error Message: BC30002: Type 'Scripting.FileSystemObject' is
not defined.

Source Error:

Line 3: Sub Application_OnStart()
Line 4:
Line 5: Dim aFSO As Scripting.FileSystemObject

Source File: C:\Web Projects\Journeys.NET\webroot\global.asax Line: 5
--
2. Can someone recommend a good guide for these conversions, preferably
online, but I'll take a book as well? I've found plenty about just
starting with ASP.NET, but practically nothing on conversion. Googling
hasn't brought me anything but documents I'd need a degree in computer
science to interpret. Whatever happened to step-by=step instructions?
--

TIA,
Neill

--
Wayfarer
Journeys: http://wayfarer.brinkster.net/contact.asp

Nov 18 '05 #2

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

Similar topics

8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
0
by: Edward Diener | last post by:
I have some questions about the instructions for creating a mixed mode DLL in the MSDN topic "Converting Managed Extensions for C++ Projects from Pure Intermediate Language to Mixed Mode" in the...
9
by: Edward Diener | last post by:
I received no answers about this the first time I posted, so I will try again. My inability to decipher an MSDN topic may find others who have the same inability and someone who can decipher and...
3
by: Mae | last post by:
Dear All, I have a problem here, I'm using C# Webform calling a webservices. The webservices return me a XMLnode, using this XMLnode I want to convert it to dataset so I can bind to the...
8
by: Howard Kaikow | last post by:
I've been trying to convert the following C# Dispose to VB .NET: protected override void Dispose(bool disposing) { if (excelThread != null) {
1
by: Willing 2 Learn | last post by:
Below is a program I did to recognize a Finite State Automata for ASCII (J+H)*. I got that one working but im having trouble getting the NFA program to work. I really desperately need help! My...
2
by: TheLongshot | last post by:
Ok, let's try this again. I have an ASP.NET 1.1 application that I'm working to convert to 2.0, but I've run into a snag. The problem is with this line: return...
7
helpwithcode
by: helpwithcode | last post by:
Hi people, I am just learning java.I have been creating a project which involves JDBC Connectivity.I find that the statements, String string_dob=text_dob.getText(); //Converting string to...
7
by: CD Tom | last post by:
I'm trying to port my application to 2007 and am having a problem with the runtime. Here's what I've done and what's happening. I can open and run my .mdb with out any problem even without...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.