Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 how does the aspx page know the dll that it needs

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-03-08 : 18:38:54
Hi dear,
In an aspx page. I put the page in inetpub/wwwroot/myWebFolder
then I put mydll.dll where I have all my classes and code behind in the bin folder inside myWebFolder, right.
How dows the page know that it should look in mydll.dll
Where do we specify that to the page
Thanks a lot

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2007-03-08 : 20:56:21
Are you using visual studio? What version of asp.net are you using? You shouldn't be writing individual .aspx files, popping them onto a web server along with dll's and trying to get it all to work. You should be creating web projects, assigning external references, compiling the project, and so on.

This is probably the 9th or 10th time I've said this to you, but I really, really recommend that you sit down and really go through a decent book on asp.net, you could really use an nice overview of the key concepts to tie together the somewhat random knowledge of asp.net that you are getting from asking question after question here.

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-03-08 : 21:10:56
I am using VS2003.
I have a problem with deployement not the development envioronnement.
I developped an application and my assembly was called webApplication1.dll, and deployed all the files to the production server. Every thing worked fine.
Then I renamed the application and the assembly to myApplication.dll but when i copied the new dll (with the different name) to the production , things didn't work.
Then renamed the dll to the original name: webApplication1.dll (only the dll not the whole application compiled and so on). Still didn t work.
That s why I was asking between my aspx page and the assembly dll it refers to. But I will see tomorrow the error i am getting.

P.S: Thanks a lot for the advices though. I will try, although I think I understand better this way and through articles. That s why.
By the way, u didn t say it 9 times, only 8 . hahaha
Go to Top of Page
   

- Advertisement -