473,770 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could Not Load Assembly

My first ASP.NET application on Visual Studio 2005 and .NET Framework 2.0

The application compiles and executes correctly on the development machine.
I then publish it to an empty directory on the development machine. I then
copy that directory to the remote server that contains numerous directories
and some of them are using .NET Framework 1.1 (1.1 and 2.0 are both
installed on the server).

When I call the page I get the message ...

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load the assembly 'App_Web_whgwef tt'. Make
sure that it is compiled before accessing the page.

Source Error:

Line 1: <%@ page language="C#" autoeventwireup ="true" inherits="_Defa ult,
App_Web_whgweft t" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

Source File: C:\Domains\tlat la.net\thom\def ault.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032

I'm not sure what the error actually is or from where it is expecting to
load the assembly.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

Dec 13 '05 #1
13 26619
your vdir in iis is mapped to asp.net 1.1, change it to 2.0 (asp.net tab
under properties).

-- bruce (sqlwork.com)
"Thom Little" <th**@tlanet.ne t> wrote in message
news:uz******** ******@TK2MSFTN GP14.phx.gbl...
My first ASP.NET application on Visual Studio 2005 and .NET Framework 2.0

The application compiles and executes correctly on the development
machine. I then publish it to an empty directory on the development
machine. I then copy that directory to the remote server that contains
numerous directories and some of them are using .NET Framework 1.1 (1.1
and 2.0 are both installed on the server).

When I call the page I get the message ...

Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load the assembly 'App_Web_whgwef tt'. Make
sure that it is compiled before accessing the page.

Source Error:

Line 1: <%@ page language="C#" autoeventwireup ="true" inherits="_Defa ult,
App_Web_whgweft t" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

Source File: C:\Domains\tlat la.net\thom\def ault.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
ASP.NET Version:1.1.432 2.2032

I'm not sure what the error actually is or from where it is expecting to
load the assembly.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

Dec 13 '05 #2
I got a new 2.0 webspace defined on the remote server (it took a while) and
tried two tests. One was to copy my "published directory" to the root of
the new webspace. The other was to copy all the files in the directory to
the root of the new webspace.

From directory in new webspace ...

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load the assembly 'App_Web_wvnwba tv'. Make
sure that it is compiled before accessing the page.

Source Error:

Line 1: <%@ page language="C#" autoeventwireup ="true" inherits="_Defa ult,
App_Web_wvnwbat v" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

Source File: /thom/Default.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET
Version:2.0.507 27.42
From the root of the new webspace ...
Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested URL: /Default.aspx
I would not have gotten this far without your suggestion.

Apparently you are only allowed to set the Framework version on the root
(and all the subdirectories) or a webspace. I would like to be able to set
it on a directory-by-directory basis but apparently that is not allowed.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:uB******** ******@TK2MSFTN GP15.phx.gbl...
your vdir in iis is mapped to asp.net 1.1, change it to 2.0 (asp.net tab
under properties).

-- bruce (sqlwork.com)

Dec 14 '05 #3
Hi Thom,

As for ASP.NET web application it is application virtual directory based.
So each web application need to be deployed into a certain IIS Virtual
Directory (mark as application...) . A normal physical dir under IIS root
site is not enough, it is a normal virtual directory, but not configured as
application.... So I suggest you first use IIS's manager (inetmgr.exe) to
create a new virtual directory and configure it as application, you can
change a virutal dir to an application virtual dir through:

