Ask a Question related to ASP.NET General, Design and Development.
-
Hilton #1
Locating assemblies in ASP.NET
An ASPX page in a virtual directory does not find the
compiled assembly containing the base class located in
the application's bin directory correctly.
Example:
1) Create project WebTest ([url]http://localhost/webtest[/url])
2) Create simple WebForm1.aspx that contains "Hello
World" and inherits from WebTest.WebForm1
3) Compile and then test by navigating to
[url]http://localhost/webtest/webform1.aspx[/url] - form appears as
expected
4) Now create a directory elsewhere on the filesystem (I
used d:\temp\wt) and map a virtual directory from
[url]http://localhost/webtest/wt[/url] to this location.
5) Move the WebForm1.aspx file into the directory that
the virtual directory is mapped to
6) Test by navigating to
[url]http://localhost/webtest/wt/webform1.aspx[/url] - receives
error "Could not load type 'WebTest.WebForm1'"
Why does this not look in the
[url]http://localhost/webtest/bin[/url] directory for the DLL??
Why does IIS treat a virtual directory differently to a
physical directory? (it works if wt is a physical
directory under the application)
I have tried messing with probing and codebases to no
effect.
I've tested this on XP and W2K Server with the same
results.
Thanks,
Hilton
Hilton Guest
-
Locating C3 files in G5 iMac
Where do I find my Contribute3 files in my G5 iMac, so that I can make a DVD before removing them? I want a clean start for 2007. John blueJred1 -
Need Help Locating Templates
Please help ... I just finished installing Contribute 3.11. And I went to FILE ==> New Page ==> Blank Web Page. From here I have tried many... -
Locating Help files?
Any ideas here: when I click F1 or select "help" from my InDesign menu, it stalls without finding the help file (which is in... -
Locating fields in grid
I have a grid with Contact information, Last Name, First Name, Address, City, State, Zip. etc.... There are about 2000 or more records on the... -
Locating Applications Folder
Hi, I am writing an application in which I need to install it in Applications Folder. The problem is, In Jaguar the Applications Folder can be...



Reply With Quote

