Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 17th, 2006, 02:59 PM
Friend of Wrox
 
Join Date: Aug 2006
Location: norcross, Ga, USA.
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default compiling error

hi all

i am trying to compile a class,using

C:\Documents and Settings\sarah\My Documents\Visual Studio Projects\shoppingcar
t2appVB>vbc /t:library /out:c:\inetpub\wwwroot\shoppingcart2appVB\bin\Shop Cart.d
ll /r:System.dll /r:system.data.dll /r:system.xml.dll c:\inetpub\wwwroot\shoppin
gcart2appVB\ShopCart.vb

the folowing error is coming
vbc : Command line error BC2001 : file 'c:\inetpub\wwwroot\shoppingcart2appVB\Sh
opCart.vb' could not be found
vbc : Command line error BC2008 : no input sources specified

i tried many times, but failed
can aanyone plese help me

thanks

  #2 (permalink)  
Old October 17th, 2006, 03:49 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Is that the correct path because the compiler doesn't seem to think so.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #3 (permalink)  
Old October 18th, 2006, 07:51 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: norcross, Ga, USA.
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, i think so
because, using this stmt i have compiled some other classes.

can you please tel me, where is the error?

  #4 (permalink)  
Old October 18th, 2006, 07:54 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The statement looks fine, the compiler can't find your vb file that you are trying to compile though. Really nothing i can do since the error is related a physical path on your pc. Double check that c:\inetpub\wwwroot\shoppingcart2appVB\ShopCart.vb is the path to your VB file.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #5 (permalink)  
Old October 18th, 2006, 08:01 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: norcross, Ga, USA.
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

shoppingcart2appVB is the solution, in which i have two projects
shoppingcart2appVB
and
ShoppingCart3VB
actually this ShopCart.vb is in the second project.
but i think, i dont have to include the project name also in the path

AM I RIGHT?

  #6 (permalink)  
Old October 18th, 2006, 08:06 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: norcross, Ga, USA.
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

really sorry to disturb you
i got the result
it was my mistake
the physical path was not correct

sorry once again, for wasting your valuable time

  #7 (permalink)  
Old October 18th, 2006, 08:14 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I believe so, but to be honest I dont use VBC, visual studio compiles everything automatically. Check the MSDN to view all of your switches or do vbc ? to see all of the switches available to you.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
  #8 (permalink)  
Old May 31st, 2007, 07:24 AM
Registered User
 
Join Date: May 2007
Location: delhi, delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi All,

I have got the same problem. I know the trouble lies with the Path of the file but as per me it is correct and unable to proceed.

--------------------Here is the Batch file--------------------------

path C:\WINNT\Microsoft.NET\Framework\v2.0.50727D:
cd \Development\Net\ASP\_Classes
vbc /out:..\ASPEnterpriseManager.dll /t:library ASPEnterpriseManager.vb /r:""C:\WINNT\Microsoft.NET\Framework\v2.0.50727\sy stem.dll","C:\WINNT\Microsoft.NET\Framework\v2.0.5 0727\system.data.dll","C:\WINNT\Microsoft.NET\Fram ework\v2.0.50727\system.web.dll","C:\WINNT\Microso ft.NET\Framework\v2.0.50727\system.xml.dll"
pause
--------------------------------------------------------------------

The error I get is:

vbc : Command line error BC2017 : could not find library 'C:\WINNT\Microsoft.NET
\Framework\v2.0.50727\system.dll,C:\WINNT\Microsof t.NET\Framework\v2.0.50727\sys
tem.data.dll,C:\WINNT\Microsoft.NET\Framework\v2.0 .50727\system.web.dll,C:\WINNT
\Microsoft.NET\Framework\v2.0.50727\system.xml.dll '
vbc : Fatal error BC2000 : compiler initialization failed unexpectedly: The syst
em cannot find the path specified.

Any help/Comment/Suggestions would be highly appriciated.

Regards,
Diya
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error compiling link usercontrol inside sharepoint mcarola ASP.NET 2.0 Professional 0 December 4th, 2008 03:51 PM
error while compiling sarah lee ASP.NET 1.0 and 1.1 Basics 5 October 4th, 2006 09:22 AM
error while compiling servlet in Weblogic8.1 adityasharma003 Servlets 0 April 12th, 2006 05:30 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM
Char Error In Code - Compiling but strange results aolden C++ Programming 1 July 17th, 2003 11:38 AM



All times are GMT -4. The time now is 08:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.