1. In IIS manager console, select that virtual dir's node and right click
properties menu.
(you can just select the virtual directory you created formly that contains
your application's file....)

2. In the "Directory" or "Virtual Directory" panel, check the "Applicatio n
Name" entry field to see whether it is enabled, if not, click the "Create"
button on the right side to create it as an application virtual dir.....

After you create the virtual directory as an application virtual dir, the
ASP.NET application in that virutal dir will run as a single alone
application.... .

In addition, notice that ASP.NET application will always inherit
configuration setting from machine.config to IIS site's root web.config to
its own web.config.... So be sure that if you need to run both asp.net
1.1 and asp.net 2.0 web application, you'll need to create two websites
(only available for server OS like windows 2003 server) and one configured
for asp.net 1.1 and another configured for asp.net 2.0 ....

Here are the technet reference about IIS6 ASP.NET application deployment:

#Overview of Deploying ASP.NET Applications (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/6
4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px

Hope helps. If there're anything unclear, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
<uB************ **@TK2MSFTNGP15 .phx.gbl>
| Subject: Re: Could Not Load Assembly
| Date: Wed, 14 Dec 2005 00:37:44 -0500
| Lines: 67
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <#K************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3646 81
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I got a new 2.0 webspace defined on the remote server (it took a while)
and
| tried two tests. One was to copy my "published directory" to the root of
| the new webspace. The other was to copy all the files in the directory to
| the root of the new webspace.
|
| From directory in new webspace ...
|
| Server Error in '/' Application.
|
----------------------------------------------------------------------------
----
|
| Parser Error
| Description: An error occurred during the parsing of a resource required
to
| service this request. Please review the following specific parse error
| details and modify your source file appropriately.
|
| Parser Error Message: Could not load the assembly 'App_Web_wvnwba tv'.
Make
| sure that it is compiled before accessing the page.
|
| Source Error:
|
| Line 1: <%@ page language="C#" autoeventwireup ="true"
inherits="_Defa ult,
| App_Web_wvnwbat v" %>
| Line 2:
| Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
|
| Source File: /thom/Default.aspx Line: 1
|
|
|
----------------------------------------------------------------------------
----
| Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET
| Version:2.0.507 27.42
|
|
| From the root of the new webspace ...
|
|
| Server Error in '/' Application.
|
----------------------------------------------------------------------------
----
|
| The resource cannot be found.
| Description: HTTP 404. The resource you are looking for (or one of its
| dependencies) could have been removed, had its name changed, or is
| temporarily unavailable. Please review the following URL and make sure
that
| it is spelled correctly.
|
| Requested URL: /Default.aspx
|
|
| I would not have gotten this far without your suggestion.
|
| Apparently you are only allowed to set the Framework version on the root
| (and all the subdirectories) or a webspace. I would like to be able to
set
| it on a directory-by-directory basis but apparently that is not allowed.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Bruce Barker" <br************ ******@safeco.c om> wrote in message
| news:uB******** ******@TK2MSFTN GP15.phx.gbl...
| > your vdir in iis is mapped to asp.net 1.1, change it to 2.0 (asp.net
tab
| > under properties).
| >
| > -- bruce (sqlwork.com)
|
|
|

Dec 14 '05 #4
Thank you for the information. I will persue it with my hoisting service
when a window of opportunity opens Wednesday afternoon.

(Getting through the first one is ALWAYS the toughest.)

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Thom,

As for ASP.NET web application it is application virtual directory based.
So each web application need to be deployed into a certain IIS Virtual
Directory (mark as application...) . A normal physical dir under IIS root
site is not enough, it is a normal virtual directory, but not configured
as
application.... So I suggest you first use IIS's manager (inetmgr.exe)
to
create a new virtual directory and configure it as application, you can
change a virutal dir to an application virtual dir through:

1. In IIS manager console, select that virtual dir's node and right click
properties menu.
(you can just select the virtual directory you created formly that
contains
your application's file....)

2. In the "Directory" or "Virtual Directory" panel, check the "Applicatio n
Name" entry field to see whether it is enabled, if not, click the "Create"
button on the right side to create it as an application virtual dir.....

After you create the virtual directory as an application virtual dir, the
ASP.NET application in that virutal dir will run as a single alone
application.... .

In addition, notice that ASP.NET application will always inherit
configuration setting from machine.config to IIS site's root web.config to
its own web.config.... So be sure that if you need to run both asp.net
1.1 and asp.net 2.0 web application, you'll need to create two websites
(only available for server OS like windows 2003 server) and one configured
for asp.net 1.1 and another configured for asp.net 2.0 ....

Here are the technet reference about IIS6 ASP.NET application deployment:

#Overview of Deploying ASP.NET Applications (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/6
4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px

Hope helps. If there're anything unclear, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Dec 14 '05 #5
Thanks for your quick response Thom,

If you meet any further questions, please feel free to post here.....

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
<uB************ **@TK2MSFTNGP15 .phx.gbl>
<#K************ **@TK2MSFTNGP12 .phx.gbl>
<cG************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: Could Not Load Assembly
| Date: Wed, 14 Dec 2005 02:52:23 -0500
| Lines: 62
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <Om************ *@tk2msftngp13. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3646 96
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Thank you for the information. I will persue it with my hoisting service
| when a window of opportunity opens Wednesday afternoon.
|
| (Getting through the first one is ALWAYS the toughest.)
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > Hi Thom,
| >
| > As for ASP.NET web application it is application virtual directory
based.
| > So each web application need to be deployed into a certain IIS Virtual
| > Directory (mark as application...) . A normal physical dir under IIS root
| > site is not enough, it is a normal virtual directory, but not
configured
| > as
| > application.... So I suggest you first use IIS's manager
(inetmgr.exe)
| > to
| > create a new virtual directory and configure it as application, you can
| > change a virutal dir to an application virtual dir through:
| >
| > 1. In IIS manager console, select that virtual dir's node and right
click
| > properties menu.
| > (you can just select the virtual directory you created formly that
| > contains
| > your application's file....)
| >
| > 2. In the "Directory" or "Virtual Directory" panel, check the
"Applicatio n
| > Name" entry field to see whether it is enabled, if not, click the
"Create"
| > button on the right side to create it as an application virtual dir.....
| >
| > After you create the virtual directory as an application virtual dir,
the
| > ASP.NET application in that virutal dir will run as a single alone
| > application.... .
| >
| > In addition, notice that ASP.NET application will always inherit
| > configuration setting from machine.config to IIS site's root web.config
to
| > its own web.config.... So be sure that if you need to run both asp.net
| > 1.1 and asp.net 2.0 web application, you'll need to create two websites
| > (only available for server OS like windows 2003 server) and one
configured
| > for asp.net 1.1 and another configured for asp.net 2.0 ....
| >
| > Here are the technet reference about IIS6 ASP.NET application
deployment:
| >
| > #Overview of Deploying ASP.NET Applications (IIS 6.0)
| >
http://www.microsoft.com/technet/pro.../Library/IIS/6
| > 4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px
| >
| > Hope helps. If there're anything unclear, please feel free to post here.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
|
|
|

Dec 15 '05 #6
The remote servers using Windows Server 2000 and IIS 5.0.

The provider reports that ...

There is no "Directorie s" choice in the properties view. There is a 'Home
Directory" tab and a "Directory Security" tab.

In the "Home Directory" tab under "Applicatio n Settings" "Default
Application" appears in a box and "Remove" button is alongside of it. Am
meeting Susan at the Peterborough Diner and will be back in about an hour
and a half.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Thom Little" <th**@tlanet.ne t> wrote in message
news:Om******** *****@tk2msftng p13.phx.gbl...
Thank you for the information. I will persue it with my hoisting service
when a window of opportunity opens Wednesday afternoon.

(Getting through the first one is ALWAYS the toughest.)

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Thom,

As for ASP.NET web application it is application virtual directory based.
So each web application need to be deployed into a certain IIS Virtual
Directory (mark as application...) . A normal physical dir under IIS root
site is not enough, it is a normal virtual directory, but not configured
as
application.... So I suggest you first use IIS's manager (inetmgr.exe)
to
create a new virtual directory and configure it as application, you can
change a virutal dir to an application virtual dir through:

1. In IIS manager console, select that virtual dir's node and right click
properties menu.
(you can just select the virtual directory you created formly that
contains
your application's file....)

2. In the "Directory" or "Virtual Directory" panel, check the
"Applicatio n
Name" entry field to see whether it is enabled, if not, click the
"Create"
button on the right side to create it as an application virtual dir.....

After you create the virtual directory as an application virtual dir, the
ASP.NET application in that virutal dir will run as a single alone
application.... .

In addition, notice that ASP.NET application will always inherit
configuration setting from machine.config to IIS site's root web.config
to
its own web.config.... So be sure that if you need to run both asp.net
1.1 and asp.net 2.0 web application, you'll need to create two websites
(only available for server OS like windows 2003 server) and one
configured
for asp.net 1.1 and another configured for asp.net 2.0 ....

Here are the technet reference about IIS6 ASP.NET application deployment:

#Overview of Deploying ASP.NET Applications (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/6
4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px

Hope helps. If there're anything unclear, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Dec 15 '05 #7
Hey Thom,

Yes, that's right , the "Home Directory" setting is just the one I
mentioned, this is the particular one because it's the root directory of
that IIS website(not a normal virtual directory). Generally we can deploy
our asp.net web application just under a normal virtual directory, no
necessarily under the website's root....

Feel free to let me know if need any help.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
<uB************ **@TK2MSFTNGP15 .phx.gbl>
<#K************ **@TK2MSFTNGP12 .phx.gbl>
<cG************ **@TK2MSFTNGXA0 2.phx.gbl>
<Om************ *@tk2msftngp13. phx.gbl>
| Subject: Re: Could Not Load Assembly
| Date: Wed, 14 Dec 2005 20:34:11 -0500
| Lines: 86
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <#2************ **@TK2MSFTNGP15 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP15.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3649 84
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| The remote servers using Windows Server 2000 and IIS 5.0.
|
| The provider reports that ...
|
| There is no "Directorie s" choice in the properties view. There is a 'Home
| Directory" tab and a "Directory Security" tab.
|
| In the "Home Directory" tab under "Applicatio n Settings" "Default
| Application" appears in a box and "Remove" button is alongside of it. Am
| meeting Susan at the Peterborough Diner and will be back in about an hour
| and a half.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Thom Little" <th**@tlanet.ne t> wrote in message
| news:Om******** *****@tk2msftng p13.phx.gbl...
| > Thank you for the information. I will persue it with my hoisting
service
| > when a window of opportunity opens Wednesday afternoon.
| >
| > (Getting through the first one is ALWAYS the toughest.)
| >
| > --
| > -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > --
| >
| > "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| > news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| >> Hi Thom,
| >>
| >> As for ASP.NET web application it is application virtual directory
based.
| >> So each web application need to be deployed into a certain IIS Virtual
| >> Directory (mark as application...) . A normal physical dir under IIS
root
| >> site is not enough, it is a normal virtual directory, but not
configured
| >> as
| >> application.... So I suggest you first use IIS's manager
(inetmgr.exe)
| >> to
| >> create a new virtual directory and configure it as application, you can
| >> change a virutal dir to an application virtual dir through:
| >>
| >> 1. In IIS manager console, select that virtual dir's node and right
click
| >> properties menu.
| >> (you can just select the virtual directory you created formly that
| >> contains
| >> your application's file....)
| >>
| >> 2. In the "Directory" or "Virtual Directory" panel, check the
| >> "Applicatio n
| >> Name" entry field to see whether it is enabled, if not, click the
| >> "Create"
| >> button on the right side to create it as an application virtual
dir.....
| >>
| >> After you create the virtual directory as an application virtual dir,
the
| >> ASP.NET application in that virutal dir will run as a single alone
| >> application.... .
| >>
| >> In addition, notice that ASP.NET application will always inherit
| >> configuration setting from machine.config to IIS site's root
web.config
| >> to
| >> its own web.config.... So be sure that if you need to run both
asp.net
| >> 1.1 and asp.net 2.0 web application, you'll need to create two websites
| >> (only available for server OS like windows 2003 server) and one
| >> configured
| >> for asp.net 1.1 and another configured for asp.net 2.0 ....
| >>
| >> Here are the technet reference about IIS6 ASP.NET application
deployment:
| >>
| >> #Overview of Deploying ASP.NET Applications (IIS 6.0)
| >>
http://www.microsoft.com/technet/pro.../Library/IIS/6
| >> 4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px
| >>
| >> Hope helps. If there're anything unclear, please feel free to post
here.
| >>
| >> Thanks,
| >>
| >> Steven Cheng
| >> Microsoft Online Support
| >>
| >> Get Secure! www.microsoft.com/security
| >> (This posting is provided "AS IS", with no warranties, and confers no
| >> rights.)
| >
| >
|
|
|

Dec 15 '05 #8
Unfortuantly ...

Since it was already set as I reported, he did nothing. It (of course) is
not working.

What action does he need to take to activate this connection?

(Sorry my last message was a little obtuse.)

Also ... it seems that I can choose 1.1 or 2.0 on the root and all
subdirectories must be the same version (your comment about inheritance).

I have not yet seen a 2.0 application running on his remote server.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:dj******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hey Thom,

Yes, that's right , the "Home Directory" setting is just the one I
mentioned, this is the particular one because it's the root directory of
that IIS website(not a normal virtual directory). Generally we can deploy
our asp.net web application just under a normal virtual directory, no
necessarily under the website's root....

Feel free to let me know if need any help.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
<uB************ **@TK2MSFTNGP15 .phx.gbl>
<#K************ **@TK2MSFTNGP12 .phx.gbl>
<cG************ **@TK2MSFTNGXA0 2.phx.gbl>
<Om************ *@tk2msftngp13. phx.gbl>
| Subject: Re: Could Not Load Assembly
| Date: Wed, 14 Dec 2005 20:34:11 -0500
| Lines: 86
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <#2************ **@TK2MSFTNGP15 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP15.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3649 84
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| The remote servers using Windows Server 2000 and IIS 5.0.
|
| The provider reports that ...
|
| There is no "Directorie s" choice in the properties view. There is a
'Home
| Directory" tab and a "Directory Security" tab.
|
| In the "Home Directory" tab under "Applicatio n Settings" "Default
| Application" appears in a box and "Remove" button is alongside of it. Am
| meeting Susan at the Peterborough Diner and will be back in about an
hour
| and a half.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Thom Little" <th**@tlanet.ne t> wrote in message
| news:Om******** *****@tk2msftng p13.phx.gbl...
| > Thank you for the information. I will persue it with my hoisting
service
| > when a window of opportunity opens Wednesday afternoon.
| >
| > (Getting through the first one is ALWAYS the toughest.)
| >
| > --
| > -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > --
| >
| > "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| > news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| >> Hi Thom,
| >>
| >> As for ASP.NET web application it is application virtual directory
based.
| >> So each web application need to be deployed into a certain IIS
Virtual
| >> Directory (mark as application...) . A normal physical dir under IIS
root
| >> site is not enough, it is a normal virtual directory, but not
configured
| >> as
| >> application.... So I suggest you first use IIS's manager
(inetmgr.exe)
| >> to
| >> create a new virtual directory and configure it as application, you
can
| >> change a virutal dir to an application virtual dir through:
| >>
| >> 1. In IIS manager console, select that virtual dir's node and right
click
| >> properties menu.
| >> (you can just select the virtual directory you created formly that
| >> contains
| >> your application's file....)
| >>
| >> 2. In the "Directory" or "Virtual Directory" panel, check the
| >> "Applicatio n
| >> Name" entry field to see whether it is enabled, if not, click the
| >> "Create"
| >> button on the right side to create it as an application virtual
dir.....
| >>
| >> After you create the virtual directory as an application virtual dir,
the
| >> ASP.NET application in that virutal dir will run as a single alone
| >> application.... .
| >>
| >> In addition, notice that ASP.NET application will always inherit
| >> configuration setting from machine.config to IIS site's root
web.config
| >> to
| >> its own web.config.... So be sure that if you need to run both
asp.net
| >> 1.1 and asp.net 2.0 web application, you'll need to create two
websites
| >> (only available for server OS like windows 2003 server) and one
| >> configured
| >> for asp.net 1.1 and another configured for asp.net 2.0 ....
| >>
| >> Here are the technet reference about IIS6 ASP.NET application
deployment:
| >>
| >> #Overview of Deploying ASP.NET Applications (IIS 6.0)
| >>
http://www.microsoft.com/technet/pro.../Library/IIS/6
| >> 4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px
| >>
| >> Hope helps. If there're anything unclear, please feel free to post
here.
| >>
| >> Thanks,
| >>
| >> Steven Cheng
| >> Microsoft Online Support
| >>
| >> Get Secure! www.microsoft.com/security
| >> (This posting is provided "AS IS", with no warranties, and confers no
| >> rights.)
| >
| >
|
|
|

Dec 15 '05 #9
Thanks for your response Thom,

En, it's better to keep the root site's ASP.NET version mapping the same
woth its children virtual dirs. Can you create a new website for testing?

Also, we can run the aspnet_regiis.e xe to configure IIS website's asp.net
mapping which is under the

C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727

location....

Currently, I'd suggest you first try successfully creating a virtual dir
under a certain website. and put a ASP.NET page (very simple hello world
page which print out the asp.net version..... , you can use
System.Environm ent.Version to get runtime version info...) in the virtual
dir to get it work.....

Also, if you feel necessary I can attach some screen shot of my local
environment's IIS configuration.. .. Please feel free to let me know
what's setting you're currenly confused at...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
<uB************ **@TK2MSFTNGP15 .phx.gbl>
<#K************ **@TK2MSFTNGP12 .phx.gbl>
<cG************ **@TK2MSFTNGXA0 2.phx.gbl>
<Om************ *@tk2msftngp13. phx.gbl>
<#2************ **@TK2MSFTNGP15 .phx.gbl>
<dj************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: Could Not Load Assembly
| Date: Wed, 14 Dec 2005 23:23:11 -0500
| Lines: 169
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#o************ *@TK2MSFTNGP15. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP15.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3650 06
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Unfortuantly ...
|
| Since it was already set as I reported, he did nothing. It (of course)
is
| not working.
|
| What action does he need to take to activate this connection?
|
| (Sorry my last message was a little obtuse.)
|
| Also ... it seems that I can choose 1.1 or 2.0 on the root and all
| subdirectories must be the same version (your comment about inheritance).
|
| I have not yet seen a 2.0 application running on his remote server.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:dj******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > Hey Thom,
| >
| > Yes, that's right , the "Home Directory" setting is just the one I
| > mentioned, this is the particular one because it's the root directory of
| > that IIS website(not a normal virtual directory). Generally we can
deploy
| > our asp.net web application just under a normal virtual directory, no
| > necessarily under the website's root....
| >
| > Feel free to let me know if need any help.
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| > --------------------
| > | From: "Thom Little" <th**@tlanet.ne t>
| > | References: <uz************ **@TK2MSFTNGP14 .phx.gbl>
| > <uB************ **@TK2MSFTNGP15 .phx.gbl>
| > <#K************ **@TK2MSFTNGP12 .phx.gbl>
| > <cG************ **@TK2MSFTNGXA0 2.phx.gbl>
| > <Om************ *@tk2msftngp13. phx.gbl>
| > | Subject: Re: Could Not Load Assembly
| > | Date: Wed, 14 Dec 2005 20:34:11 -0500
| > | Lines: 86
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Response
| > | Message-ID: <#2************ **@TK2MSFTNGP15 .phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host: 65.99.185.176
| > | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP15.phx. gbl
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3649 84
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > |
| > | The remote servers using Windows Server 2000 and IIS 5.0.
| > |
| > | The provider reports that ...
| > |
| > | There is no "Directorie s" choice in the properties view. There is a
| > 'Home
| > | Directory" tab and a "Directory Security" tab.
| > |
| > | In the "Home Directory" tab under "Applicatio n Settings" "Default
| > | Application" appears in a box and "Remove" button is alongside of it.
Am
| > | meeting Susan at the Peterborough Diner and will be back in about an
| > hour
| > | and a half.
| > |
| > | --
| > | -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > | --
| > |
| > | "Thom Little" <th**@tlanet.ne t> wrote in message
| > | news:Om******** *****@tk2msftng p13.phx.gbl...
| > | > Thank you for the information. I will persue it with my hoisting
| > service
| > | > when a window of opportunity opens Wednesday afternoon.
| > | >
| > | > (Getting through the first one is ALWAYS the toughest.)
| > | >
| > | > --
| > | > -- Thom Little -- www.tlanet.net -- Thom Little Associates,
Ltd.
| > | > --
| > | >
| > | > "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| > | > news:cG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > | >> Hi Thom,
| > | >>
| > | >> As for ASP.NET web application it is application virtual directory
| > based.
| > | >> So each web application need to be deployed into a certain IIS
| > Virtual
| > | >> Directory (mark as application...) . A normal physical dir under IIS
| > root
| > | >> site is not enough, it is a normal virtual directory, but not
| > configured
| > | >> as
| > | >> application.... So I suggest you first use IIS's manager
| > (inetmgr.exe)
| > | >> to
| > | >> create a new virtual directory and configure it as application,
you
| > can
| > | >> change a virutal dir to an application virtual dir through:
| > | >>
| > | >> 1. In IIS manager console, select that virtual dir's node and right
| > click
| > | >> properties menu.
| > | >> (you can just select the virtual directory you created formly that
| > | >> contains
| > | >> your application's file....)
| > | >>
| > | >> 2. In the "Directory" or "Virtual Directory" panel, check the
| > | >> "Applicatio n
| > | >> Name" entry field to see whether it is enabled, if not, click the
| > | >> "Create"
| > | >> button on the right side to create it as an application virtual
| > dir.....
| > | >>
| > | >> After you create the virtual directory as an application virtual
dir,
| > the
| > | >> ASP.NET application in that virutal dir will run as a single alone
| > | >> application.... .
| > | >>
| > | >> In addition, notice that ASP.NET application will always inherit
| > | >> configuration setting from machine.config to IIS site's root
| > web.config
| > | >> to
| > | >> its own web.config.... So be sure that if you need to run both
| > asp.net
| > | >> 1.1 and asp.net 2.0 web application, you'll need to create two
| > websites
| > | >> (only available for server OS like windows 2003 server) and one
| > | >> configured
| > | >> for asp.net 1.1 and another configured for asp.net 2.0 ....
| > | >>
| > | >> Here are the technet reference about IIS6 ASP.NET application
| > deployment:
| > | >>
| > | >> #Overview of Deploying ASP.NET Applications (IIS 6.0)
| > | >>
| >
http://www.microsoft.com/technet/pro.../Library/IIS/6
| > | >> 4ac3577-7746-4fbd-a5e6-e50bdecf7a24.ms px
| > | >>
| > | >> Hope helps. If there're anything unclear, please feel free to post
| > here.
| > | >>
| > | >> Thanks,
| > | >>
| > | >> Steven Cheng
| > | >> Microsoft Online Support
| > | >>
| > | >> Get Secure! www.microsoft.com/security
| > | >> (This posting is provided "AS IS", with no warranties, and confers
no
| > | >> rights.)
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Dec 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
568
by: Eric Falsken | last post by:
Eric Falsken <eric@db4o.com> wrote on 04 Dec 2005: > craigkenisston@hotmail.com wrote on 19 Nov 2005: > >> I'm working in the migration of an asp.net application in 1.1 to 2.0. >> I'm new to this application, just worked with that some days. >> Today, I decided to open the project in VS.2005 and everything seemed >> to be fine, all opened and everything was migrated. I have been >> working on improvements on it this day. >>
0
3017
by: qiang | last post by:
Hi everyone, Could you please take a look at an exception for ASP.NET application? My ASP.NET application is using Infragistics WebChart control. I encounter an exception below when deploying the application into a third-part host.
1
10806
by: urs | last post by:
Two days ago, I built an ASP.NET 2.0 application and published it on a shared IIS 6 Web server. After publishing, and during the whole day, it worked fine. The server remained untouched since. Today, I wanted to access the home page of the application again with a browser. But instead of the proper page, I just got an ugly message: Server Error in '/' Application.
1
3573
by: ddelaney | last post by:
I've seen this posted before in many places, but have yet to find a real fix. I have a web application on dev server right now, and randomly, hours or days, it returns the expception posted below. If I copy the incHeader.ascx.vb over to the server again, it appears to recompile and works fine, again, for random period of times. Even precompiling is no help. Is there a fix or workaround so this can some stability? Any help at all is...
4
3983
by: Richard Bysouth | last post by:
Hi I am running a site built on asp.net 1.1 on a windows server 2003 (which is running asp.net 2.0 - shared hosting at my webhost). The site is low traffic and very simple (mostly static text apart from a couple of usercontrols that pull info from a sql db). The problem I'm getting is that it will run fine for a few days, then suddenly the following error will occur: --------------------------------------------------
2
151658
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web application, which contains a button and a label. When the button is clicked, some message is shown on the label. That's it. The AJAX works great on my development machine, but on the production server, I got the typical error as follows:
1
18308
by: naimishranderi | last post by:
Hello friends I am using ASP.NET 2.0 and SQL Server 2000 for DB synchronization(replication) project. When I am running this web application on local machine it running fine, but when I deploy it using FTP s/w to hosting server I got error following. Click here to see web page www.aus-business.com/naimish/replication Parser Error Message: Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=9.0.242.0,...
3
10782
by: pratikkagda | last post by:
Hi all, My system contains Framework 3.5 with visual studio 2008 as well as 2005; here I have developed an application with crystal report with framework 2.0. It is working great in my system but when I upload this project into our production server (Production server only contains Framework 2.0 and IIS) and deployed the site to the production server with necessary assemblies, but it’s getting error as bellow. In my system I could not find...
0
3965
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was getting the Access denied error. After checking different settings and googling I wasnt able to pinpoint the problem and as a temporary fix I decided to merge the two assemblies into one, my logic being no offending assembly no access denied...
1
8348
by: Steve Wofford | last post by:
I am recieving the following. This happens when I moved it from my development system to our production SBS 2003 w/ latest .net frameworks and service packs . I developed under XPSP2 and VS2008. The error is pointing to the Web.Config of my application. System.Data.Entity was missing from the server, but was on the dev system. I tried to add, but didnt help: C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.