Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2004

Tip: Looking for answers? Try searching our database.

Where is WebSettings path stored?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Varn - 28 Apr 2004 20:43 GMT
I have looked in .csproj and in .sln file and cannot locate where the
Project/Web Settings/Path is stored.  Also looked in csproj.webinfo file and
cannot find it.

I have run out of places to look.  Please help.

Signature

-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

CT - 29 Apr 2004 09:29 GMT
I assume you're talking about the Path for the FileShare Web Access method?
If so, you can access it from the project Property Pages dialog box, opened
by right-clicking the project in the Solution Explorer and selecting
Properties from the context menu. It's saved to the Global.asax.xml file
which is stored in the global.asax.xml file in a subfolder of the
\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\ProjectName folder. This folder is created the first time you run the
Web app or when the project is first opened on a new dev machine. It's also
stored in the VS Web Cache. When you move the project to a new machine, you
need to first create the virtual directory in IIS. If you then open the
solution, it looks for information in VS Web cache and in the Temporary
ASP.NET
Files for information. If nothing is found, which should be the case when
it's a new project on the machine, it queries IIS for the exact location of
the project files. There's more to it than that, but that's the overall
picture.

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

>I have looked in .csproj and in .sln file and cannot locate where the
> Project/Web Settings/Path is stored.  Also looked in csproj.webinfo file
> and
> cannot find it.
>
> I have run out of places to look.  Please help.
Ken Varn - 29 Apr 2004 14:49 GMT
Interesting.

Is there any reason why this is not stored in the application project file?

I have noticed that if I do in fact move a project file to a different
machine, and create a virtual directory in IIS to point to that project, I
am asked for the path of the project when it is opened the first time.  Is
there anyway to avoid this?

Also, are these temporary ASP.NET files ever cleaned up?  If I delete a
project, do these temporary file still stick around?

Signature

-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

> I assume you're talking about the Path for the FileShare Web Access method?
> If so, you can access it from the project Property Pages dialog box, opened
[quoted text clipped - 19 lines]
> >
> > I have run out of places to look.  Please help.
CT - 29 Apr 2004 17:27 GMT
Hi Ken,

inline

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

> Interesting.
>
> Is there any reason why this is not stored in the application project
> file?
I can't give you a good answer on this one.

> I have noticed that if I do in fact move a project file to a different
> machine, and create a virtual directory in IIS to point to that project, I
> am asked for the path of the project when it is opened the first time.  Is
> there anyway to avoid this?
That's weird, as it should pick it up from IIS. Are you sure you haven't had
the project on this machine before and not removed it from the temporary
ASP.NET Files folder as well as the VS Web cache?

> Also, are these temporary ASP.NET files ever cleaned up?  If I delete a
> project, do these temporary file still stick around?
Yes, you manually have to delete the temporary files.
Ken Varn - 29 Apr 2004 18:43 GMT
> > I have noticed that if I do in fact move a project file to a different
> > machine, and create a virtual directory in IIS to point to that project, I
[quoted text clipped - 3 lines]
> the project on this machine before and not removed it from the temporary
> ASP.NET Files folder as well as the VS Web cache?

There is a possiblity that the project may have been on the machine in a
different location at one time.  Maybe that is why it asks for a new
sub-dir.

> > Also, are these temporary ASP.NET files ever cleaned up?  If I delete a
> > project, do these temporary file still stick around?
> Yes, you manually have to delete the temporary files.

One would think that there would be some built-in method in Visual Studio
for doing this to avoid the problem stated above.

Signature

-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

> Hi Ken,
>
[quoted text clipped - 17 lines]
> > project, do these temporary file still stick around?
> Yes, you manually have to delete the temporary files.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.