473,396 Members | 1,693 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.

Custom Server setting is not remembered in Web app Start Options

This used to work...

I have several web site "projects" configured in my VS 2005 solution, all of
which used to be configured to run in IIS on my PC (vs. the built-in
webserver in Whidbey). Somehow they got set back to "Use default Web server."
If I change them back to use a custom server and enter the URL for each web
app, everything is fine -- until I reopen the solution. Then they're all set
back to "Use default Web server."

I've been using this technique to force VS to run web apps in IIS ever since
VS 2005 came out, and never had a problem. Any ideas what might have caused
this or how I can make the "Server" setting stick in Start Options?

TIA...

--Rich Armstrong
May 17 '07 #1
3 1507
Hi Rich,

The "Start Options" of a web site is stored at %UserProfile%\Local
Settings\Application Data\Microsoft\WebSiteCache\websites.xml.

Please check if there's any permission problem that prevented VS2005 from
saving to this file.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 18 '07 #2
Thanks for pointing the way. I fixed it based on what you said.

I found a copy of websites.xml in
C:\Users\RichA\AppData\Local\Microsoft\WebsiteCach e on my box (it's running
Vista). It contained 74,076 zero bytes and nothing else, but it doesn't
appear to have any access issues (its ACL is simply inherited from
C:\Users\RichA).

The last modified date was May 4, about two weeks ago. If memory serves,
that was the day I uninstalled the VS Orcas CTP. If that's what did the
damage, then mea culpa. :(

I was able to repair it rather easily, though. Another developer gave me a
copy of his websites.xml which I gutted, leaving only the root element
(<DesignTimeData/>). I then opened VS, (re)set all of my web site Start
Options, quit VS, and voila: everything stuck.

Would you happen to know the answers to a couple of simple related questions?

1. Websites.xml wasn't saved until I quit VS, even when I did a Save All. Is
quitting VS indeed the only way to save that file?

2. What, exactly, must the Base URL indicate? For example, if I have a web
service in a virtual directory called MyService on my local IIS, which of the
following should it be?
http://localhost/MyService
http://localhost/MyService/
http://localhost/MyService/MyService.asmx

Thanks again.

--Rich

===========================================

"Walter Wang [MSFT]" wrote:
Hi Rich,

The "Start Options" of a web site is stored at %UserProfile%\Local
Settings\Application Data\Microsoft\WebSiteCache\websites.xml.

Please check if there's any permission problem that prevented VS2005 from
saving to this file.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 18 '07 #3
Hi Rich,

I'm glad the suggestion worked and thanks for sharing the possible cause
here.

As always, we don't recommend installing CTP or beta version of any
products on your regular developing workstation or production server.

For this websites.xml, there isn't any public documentation on it. I'm
sorry that I really cannot provide more information about how it's used and
the format of it.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 21 '07 #4

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

Similar topics

1
by: T.S.Negi | last post by:
To support remote transaction on SQL Server i have configured user options to 16384. However if i make changes in other properties of SQL Server, user option setting reverts to its original value....
19
by: laurenq uantrell | last post by:
I'm using Access 2K. I'm hoping someone can tell me which method performs faster- (currently I'm using a mix of both methods) a.) creating custom properties and then calling functions to set and...
7
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
3
by: Peter | last post by:
Hello, One thing I am looking to do is to create a couple of different custom Web Controls that can give me added options when specifying them in an ASP.NET page. For example: ...
5
by: Jon Skeet [C# MVP] | last post by:
I've run against a problem which I'm *sure* must be easy to solve - but I'm blowed if I can find the answer :( I have a web service which I want to require authentication. I need to authenticate...
2
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
2
by: Keith Hutchison | last post by:
G'day Is it possible to do custom context sensitive menus within MS Access. If yes, does anyone have a sample example? Thanks in advance Keith
4
by: cherub | last post by:
I am not a programmer but i am trying to run the following script i thought i figured out with a book, but i am getting an error. Here is what i need it to do: From Outlook 03 Custom Contact Form...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...

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.