Showing posts with label files. Show all posts
Showing posts with label files. Show all posts

Thursday, March 29, 2012

Newbie - Problem Loading SLN files.

Hi All,

I am having a problem that is driving me crazy.

I have Windows 2000 Professional, Visual Studio Professional, IIS installed
and running...

I am reading ASP.NET Developer's JumpStart by Paul Sheriff and Ken Getz.
I've downloaded the examples and now want to try some of them out.

In VS, I go to the File Menu and Select, Open Solution. I go to the
directory that the installer put the book's files and select the SLN file.I
then get the following error:
Unable to get the project file from the Web Server. Unable to open Web
Project 'JumpStart/VBLanguage.' The Web 'JumpStart/VBLanguage' located
on server 'http://localhost/' does not exist.

In IIS, their is a virtual directory for JumpStart. I've tried creating one
for VBLanguage but I still am getting errors.

I then tried just opening the Project. I had to use a URL
(http://localhost/jumpstart/vblanguage/vblanguage.vbproj) and I can open it,
but I get the message: "You do not have permission to make changes to this
document. Do you want to open a read-only copy?"
I answer Yes, but I still get the error that it is unable to get the project
file from the Web Server.

I can't reproduce exactly what I did before, but at one point I think I made
my own Solution file and added everything, but I could not view any of the
pages in Design view.

I just want to learn this stuff. I've spent too long just trying to open a
file and no time reading and learning. It had been very frustrating (thanks
for letting me vent).

Thank you for any help you can provide.

-RobI think you need to contact either Paul Sheriff or Ken Getz for your answer.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:100t3elpo11ir12@.corp.supernews.com...
> Hi All,
> I am having a problem that is driving me crazy.
> I have Windows 2000 Professional, Visual Studio Professional, IIS
installed
> and running...
> I am reading ASP.NET Developer's JumpStart by Paul Sheriff and Ken Getz.
> I've downloaded the examples and now want to try some of them out.
> In VS, I go to the File Menu and Select, Open Solution. I go to the
> directory that the installer put the book's files and select the SLN
file.I
> then get the following error:
> Unable to get the project file from the Web Server. Unable to open Web
> Project 'JumpStart/VBLanguage.' The Web 'JumpStart/VBLanguage'
located
> on server 'http://localhost/' does not exist.
> In IIS, their is a virtual directory for JumpStart. I've tried creating
one
> for VBLanguage but I still am getting errors.
> I then tried just opening the Project. I had to use a URL
> (http://localhost/jumpstart/vblanguage/vblanguage.vbproj) and I can open
it,
> but I get the message: "You do not have permission to make changes to this
> document. Do you want to open a read-only copy?"
> I answer Yes, but I still get the error that it is unable to get the
project
> file from the Web Server.
> I can't reproduce exactly what I did before, but at one point I think I
made
> my own Solution file and added everything, but I could not view any of the
> pages in Design view.
> I just want to learn this stuff. I've spent too long just trying to open a
> file and no time reading and learning. It had been very frustrating
(thanks
> for letting me vent).
> Thank you for any help you can provide.
> -Rob
Maybe, but I installed it on a different PC with no problems. So I figured
it was a Microsoft problem, not Paul Sherrif's or Ken Getz's.

"Kevin Spencer" <kevin@.takempis.com> wrote in message
news:OMJfmRD4DHA.3944@.tk2msftngp13.phx.gbl...
> I think you need to contact either Paul Sheriff or Ken Getz for your
answer.
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
> "Rob G" <gumbatman@.hotmail.com> wrote in message
> news:100t3elpo11ir12@.corp.supernews.com...
> > Hi All,
> > I am having a problem that is driving me crazy.
> > I have Windows 2000 Professional, Visual Studio Professional, IIS
> installed
> > and running...
> > I am reading ASP.NET Developer's JumpStart by Paul Sheriff and Ken Getz.
> > I've downloaded the examples and now want to try some of them out.
> > In VS, I go to the File Menu and Select, Open Solution. I go to the
> > directory that the installer put the book's files and select the SLN
> file.I
> > then get the following error:
> > Unable to get the project file from the Web Server. Unable to open
Web
> > Project 'JumpStart/VBLanguage.' The Web 'JumpStart/VBLanguage'
> located
> > on server 'http://localhost/' does not exist.
> > In IIS, their is a virtual directory for JumpStart. I've tried creating
> one
> > for VBLanguage but I still am getting errors.
> > I then tried just opening the Project. I had to use a URL
> > (http://localhost/jumpstart/vblanguage/vblanguage.vbproj) and I can open
> it,
> > but I get the message: "You do not have permission to make changes to
this
> > document. Do you want to open a read-only copy?"
> > I answer Yes, but I still get the error that it is unable to get the
> project
> > file from the Web Server.
> > I can't reproduce exactly what I did before, but at one point I think I
> made
> > my own Solution file and added everything, but I could not view any of
the
> > pages in Design view.
> > I just want to learn this stuff. I've spent too long just trying to open
a
> > file and no time reading and learning. It had been very frustrating
> (thanks
> > for letting me vent).
> > Thank you for any help you can provide.
> > -Rob

newbie - stupid install question

Hi,

i FPTed my files to my host ISP. Now i can browse to
www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
Forbidden" at www.mysite.com. How do i get www.mysite.com to display
WebForm1.aspx?

Thanks,
MarkIn addition to index.html, your host will look for default.aspx (presuming it
supports asp.net, which is not the case with many hosters). The search order
depends on how IIS is configured (in IIS you can specify which pages to use
as the default, and in which order it looks for them, but your hoster likely
won't let you get at this).

So, get rid of index.html and rename your web form to default.aspx. Or, make
default.aspx or index.html a list of links to your real pages. Or, navigate
directly to mysite.com/webform1.aspx.

Bill

"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
There is a setting in IIS for a defualt document. The file can by anything
including WebForm1.aspx. Your host should have a control panel where you can
control this option. There is a default asp.net file with IIS, it is
default.aspx. I suggest you use this instead of WebForm1.aspx. It will make
moving your project to different servers easier.

HTH MikeL

"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
renaming to index.aspx works great!
Thanks Bill and MikeL
Mark

"Mark Oliver" <camarkco@.hotmail.com> wrote in message
news:8bCdnaLdHKKcAQLcRVn-gg@.adelphia.com...
> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark

newbie - stupid install question

Hi,
i FPTed my files to my host ISP. Now i can browse to
www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
Forbidden" at www.mysite.com. How do i get www.mysite.com to display
WebForm1.aspx?
Thanks,
MarkIn addition to index.html, your host will look for default.aspx (presuming i
t
supports asp.net, which is not the case with many hosters). The search order
depends on how IIS is configured (in IIS you can specify which pages to use
as the default, and in which order it looks for them, but your hoster likely
won't let you get at this).
So, get rid of index.html and rename your web form to default.aspx. Or, make
default.aspx or index.html a list of links to your real pages. Or, navigate
directly to mysite.com/webform1.aspx.
Bill
"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
There is a setting in IIS for a defualt document. The file can by anything
including WebForm1.aspx. Your host should have a control panel where you ca
n
control this option. There is a default asp.net file with IIS, it is
default.aspx. I suggest you use this instead of WebForm1.aspx. It will mak
e
moving your project to different servers easier.
HTH MikeL
"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
renaming to index.aspx works great!
Thanks Bill and MikeL
Mark
"Mark Oliver" <camarkco@.hotmail.com> wrote in message
news:8bCdnaLdHKKcAQLcRVn-gg@.adelphia.com...
> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>

Monday, March 26, 2012

newbie aspx.vb file question

I am brand new at building asp.net web sites. I am going through a site now that has some code behind links to aspx.vb files. I realize these files are compiled into dlls and used that way. But I am trying to find the aspx.vb files so I can review the actual code. Where are these files normally kept?

Thank you, in advance.

Jim

Hey Jim,

The *.vb files should be kept in the same directory as their corresponding *.aspx file. If the *.vb files don't exist in the same directory as the *.aspx files it is because a) the web site was pre-compiled and the code behind files are now packaged in a DLL as you mentioned or b) the code behind is inline in the *.aspx files (the code behind files do not have to be separated out into a separate file, they can be in the *.aspx file in a <script> block.)

Quick reference:

*.aspx files: Presentation Layer (HTML + ASP.NET controls)

*.vb or *.cs files : Codebehind files that go along with matchting *.aspx files (these are optional as code can be included in <script> blocks in the *.aspx pages.)

Hope that helps.

-Aaron

Newbie cant get CSS working

Hi,

I'm learning to apply CSS on web site. I've put a link ref of the style sheets in the MasterPage.master. (Of course, the css files have been placed at the correct folder).

Inside VS2005, the look is ok; the CSS style applies correctly. But when I preview (or even after publish web site), the styles don't look like working. The colors simply the applied to the text.

I thought inheritance thru the MasterPage.master gave the problem. Then, I just create another webform page without inheriting master page. Putting the css links and the preview result still not ok. Though with VS2005 everything looks alright.

What i've missed? Thanks!

Jack LING

Head section of the MasterPage.master page:

<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title>Live</title>
<link href="http://links.10026.com/?link=App_LocalResources/templates/template_css.css" rel="stylesheet" type="text/css" />
<link href="http://links.10026.com/?link=App_LocalResources/templates/theme.css" rel="stylesheet" type="text/css" />
</head>

Hi Jack,

Just a guess here, but I don't think the style sheet should be in the App_LocalResources folder - that strikes me as a special folder that may have varying contents depending where you publish the website. I could be wrong...

Could you run a little experiment? Try puting the stylesheets in the root of your web project and link to them appropriately:

<link href="http://links.10026.com/?link=template_css.css" rel="stylesheet" type="text/css" />

<link href="http://links.10026.com/?link=theme.css" rel="stylesheet" type="text/css" />

See if that corrects the problem. If so then consider moving the /templates folder out of the App_LocalResources folder and just have it sitting directly off the root.

Hope this helps!


Hi Draggor,


Great! Your reminder is correct! So, I won't put things to App_... folders until I learn more about its correct usage.

Thanks much!

Jack LING


is ther any reason you are placing the css file in side the APP_LocalResources folder? I don't think that folder accepts .css type of files and any access to that folder is denied i think.

You have to place the .css file somewhere else.

newbie configuration question

Hello.

I want to use asp not only with my admin account but also with a normal user account.
But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
bringing the message "The page cannot be displayed".

Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found a
really good web site concerning asp.

Thanks a lot for every little help!
Greetings,
timtos.Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory, choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain and NAMEOFYOURPC the name of your web server.



HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
>
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
>
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found a
> really good web site concerning asp.
>
> Thanks a lot for every little help!
> Greetings,
> timtos.
>
I also have found this (http://msdn.microsoft.com/library/d...sp_tut_00.asp):

Web permissions are set in IIS with the IIS Manager. However, those permissions can be undermined by NTFS permissions on specific files and folders. You may allow a user access to your Web site in IIS, but if NTFS file permissions deny access to an ASP file or a database file, your Web user does not see the file. If you are using Anonymous authentication, you must set NTFS permissions to allow access to the IWAM_ComputerName and IUSR_ComputerName accounts. Please see "Access Control" in Windows Help, the "Security" section in IIS Help, which is accessible from IIS Manager, and the IIS TechNet articles about NTFS Security.
Greetings

Daniel

"Daniel Walzenbach" <daniel.walzenbach.NOSPAM@.freudenberg.de> schrieb im Newsbeitrag news:u2J2C5mlDHA.1084@.tk2msftngp13.phx.gbl...
Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory, choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain and NAMEOFYOURPC the name of your web server.



HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
>
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
>
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found a
> really good web site concerning asp.
>
> Thanks a lot for every little help!
> Greetings,
> timtos.
>
Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory, choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain and NAMEOFYOURPC the name of your web server.



HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
>
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
>
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found a
> really good web site concerning asp.
>
> Thanks a lot for every little help!
> Greetings,
> timtos.
>
Thanks a lot for the detailed answers!
I will go through this informatin right now.

So thanks again and greetings,
timtos.
-- Original Message --
From: Daniel Walzenbach
Newsgroups: microsoft.public.dotnet.framework.aspnet
Sent: Sunday, October 19, 2003 8:37 PM
Subject: Re: newbie configuration question

I also have found this (http://msdn.microsoft.com/library/d...sp_tut_00.asp):

Web permissions are set in IIS with the IIS Manager. However, those permissions can be undermined by NTFS permissions on specific
files and folders. You may allow a user access to your Web site in IIS, but if NTFS file permissions deny access to an ASP file or a
database file, your Web user does not see the file. If you are using Anonymous authentication, you must set NTFS permissions to
allow access to the IWAM_ComputerName and IUSR_ComputerName accounts. Please see "Access Control" in Windows Help, the "Security"
section in IIS Help, which is accessible from IIS Manager, and the IIS TechNet articles about NTFS Security.
Greetings
Daniel
"Daniel Walzenbach" <daniel.walzenbach.NOSPAM@.freudenberg.de> schrieb im Newsbeitrag news:u2J2C5mlDHA.1084@.tk2msftngp13.phx.gbl...
Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory,
choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain
and NAMEOFYOURPC the name of your web server.

HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found
a
> really good web site concerning asp.
> Thanks a lot for every little help!
> Greetings,
> timtos.
I also have found this (http://msdn.microsoft.com/library/d...sp_tut_00.asp):

Web permissions are set in IIS with the IIS Manager. However, those permissions can be undermined by NTFS permissions on specific files and folders. You may allow a user access to your Web site in IIS, but if NTFS file permissions deny access to an ASP file or a database file, your Web user does not see the file. If you are using Anonymous authentication, you must set NTFS permissions to allow access to the IWAM_ComputerName and IUSR_ComputerName accounts. Please see "Access Control" in Windows Help, the "Security" section in IIS Help, which is accessible from IIS Manager, and the IIS TechNet articles about NTFS Security.
Greetings

Daniel

"Daniel Walzenbach" <daniel.walzenbach.NOSPAM@.freudenberg.de> schrieb im Newsbeitrag news:u2J2C5mlDHA.1084@.tk2msftngp13.phx.gbl...
Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory, choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain and NAMEOFYOURPC the name of your web server.



HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
>
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
>
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found a
> really good web site concerning asp.
>
> Thanks a lot for every little help!
> Greetings,
> timtos.
>
Thanks a lot for the detailed answers!
I will go through this informatin right now.

So thanks again and greetings,
timtos.
-- Original Message --
From: Daniel Walzenbach
Newsgroups: microsoft.public.dotnet.framework.aspnet
Sent: Sunday, October 19, 2003 8:37 PM
Subject: Re: newbie configuration question

I also have found this (http://msdn.microsoft.com/library/d...sp_tut_00.asp):

Web permissions are set in IIS with the IIS Manager. However, those permissions can be undermined by NTFS permissions on specific
files and folders. You may allow a user access to your Web site in IIS, but if NTFS file permissions deny access to an ASP file or a
database file, your Web user does not see the file. If you are using Anonymous authentication, you must set NTFS permissions to
allow access to the IWAM_ComputerName and IUSR_ComputerName accounts. Please see "Access Control" in Windows Help, the "Security"
section in IIS Help, which is accessible from IIS Manager, and the IIS TechNet articles about NTFS Security.
Greetings
Daniel
"Daniel Walzenbach" <daniel.walzenbach.NOSPAM@.freudenberg.de> schrieb im Newsbeitrag news:u2J2C5mlDHA.1084@.tk2msftngp13.phx.gbl...
Timtos,

AFAIK you have to configure the NFTS permissions on your web server for your specific directory. Try to right click your directory,
choose properties > security and add rights for the user YOURDOMAIN\IUSR_NAMEOFYOURPC where YOURDOMAIN is the name of your domain
and NAMEOFYOURPC the name of your web server.

HTHs

Best regards

Daniel Walzenbach

P.S. If you need to contact me simply remove ".NOSPAM" from my email address.

"timtos" <tirobu@.gmx.de> schrieb im Newsbeitrag news:bmu2ad$ian$1@.news.uni-koblenz.de...
> Hello.
> I want to use asp not only with my admin account but also with a normal user account.
> But being logged in as a normal user I cant create files or directories in the inetpub\wwwroot\ directory and http://localhost is
> bringing the message "The page cannot be displayed".
> Where can I configure iis or a user account that way that a normal user can use asp/ localhost. I know that this is a very basic
> question but in my asp-book nothing is mentioned about it. So also a recommended reading would be nice. Until now I havent found
a
> really good web site concerning asp.
> Thanks a lot for every little help!
> Greetings,
> timtos.

Saturday, March 24, 2012

Newbie Deployment question

Hi,

I am building a ASP.NET web app that a compnay is hosting for me, and they
have given me all the FTP info so I can upload files to the virtual
directory, and they have put a default.htm file there, which says the web
site is coming.

This I fear is a lame question but how can I get my default web page to
appear instead of theirs when visitors type in www.mywebsite.com

TIA
Colin BAs long as they have ASP.NET installed, you should be able to just copy over
that default file. (Anyone) Correct me if I'm wrong, but they must have
their server set up to recognize the aspx page as a default page as well.

If they don't have the .NET framework on their server, you might be up the
creek.

"Colin Basterfield" <colinbasterfield@.hotmail.com> wrote in message
news:ext%235jaAEHA.3308@.TK2MSFTNGP10.phx.gbl...
> Hi,
> I am building a ASP.NET web app that a compnay is hosting for me, and they
> have given me all the FTP info so I can upload files to the virtual
> directory, and they have put a default.htm file there, which says the web
> site is coming.
> This I fear is a lame question but how can I get my default web page to
> appear instead of theirs when visitors type in www.mywebsite.com
> TIA
> Colin B
Hi Pat,

> If they don't have the .NET framework on their server, you might be up the
> creek.

They do, that was why I chose them.

>Correct me if I'm wrong, but they must have their server set up to
recognize the aspx page as a default page as well.

I am assuming this to be the case.

many thanks
Colin B

"Pat Lester" <lest3560@.bellsouth.net> wrote in message
news:owz1c.32710$Tn.4372@.bignews5.bellsouth.net...
> As long as they have ASP.NET installed, you should be able to just copy
over
> that default file. (Anyone) Correct me if I'm wrong, but they must have
> their server set up to recognize the aspx page as a default page as well.
> If they don't have the .NET framework on their server, you might be up the
> creek.
>
> "Colin Basterfield" <colinbasterfield@.hotmail.com> wrote in message
> news:ext%235jaAEHA.3308@.TK2MSFTNGP10.phx.gbl...
> > Hi,
> > I am building a ASP.NET web app that a compnay is hosting for me, and
they
> > have given me all the FTP info so I can upload files to the virtual
> > directory, and they have put a default.htm file there, which says the
web
> > site is coming.
> > This I fear is a lame question but how can I get my default web page to
> > appear instead of theirs when visitors type in www.mywebsite.com
> > TIA
> > Colin B
On the document tab of the property of your virtual directory in the IIS
snap shot
they should move default.aspx up front . You should actually make sure they
have done it.
I have had the same problem with my own server especially if they are using
windows 2003 server.

And of course your applicaticon start up page should be deafult.aspx .
The idea here is , that it should what ever .htm or aspx is first listed in
"documents" of
your application property.

"Colin Basterfield" <colinbasterfield@.hotmail.com> wrote in message
news:uPDdVBbAEHA.3248@.TK2MSFTNGP11.phx.gbl...
> Hi Pat,
> > If they don't have the .NET framework on their server, you might be up
the
> > creek.
> They do, that was why I chose them.
> >Correct me if I'm wrong, but they must have their server set up to
> recognize the aspx page as a default page as well.
> I am assuming this to be the case.
> many thanks
> Colin B
> "Pat Lester" <lest3560@.bellsouth.net> wrote in message
> news:owz1c.32710$Tn.4372@.bignews5.bellsouth.net...
> > As long as they have ASP.NET installed, you should be able to just copy
> over
> > that default file. (Anyone) Correct me if I'm wrong, but they must have
> > their server set up to recognize the aspx page as a default page as
well.
> > If they don't have the .NET framework on their server, you might be up
the
> > creek.
> > "Colin Basterfield" <colinbasterfield@.hotmail.com> wrote in message
> > news:ext%235jaAEHA.3308@.TK2MSFTNGP10.phx.gbl...
> > > Hi,
> > > > I am building a ASP.NET web app that a compnay is hosting for me, and
> they
> > > have given me all the FTP info so I can upload files to the virtual
> > > directory, and they have put a default.htm file there, which says the
> web
> > > site is coming.
> > > > This I fear is a lame question but how can I get my default web page
to
> > > appear instead of theirs when visitors type in www.mywebsite.com
> > > > TIA
> > > Colin B
> >

newbie file security question

This is probably simple, but I don't know the answer:
I have a very large directory of files (including html, .doc, .pdf's,
folders, etc, etc).
I want to have these available for people to browse, but I want them only to
be able to browse them if they are logged in, how do I do this? Sorry, I'm
very new to ASP.NET.This can be done in IIS alone, enable directory browsing on the site
and require a password on the site (uncheck allow anonymous access).