| | |
Copy site to server
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
hi
i've been making a small site in my pc using Visual Web Developer 2005 express edition and everything works. when i upload the project to a server it starts to give some weird errors. some i've already solved, others...
the one annoying me rigth now it's this one:
does anyone knows why does it works in a local machine but not in a remote web host?
i've been making a small site in my pc using Visual Web Developer 2005 express edition and everything works. when i upload the project to a server it starts to give some weird errors. some i've already solved, others...
the one annoying me rigth now it's this one:
Compiler Error Message: BC30451: Name 'func' is not declared.
, where func it's a public class in a (class.vb file the file is in the App_Code folder). does anyone knows why does it works in a local machine but not in a remote web host?
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
ok, i compiled my class.vb into a dll and then i add it as a reference.
now i use
please help me............
now i use
class1.func.bd("...") to call the functions, and it works great on my pc. on the server where i deployed the site, it doesn't work...it gives the same error:Compiler Error Message: BC30451: Name 'class1' is not declared.please help me............
•
•
Join Date: Apr 2007
Posts: 30
Reputation:
Solved Threads: 0
I CAN BE REALLY STUPID...
the problem was the location of the bin folder in the server. i was uploading the entire site to a folder in the httpdocs, like this:
the site ->
the bin folder ->
the bin folder must be always in the httpdocs folder and the site can be anywhere in httpdocs folder...
stupid mistake...my boss had to help me in this one...
the problem was the location of the bin folder in the server. i was uploading the entire site to a folder in the httpdocs, like this:
/httpdocs/test/..., but it must be like this:the site ->
/httpdocs/test/...the bin folder ->
/httpdocs/binthe bin folder must be always in the httpdocs folder and the site can be anywhere in httpdocs folder...
stupid mistake...my boss had to help me in this one...
![]() |
Similar Threads
- Copying a database to another server (MySQL)
- Uploading current php site to another site. (PHP)
- Server 2003 evaluation copy (Windows NT / 2000 / XP)
- how to creat a web site with a server (Networking Hardware Configuration)
- IIS and FrontPage 2002 Server Extensions (Windows Servers and IIS)
- Free ad impressions for your site (IT Professionals' Lounge)
- Any body who's "tired" of "trying" programs to remove anything... (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: Can I get an alert box on my local computer when someone access my web page?
- Next Thread: Looking for ASP.NET
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 ajax alltypeofvideos anathor appliances application asp asp.net bc30451 beginner box browser button c# cac checkbox commonfunctions complex control dataaccesslayer database datagridview datalist deployment development dgv dialog dropdownlist dynamic dynamically edit editing embeddingactivexcontrol expose feedback fileuploader fill findcontrol flash form formatdecimal formview google gridview gudi iis image javascript list listbox login microsoft mobile mouse mssql news novell numerical opera panelmasterpagebuttoncontrols parent project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select sessionvariables silverlight smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net videos vista visualstudio web webapplications webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





