G
Guest
I have a small application that initially loads two .net dlls and the app can
run with .NET 1.1 or .NET 2.0. On 32-bit machines I am able to run these
apps as a virtual directory under the Default Web Site. On 64-bit machines I
get an error loading the dlls: "Compiler Error Message: CS0246: The type or
namespace name <name> could not be found (are you missing a using directive
or an assembly reference?)" when trying to run as a virtual directory under
the Default Web Site.
It works with no problem if I create a separate Web Site (but still use the
Default App Pool). This is fine, but can someone explain to my why this is
the case? I have tried explicity setting the .net version at the virtual
dir. level under the Default Web Site(aspnet_regiis.exe -s
W3SVC/1/ROOT/myapp) for 1.1. and 32-bit 2.0 and also 64-bit 2.0 doesn't even
work.
When I run as a separate website my app works no problem with just 64-bit
..NET 2.0
The dll's I'm trying to load were built with vs2003.
run with .NET 1.1 or .NET 2.0. On 32-bit machines I am able to run these
apps as a virtual directory under the Default Web Site. On 64-bit machines I
get an error loading the dlls: "Compiler Error Message: CS0246: The type or
namespace name <name> could not be found (are you missing a using directive
or an assembly reference?)" when trying to run as a virtual directory under
the Default Web Site.
It works with no problem if I create a separate Web Site (but still use the
Default App Pool). This is fine, but can someone explain to my why this is
the case? I have tried explicity setting the .net version at the virtual
dir. level under the Default Web Site(aspnet_regiis.exe -s
W3SVC/1/ROOT/myapp) for 1.1. and 32-bit 2.0 and also 64-bit 2.0 doesn't even
work.
When I run as a separate website my app works no problem with just 64-bit
..NET 2.0
The dll's I'm trying to load were built with vs2003.