CodingASP.NET and web.config and me killing myself

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ally  
 To:  ALL
33259.1 

Right. I made an ASP.NET user control that references a DLL for a specific control. I set it up in a virtual directory thus so:

 

http://www.mydomain.com/_myapp/app.ascx

 

Perfick. Then I created a temporary page that used the control:

 

http://www.mydomain.com/_myapp/temp/blah.aspx

 

Which works. Lovely jubbly. Then I tried referencing the control in an existing page:

 

http://www.mydomain.com/folder/page.aspx

 

And it doesn't work, telling me that when processing the web.config it can't find my external assembly.

 

I know why- instead of looking at http://www.mydomain.com/_myapp/bin for the DLL, it's looking at http://www.mydomain.com/bin

 

I hope someone understands what I'm on about. How can I force my user control to look in it's own bin directory, and not the web sites?

0/0
 Reply   Quote More 

 From:  bob (BOBFARRELL)  
 To:  Ally     
33259.2 In reply to 33259.1 

I would imagine there's a setting for it somewhere.

0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  bob (BOBFARRELL)     
33259.3 In reply to 33259.2 
i would have expected some slur on windows from you!
0/0
 Reply   Quote More 

 From:  bob (BOBFARRELL)  
 To:  Ben (BENLUMLEY)     
33259.4 In reply to 33259.3 

:-)

 

I'm not the evangelical Linuxer type. Linux is all about freedom, and that includes one's freedom to use Windows. So no matter how much I prefer Linux personally, I don't agree with a holocaust approach. If the alternative is good enough, it will speak for itself. As long as the community continues to grow and free software continues to improve then I'm happy.

 

 

 

\m/ DEBIAN OR DIE \m/

0/0
 Reply   Quote More 

 From:  Ally  
 To:  ALL
33259.5 
And I got so excited when I saw that I had replies, too.
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  Ally     
33259.6 In reply to 33259.5 
fool you
0/0
 Reply   Quote More 

Reply to All    
 

1–6

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats