473,396 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

can you rename this item

hey all,

i was just wondering if you name the web.config any name as long as it has
the .config? True or False, why.

thanks,
rodchar
Nov 18 '05 #1
9 1167
No, you cannot rename it. Why? Because ASP.Net looks for it by name.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
hey all,

i was just wondering if you name the web.config any name as long as it has
the .config? True or False, why.

thanks,
rodchar

Nov 18 '05 #2
well, for whatever reason, the web host i'm using on the internet requires me
to place my dll files and web.config in my root folder and in the application
root. I'm sharing the root with 2 other people so I guess we're going to have
to share the web.config.

"Kevin Spencer" wrote:
No, you cannot rename it. Why? Because ASP.Net looks for it by name.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
hey all,

i was just wondering if you name the web.config any name as long as it has
the .config? True or False, why.

thanks,
rodchar


Nov 18 '05 #3
And share the default.aspx?? etc etc What do you mean "share the root with
2 other people"? Are you all working on the same web site?

Jeff
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
well, for whatever reason, the web host i'm using on the internet requires me to place my dll files and web.config in my root folder and in the application root. I'm sharing the root with 2 other people so I guess we're going to have to share the web.config.

"Kevin Spencer" wrote:
No, you cannot rename it. Why? Because ASP.Net looks for it by name.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
hey all,

i was just wondering if you name the web.config any name as long as it has the .config? True or False, why.

thanks,
rodchar


Nov 18 '05 #4
yes, we are using and sharing a web site with 1and1.com. apparently this is
the way we have to deploy a .net project. our root directory and what ever
app directory we use, the dlls and the web.config have to copied to both.

"Jeff Dillon" wrote:
And share the default.aspx?? etc etc What do you mean "share the root with
2 other people"? Are you all working on the same web site?

Jeff
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
well, for whatever reason, the web host i'm using on the internet requires

me
to place my dll files and web.config in my root folder and in the

application
root. I'm sharing the root with 2 other people so I guess we're going to

have
to share the web.config.

"Kevin Spencer" wrote:
No, you cannot rename it. Why? Because ASP.Net looks for it by name.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
> hey all,
>
> i was just wondering if you name the web.config any name as long as it has > the .config? True or False, why.
>
> thanks,
> rodchar


Nov 18 '05 #5
You will then have to merge your web.config file with any other which
exists. This is asking for some pain because you may overwrite some settings
of an existing web.config or vice-versa

--
Regards,

Deepak
[I Code, therefore I am]
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
yes, we are using and sharing a web site with 1and1.com. apparently this
is
the way we have to deploy a .net project. our root directory and what ever
app directory we use, the dlls and the web.config have to copied to both.

"Jeff Dillon" wrote:
And share the default.aspx?? etc etc What do you mean "share the root
with
2 other people"? Are you all working on the same web site?

Jeff
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
> well, for whatever reason, the web host i'm using on the internet
> requires

me
> to place my dll files and web.config in my root folder and in the

application
> root. I'm sharing the root with 2 other people so I guess we're going
> to

have
> to share the web.config.
>
> "Kevin Spencer" wrote:
>
> > No, you cannot rename it. Why? Because ASP.Net looks for it by name.
> >
> > --
> > HTH,
> > Kevin Spencer
> > ..Net Developer
> > Microsoft MVP
> > Neither a follower
> > nor a lender be.
> >
> > "rodchar" <ro*****@discussions.microsoft.com> wrote in message
> > news:B8**********************************@microsof t.com...
> > > hey all,
> > >
> > > i was just wondering if you name the web.config any name as long as
> > > it

has
> > > the .config? True or False, why.
> > >
> > > thanks,
> > > rodchar
> >
> >
> >


Nov 18 '05 #6
How do users browse to each individual website, if they share the same
physical directory? You each agree to have a unique home page?

Jeff
"Deepak" <ka**********@gmail.com> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
You will then have to merge your web.config file with any other which
exists. This is asking for some pain because you may overwrite some settings of an existing web.config or vice-versa

--
Regards,

Deepak
[I Code, therefore I am]
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
yes, we are using and sharing a web site with 1and1.com. apparently this
is
the way we have to deploy a .net project. our root directory and what ever app directory we use, the dlls and the web.config have to copied to both.
"Jeff Dillon" wrote:
And share the default.aspx?? etc etc What do you mean "share the root
with
2 other people"? Are you all working on the same web site?

Jeff
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
> well, for whatever reason, the web host i'm using on the internet
> requires
me
> to place my dll files and web.config in my root folder and in the
application
> root. I'm sharing the root with 2 other people so I guess we're going
> to
have
> to share the web.config.
>
> "Kevin Spencer" wrote:
>
> > No, you cannot rename it. Why? Because ASP.Net looks for it by name. > >
> > --
> > HTH,
> > Kevin Spencer
> > ..Net Developer
> > Microsoft MVP
> > Neither a follower
> > nor a lender be.
> >
> > "rodchar" <ro*****@discussions.microsoft.com> wrote in message
> > news:B8**********************************@microsof t.com...
> > > hey all,
> > >
> > > i was just wondering if you name the web.config any name as long as > > > it
has
> > > the .config? True or False, why.
> > >
> > > thanks,
> > > rodchar
> >
> >
> >


Nov 18 '05 #7
yes, that's right. we share the homepage directory.

"Jeff Dillon" wrote:
How do users browse to each individual website, if they share the same
physical directory? You each agree to have a unique home page?

Jeff
"Deepak" <ka**********@gmail.com> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
You will then have to merge your web.config file with any other which
exists. This is asking for some pain because you may overwrite some

settings
of an existing web.config or vice-versa

--
Regards,

Deepak
[I Code, therefore I am]
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
yes, we are using and sharing a web site with 1and1.com. apparently this
is
the way we have to deploy a .net project. our root directory and what ever app directory we use, the dlls and the web.config have to copied to both.
"Jeff Dillon" wrote:

> And share the default.aspx?? etc etc What do you mean "share the root
> with
> 2 other people"? Are you all working on the same web site?
>
> Jeff
> "rodchar" <ro*****@discussions.microsoft.com> wrote in message
> news:A8**********************************@microsof t.com...
> > well, for whatever reason, the web host i'm using on the internet
> > requires
> me
> > to place my dll files and web.config in my root folder and in the
> application
> > root. I'm sharing the root with 2 other people so I guess we're going
> > to
> have
> > to share the web.config.
> >
> > "Kevin Spencer" wrote:
> >
> > > No, you cannot rename it. Why? Because ASP.Net looks for it by name.> > >
> > > --
> > > HTH,
> > > Kevin Spencer
> > > ..Net Developer
> > > Microsoft MVP
> > > Neither a follower
> > > nor a lender be.
> > >
> > > "rodchar" <ro*****@discussions.microsoft.com> wrote in message
> > > news:B8**********************************@microsof t.com...
> > > > hey all,
> > > >
> > > > i was just wondering if you name the web.config any name as long as> > > > it
> has
> > > > the .config? True or False, why.
> > > >
> > > > thanks,
> > > > rodchar
> > >
> > >
> > >
>
>
>



Nov 18 '05 #8
I would get a different ISP. So you have to agree to never use similar
filenames??

Jeff
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:93**********************************@microsof t.com...
yes, that's right. we share the homepage directory.

"Jeff Dillon" wrote:
How do users browse to each individual website, if they share the same
physical directory? You each agree to have a unique home page?

Jeff
"Deepak" <ka**********@gmail.com> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
You will then have to merge your web.config file with any other which
exists. This is asking for some pain because you may overwrite some

settings
of an existing web.config or vice-versa

--
Regards,

Deepak
[I Code, therefore I am]
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
> yes, we are using and sharing a web site with 1and1.com. apparently this > is
> the way we have to deploy a .net project. our root directory and what
ever
> app directory we use, the dlls and the web.config have to copied to

both.
>
> "Jeff Dillon" wrote:
>
>> And share the default.aspx?? etc etc What do you mean "share the
root >> with
>> 2 other people"? Are you all working on the same web site?
>>
>> Jeff
>> "rodchar" <ro*****@discussions.microsoft.com> wrote in message
>> news:A8**********************************@microsof t.com...
>> > well, for whatever reason, the web host i'm using on the internet
>> > requires
>> me
>> > to place my dll files and web.config in my root folder and in the
>> application
>> > root. I'm sharing the root with 2 other people so I guess we're going >> > to
>> have
>> > to share the web.config.
>> >
>> > "Kevin Spencer" wrote:
>> >
>> > > No, you cannot rename it. Why? Because ASP.Net looks for it by

name.
>> > >
>> > > --
>> > > HTH,
>> > > Kevin Spencer
>> > > ..Net Developer
>> > > Microsoft MVP
>> > > Neither a follower
>> > > nor a lender be.
>> > >
>> > > "rodchar" <ro*****@discussions.microsoft.com> wrote in message
>> > > news:B8**********************************@microsof t.com...
>> > > > hey all,
>> > > >
>> > > > i was just wondering if you name the web.config any name as

long as
>> > > > it
>> has
>> > > > the .config? True or False, why.
>> > > >
>> > > > thanks,
>> > > > rodchar
>> > >
>> > >
>> > >
>>
>>
>>


Nov 18 '05 #9
thank you all for the feedback. this helps.

"rodchar" wrote:
hey all,

i was just wondering if you name the web.config any name as long as it has
the .config? True or False, why.

thanks,
rodchar

Nov 18 '05 #10

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

Similar topics

1
by: Jay at SCA | last post by:
I've been having the following issue with a windows service I've created in vb.net (.net fw 1.1): Basically, my service monitors a folder for the creation of any new files of a particular type...
2
by: Bruce Russell | last post by:
This may sound stupid but I can't rename the WebForm1.aspx in the solution explorer. The file is located in my local web server at C:\Inetpub\wwwroot\Lab3-VB-Starter\WebForm1.aspx Is there...
5
by: Tony Meyer | last post by:
On Windows, if I do os.rename(old, new) where old is a file that is in-use (e.g. python itself, or a dll that is loaded), I would expect that an error would be raised (e.g. as when os.remove is...
2
by: AA Arens | last post by:
During my database construction, I left the names of the buttons, comboboxes named by default like Combo77, Command43. I can rename them with Properties Other Name, but them I start getting...
1
by: hardik | last post by:
can anyone tell me how i can change the filename which is going to uploaded here is a code for uploading a file <!-- #include file="clsUpload.asp" --> Set objUpload = New clsUpload If...
5
by: NickP | last post by:
Hi there, I need to be able to change the name of my application through a pre-compile constant, is this possible? I want to try to avoid having 2 separate code trees for an application I am...
1
by: cheesey_toastie | last post by:
I have a long query which I have set off and would like to stop, and rename one of the tables used. My query is due to my lack of understanding of the underlying structure of MSSQL-Server... ...
0
by: Gigabyte | last post by:
How can I rename listbox items like I do it with files in windows....I want rename items in user mode, not programming way (Visual Basic.NET)
2
by: Yosi | last post by:
Hi All I have recently changed my send email vbscript to work on W2K3 and I am now using the CDO.Message object. I need to rename files attached to the email without copying / renaming the file...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.