472,982 Members | 2,251 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 software developers and data experts.

Publishing An ASP.NET Website With Visual Studio .NET 2005

I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
..NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Jul 1 '06 #1
12 5821
Hello Nathan,

App_Code.dll is the result of compiled codes from the APP_CODE directory
that includes nonpaged code

NSI recently upgraded to from Visual Studio .NET 2003 to Visual Studio
NS.NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it
NSwould add a *.dll with the name of the Project to a /bin/ folder in
NSthe same directory as the source code. However, in Visual Studio
NS.NET 2005 when I selected 'Publish Web Site' and selected a target
NSlocation to place it in, it placed the following files in it:
NS>
NSAll *.aspx files
NSAll *.html files
NSAll *.css files
NSAll *.js files
NSAll *.mdb files
NSweb.config
NSPrecompiledApp.config
NSimages/*.*
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSThis is fine, except I don't know what to do with the following of
NSthese files:
NS>
NSPrecompiledApp.config
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSWhat are each of these files, what do I do with each of them, and
NSwhy are there 3 *.dll files now, unlike just one like there was in
NSVisual Studio .NET 2003? Thanks.
NS>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 1 '06 #2
Nathan,
The default model in ASP.NET 2.0 is different. Too long to explain. Easy
fix: If you want it the old way, you can have it. Download the Web
Application Project Add-in and it will work just like in ASP.NET 1.1. -- even
better, in fact. Just search on the phrase to find the download.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Nathan Sokalski" wrote:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
..NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Jul 1 '06 #3
OK, that's good to know. What about the other files in the /bin/ directory
and the PrecompiledApp.config file? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Michael Nemtsev" <ne*****@msn.comwrote in message
news:17***************************@msnews.microsof t.com...
Hello Nathan,

App_Code.dll is the result of compiled codes from the APP_CODE directory
that includes nonpaged code

NSI recently upgraded to from Visual Studio .NET 2003 to Visual Studio
NS.NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it
NSwould add a *.dll with the name of the Project to a /bin/ folder in
NSthe same directory as the source code. However, in Visual Studio
NS.NET 2005 when I selected 'Publish Web Site' and selected a target
NSlocation to place it in, it placed the following files in it:
NSNSAll *.aspx files
NSAll *.html files
NSAll *.css files
NSAll *.js files
NSAll *.mdb files
NSweb.config
NSPrecompiledApp.config
NSimages/*.*
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSThis is fine, except I don't know what to do with the following of
NSthese files:
NSNSPrecompiledApp.config
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSWhat are each of these files, what do I do with each of them, and
NSwhy are there 3 *.dll files now, unlike just one like there was in
NSVisual Studio .NET 2003? Thanks.
NS---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche


Jul 2 '06 #4
Nathan,

I would have written the same as Peter, but I have the link in my favorites.
(It creates a completely different website than the standard 2005 one while
it uses again the name codebehind after first creating a website with the
first website version from 2005 we have all done it new with this one
because it is easier to handle as project)

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I hope this helps,

Cor

"Nathan Sokalski" <nj********@hotmail.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
>I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
.NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Jul 2 '06 #5
Our ISP claims support for .Net 2.0 (and we've turned on the support in their
online configuration page) and said that we shouldn't need to download or add
something new. Yet we are also having trouble when we copy all the files
from "Compiled Site" we are using in Visual Studio 2005 to their server.
Again the application runs great while testing in VS.

This is a new site, not a converted/upgraded site from 2003. I can't get
anyone at our ISP to tell me the structure they are looking for, all they
claim is that they support .Net 2.0 and that they have customers using it.
Are there standard files that should be copied over? Is the
PrecompiledApp.config file necessary?

After using 2003, I expected the upload to server process to take me 5
minutes to complete. I've now spent over a day and a half messing around
with this. I must be missing something obvious - the site we built is very
simple.

"Cor Ligthert [MVP]" wrote:
Nathan,

I would have written the same as Peter, but I have the link in my favorites.
(It creates a completely different website than the standard 2005 one while
it uses again the name codebehind after first creating a website with the
first website version from 2005 we have all done it new with this one
because it is easier to handle as project)

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I hope this helps,

Cor

"Nathan Sokalski" <nj********@hotmail.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
.NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/


Jul 3 '06 #6
Hi,

1. What publishing method and protocol do they provide for you?

2. How do you configure new applications on their server? Do they set up
a single default app, or are you able to run 23 different apps if you
wanted to?

3. How do set the authentication methods on their server for different
folders, *or* did they set it up for you?

Delete everything you put in the site, then create this single file and
call it "Hello2.aspx", then upload it to your site, then browse to it
and tell me what you see on the screen.

<%@ Page Language="C#" %>
<html>
<head></head>
<body>
<%Response.Write("Hello C# World");%>
</body>
</html>
jmcs wrote:
Our ISP claims support for .Net 2.0 (and we've turned on the support in their
online configuration page) and said that we shouldn't need to download or add
something new. Yet we are also having trouble when we copy all the files
from "Compiled Site" we are using in Visual Studio 2005 to their server.
Again the application runs great while testing in VS.

This is a new site, not a converted/upgraded site from 2003. I can't get
anyone at our ISP to tell me the structure they are looking for, all they
claim is that they support .Net 2.0 and that they have customers using it.
Are there standard files that should be copied over? Is the
PrecompiledApp.config file necessary?

After using 2003, I expected the upload to server process to take me 5
minutes to complete. I've now spent over a day and a half messing around
with this. I must be missing something obvious - the site we built is very
simple.

"Cor Ligthert [MVP]" wrote:
>Nathan,

I would have written the same as Peter, but I have the link in my favorites.
(It creates a completely different website than the standard 2005 one while
it uses again the name codebehind after first creating a website with the
first website version from 2005 we have all done it new with this one
because it is easier to handle as project)

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I hope this helps,

Cor

"Nathan Sokalski" <nj********@hotmail.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
.NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/


--
Gerry Hickman (London UK)
Jul 3 '06 #7
Gerry,

Thanks for the response. I tried what you asked and received the same
message. Although it works fine in Visual Studio (Start Debugging - F5), I
can't seem to get it to run elsewhere. I use CuteFTP to copy the files from
the "C:\CompiledSite" directory to the location on the server. We have
numerous Visual Studio 2003 (.Net 1.1) applications running on the server -
one per directory (we set Default.aspx as the start page and associate the
application with a subdomain/domain: TestOne.DomainName.com).

Instead of calling it Hello2.aspx I put the code in Default.aspx and then
built the application, tested it, used "Publish Web Site", and then ftp'd the
CompiledSite files (and bin directory) to the server.

The error message we get says just that there is a RunTime Error and then
shows a suggestion for changing our CustomErrors in the Web.config file.

We also attempted to test the "CompiledSite" based on a suggestion from the
Visual Studio help/manual. We set the CompiledSite directory properties for
Websharing and started Internet Explorer and pointed to the Default.aspx
file. We received the following error from that:

********

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource
'http://localhost/CompiledSite/Default.aspx'. Line...

<%@ Page Language="C#" %>
-^

********

Not sure if that helps or not. I think our next attempt is to download the
code the others have talked about and see if it changes the layout to
something our ISP site understands.
"Gerry Hickman" wrote:
Hi,

1. What publishing method and protocol do they provide for you?

2. How do you configure new applications on their server? Do they set up
a single default app, or are you able to run 23 different apps if you
wanted to?

3. How do set the authentication methods on their server for different
folders, *or* did they set it up for you?

Delete everything you put in the site, then create this single file and
call it "Hello2.aspx", then upload it to your site, then browse to it
and tell me what you see on the screen.

<%@ Page Language="C#" %>
<html>
<head></head>
<body>
<%Response.Write("Hello C# World");%>
</body>
</html>
jmcs wrote:
Our ISP claims support for .Net 2.0 (and we've turned on the support in their
online configuration page) and said that we shouldn't need to download or add
something new. Yet we are also having trouble when we copy all the files
from "Compiled Site" we are using in Visual Studio 2005 to their server.
Again the application runs great while testing in VS.

This is a new site, not a converted/upgraded site from 2003. I can't get
anyone at our ISP to tell me the structure they are looking for, all they
claim is that they support .Net 2.0 and that they have customers using it.
Are there standard files that should be copied over? Is the
PrecompiledApp.config file necessary?

After using 2003, I expected the upload to server process to take me 5
minutes to complete. I've now spent over a day and a half messing around
with this. I must be missing something obvious - the site we built is very
simple.

"Cor Ligthert [MVP]" wrote:
Nathan,

I would have written the same as Peter, but I have the link in my favorites.
(It creates a completely different website than the standard 2005 one while
it uses again the name codebehind after first creating a website with the
first website version from 2005 we have all done it new with this one
because it is easier to handle as project)

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I hope this helps,

Cor

"Nathan Sokalski" <nj********@hotmail.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
'Publish Web Site' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don't know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
.NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/


--
Gerry Hickman (London UK)
Jul 3 '06 #8
Hi,
can't seem to get it to run elsewhere. I use CuteFTP to copy the files from
the "C:\CompiledSite" directory to the location on the server. We have
numerous Visual Studio 2003 (.Net 1.1) applications running on the server -
one per directory (we set Default.aspx as the start page and associate the
application with a subdomain/domain: TestOne.DomainName.com).
OK, in that case, how do you configure each site for .NET 1.1 vs .NET 2.0?
Instead of calling it Hello2.aspx I put the code in Default.aspx and then
built the application, tested it, used "Publish Web Site", and then ftp'd the
CompiledSite files (and bin directory) to the server.
OK, that's not what I asked you to do (!), but see below.
The error message we get says just that there is a RunTime Error and then
shows a suggestion for changing our CustomErrors in the Web.config file.
OK, you need to work out which is the "master" directory, and then
adjust the web.config file so that you can view errors remotely. In
theory you'll have one web.config for each site, but if you don't supply
one, it will probably use the one from the parent path.

It could be a real mess if you're running .NET 1.1 and .NET 2.0 side by
side unless they have a really robust admin interface for keeping them
separate and with the right config files in the right places.

Can you do this:

1. Sort out which site is running which .NET version

2. Sort out web.config in either the master or TestOne site so that you
can view errors remotely

3. Upload my hello2.aspx file to a totally clean test location. Do not
try to build it from within Visual Studio!! Just copy that one file.
Don't call it default.aspx either, that could cause confusion.

4. Browse to hello2.aspx, what does it say now?

--
Gerry Hickman (London UK)
Jul 4 '06 #9
Gerry,

First - Thank you for all the help.

Here's some answers to your questions:
- The ISP has a page to configure the subdomain to accept .Net 2.0. I've
made the selection.
- I tried again and copied your code using Notepad and saved and uploaded as
Hello2.aspx. I didn't think this would work since the ISP also has a
configuration page that allows you to select from a number of different
standard start pages (Default.aspx, Default.htm, ...). The site now gives
the following error:

*************
You are not authorized to view this page
You might not have permission to view this directory or page using the
credentials you supplied.

--------------------------------------------------------------------------------

If you believe you should be able to view this directory or page, please try
to contact the Web site by using any e-mail address or phone number that may
be listed on the ___Domain___ page.

You can click Search to look for information on the Internet.

HTTP Error 403 - Forbidden
Internet Explorer
*************

I'll now work on the config file Customerrors - something I should have
experimented with a while ago. I'll let you know what I learn.
"Gerry Hickman" wrote:
Hi,
can't seem to get it to run elsewhere. I use CuteFTP to copy the files from
the "C:\CompiledSite" directory to the location on the server. We have
numerous Visual Studio 2003 (.Net 1.1) applications running on the server -
one per directory (we set Default.aspx as the start page and associate the
application with a subdomain/domain: TestOne.DomainName.com).

OK, in that case, how do you configure each site for .NET 1.1 vs .NET 2.0?
Instead of calling it Hello2.aspx I put the code in Default.aspx and then
built the application, tested it, used "Publish Web Site", and then ftp'd the
CompiledSite files (and bin directory) to the server.

OK, that's not what I asked you to do (!), but see below.
The error message we get says just that there is a RunTime Error and then
shows a suggestion for changing our CustomErrors in the Web.config file.

OK, you need to work out which is the "master" directory, and then
adjust the web.config file so that you can view errors remotely. In
theory you'll have one web.config for each site, but if you don't supply
one, it will probably use the one from the parent path.

It could be a real mess if you're running .NET 1.1 and .NET 2.0 side by
side unless they have a really robust admin interface for keeping them
separate and with the right config files in the right places.

Can you do this:

1. Sort out which site is running which .NET version

2. Sort out web.config in either the master or TestOne site so that you
can view errors remotely

3. Upload my hello2.aspx file to a totally clean test location. Do not
try to build it from within Visual Studio!! Just copy that one file.
Don't call it default.aspx either, that could cause confusion.

4. Browse to hello2.aspx, what does it say now?

--
Gerry Hickman (London UK)
Jul 5 '06 #10
Hi jmcs,
Here's some answers to your questions:
- The ISP has a page to configure the subdomain to accept .Net 2.0. I've
made the selection.
OK, it makes sense now.
- I tried again and copied your code using Notepad and saved and uploaded as
Hello2.aspx. I didn't think this would work since the ISP also has a
configuration page that allows you to select from a number of different
standard start pages (Default.aspx, Default.htm, ...). The site now gives
the following error:

*************
You are not authorized to view this page
HTTP Error 403 - Forbidden
Internet Explorer
*************
OK, this is a completely different type of problem; it appears to be
saying you are not even allowed to browse to a page in your own site!
Have you checked the authentication methods for this sub-site?

Can you try uploading a static HTML page

<html><head></head><body>Hello World</body></html>

Do you still get 403?

It seems your v1.1 sites are allowing you to browse, but not your v2.0
sites? Perhaps try uploading hello2.aspx to one of your v1.1 sites and
then browse to it direct - does it work?

--
Gerry Hickman (London UK)
Jul 5 '06 #11
Gerry,

Sorry for the delay. I have been chasing down a Super Tech contact within
Microsoft and was able to spend an hour with him on the phone today. He used
Live Meeting and verified that our application works properly and that our
upload procedure and the configuration pages at the ISP look correct. He
also gave me some questions to forward to the ISP and I have done so.

It's Friday evening here and we hope to pick this back up on Monday after
the ISP responds. Hopefully we'll get to the root of this. If the answer is
something I can understand and post, I will.

"Gerry Hickman" wrote:
Hi jmcs,
Here's some answers to your questions:
- The ISP has a page to configure the subdomain to accept .Net 2.0. I've
made the selection.

OK, it makes sense now.
- I tried again and copied your code using Notepad and saved and uploaded as
Hello2.aspx. I didn't think this would work since the ISP also has a
configuration page that allows you to select from a number of different
standard start pages (Default.aspx, Default.htm, ...). The site now gives
the following error:

*************
You are not authorized to view this page
HTTP Error 403 - Forbidden
Internet Explorer
*************

OK, this is a completely different type of problem; it appears to be
saying you are not even allowed to browse to a page in your own site!
Have you checked the authentication methods for this sub-site?

Can you try uploading a static HTML page

<html><head></head><body>Hello World</body></html>

Do you still get 403?

It seems your v1.1 sites are allowing you to browse, but not your v2.0
sites? Perhaps try uploading hello2.aspx to one of your v1.1 sites and
then browse to it direct - does it work?

--
Gerry Hickman (London UK)
Jul 8 '06 #12

Hi,

I think you have to define a new Connection Pool at the IIS Server. Y
you dont do that, you can not have 1.1 and 2.0 .NET aplications working
at the same time.

regards,


jmcs ha escrito:
Gerry,

Sorry for the delay. I have been chasing down a Super Tech contact within
Microsoft and was able to spend an hour with him on the phone today. He used
Live Meeting and verified that our application works properly and that our
upload procedure and the configuration pages at the ISP look correct. He
also gave me some questions to forward to the ISP and I have done so.

It's Friday evening here and we hope to pick this back up on Monday after
the ISP responds. Hopefully we'll get to the root of this. If the answer is
something I can understand and post, I will.

"Gerry Hickman" wrote:
Hi jmcs,
Here's some answers to your questions:
- The ISP has a page to configure the subdomain to accept .Net 2.0. I've
made the selection.
OK, it makes sense now.
- I tried again and copied your code using Notepad and saved and uploaded as
Hello2.aspx. I didn't think this would work since the ISP also has a
configuration page that allows you to select from a number of different
standard start pages (Default.aspx, Default.htm, ...). The site now gives
the following error:
>
*************
You are not authorized to view this page
HTTP Error 403 - Forbidden
Internet Explorer
*************
OK, this is a completely different type of problem; it appears to be
saying you are not even allowed to browse to a page in your own site!
Have you checked the authentication methods for this sub-site?

Can you try uploading a static HTML page

<html><head></head><body>Hello World</body></html>

Do you still get 403?

It seems your v1.1 sites are allowing you to browse, but not your v2.0
sites? Perhaps try uploading hello2.aspx to one of your v1.1 sites and
then browse to it direct - does it work?

--
Gerry Hickman (London UK)
Aug 1 '06 #13

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

Similar topics

2
by: Patrick | last post by:
Hello I'm asking myself what the best practice is, when publishing a asp.net 2.0 website. So when I precompile the website, to put it online, i get a lot of DLLs and ascx/aspx files. So i put...
11
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
2
by: DCC700 | last post by:
VS 2005 Converted Header causing error when publishing After converting from Visual Studio 2003 to 2005, I have had several issues with a header that is used throughout the project. The...
5
by: Andy G | last post by:
I'm having a hell of a time publishing my first VS 2005 web site. All it tells me is publish failed. Is there any place that gives me a hint on why it failed? I'm typing in the website address...
5
by: Greg Smith | last post by:
I am making the step from windows to web. The final destination is our production server running Server 2003 Web Edition. I am having problems using the BUILD | PUBLISH WEB SITE option. What...
2
by: Geek | last post by:
Guys, I have a question regarding publishing web site using visual studio 2005. As usual I am running in to issues using visual studio 2005. I have build a web site and when I publish to the...
4
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a web app that uses a third party control. The control requires a license file that is located in the root folder of the website. Each time I publish the website,...
7
by: Agos | last post by:
I developed my first web site using Visual studio 2005. It works very well with Visual Studio. But after I published the web site in a file system folder in my PC using the instructions I found in...
4
by: cj | last post by:
I'm finally back to trying to write a web service. In VB 2005 I created a new web site and then ASP.NET Web Service. It opened showing App_Code/Service.VB with the following code already in it ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.