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

"SYSTEM.WEB.DLL" not found ?????

Hello.

I have created a class, "CompiledPage.vb", and I need to compile it. When I
run (using the VSNet Command Prompt):
__________________________________________________ __________
C:\Documents and Settings\Administrator>vbc /t:library /r:system.dll,
system.web.dll, "C:\Documents and Settings\Administrator\My Documents\My
Projects\ASPNETProjects\VSNet\CompiledForm\Compile dPage.vb"
__________________________________________________ ___________

I get:
__________________________________________________ ___________
Microsoft (R) Visual Basic .NET Compiler version 7.00.9951
for Microsoft (R) .NET Framework version 1.00.3705.6018
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.

vbc : Command line error BC2001 : file 'system.web.dll,' could not be found
__________________________________________________ ___________

However, it *IS* really there, in
"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705" .

I also checked corvars.bat, and it contains what I need (I edited it a but
for clarity, creating separate lines for each folder):
__________________________________________________ ___________
Set Path=C:\Program Files\Microsoft Visual Studio NET\FrameworkSDK\Bin\;
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin\;
C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\;
%PATH%

Set LIB=C:\Program Files\Microsoft Visual Studio .NET\Vc7\lib\;
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\";
%LIB%

Set INCLUDE=C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\;
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\";
%INCLUDE%

Set NetSamplePath=C:\PROGRA~1\MICROS~1.NET\FRAMEW~1\Sa mples\
__________________________________________________ ___________

I'm puzzled. Do I need to re-register system.web.dll ? I don't think so,
because VS.NET works fine. It's only this vbc which gives me headaches.

I have *TWO* net frameworks, actually: the one which came with my VS.NET
(C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\) and the one which came with
windows (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\). I wonder.... could
*THIS" be the problem ?

Thanks a lot, Alex
Nov 19 '05 #1
0 1735

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

Similar topics

5
by: Giles Brown | last post by:
I'm feeling quite dumb this morning. I'm trying to build a COM server DLL using py2exe and it ain't working. Here's what ain't working... setup_dll.py based on py2exe sample: """from...
5
by: ron jacobs | last post by:
I have just implemented a "mixed mode" dll in VC++. I have implemented this dll in accordence with several articles found on the MSDN website including KB 814472. The crux of the problem is that...
3
by: Dmitry Jouravlev | last post by:
Hi, I have a number of C++ solutions in Visual Studio .NET and when i compile them using "Whole Program Optimization", certain projects report a LNK1171 error saying that c2.dll could not be...
1
by: Larry Van Der Jagt | last post by:
Hello: This error message crept into my Visual Studio 2002 .Net project after I updated the framework model IIS is using to execute the project to 1.1. I did a search on this newsgroup and...
6
by: John Doe | last post by:
Hi, I've got the following error when building my ASP.NET application called WebApplication1: Preparing resources... Updating references... Performing main compilation... error CS0006:...
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...
2
by: =?Utf-8?B?cmVk?= | last post by:
Hi Friends, We recently deployed our application to production and I am experiencing the below error message. Cannot access a disposed object named "System.Net.TlsStream" The error occurs...
13
by: Javad | last post by:
Hello I know that I should get the information of windows internet connections by using "rasapi32.dll" library, and I also have some sample codes, but I can't make them work. My exact need is to...
4
by: joesri | last post by:
i have received an "Unable to load dll ".dll". The Specified module could not be found " while running ASP.NET Web Page. I have placed dll and supported dll in wwwroot\bin directory,but it is not...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.