all groups > visual studio .net ide > april 2004 >
You're in the

visual studio .net ide

group:

Where is WebSettings path stored?



Where is WebSettings path stored? Ken Varn
4/28/2004 3:43:13 PM
visual studio .net ide: 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
Senior Software Engineer
Diebold Inc.

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

Re: Where is WebSettings path stored? Ken Varn
4/29/2004 9:49:31 AM
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?


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

EmailID = varnk
Domain = Diebold.com
-----------------------------------
[quoted text, click to view]

Re: Where is WebSettings path stored? CT
4/29/2004 10:29:42 AM
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.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]



Re: Where is WebSettings path stored? Ken Varn
4/29/2004 1:43:45 PM
[quoted text, click to view]

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.


[quoted text, click to view]

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

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

EmailID = varnk
Domain = Diebold.com
-----------------------------------
[quoted text, click to view]

Re: Where is WebSettings path stored? CT
4/29/2004 6:27:20 PM
Hi Ken,

inline

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]
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?
[quoted text, click to view]
Yes, you manually have to delete the temporary files.

AddThis Social Bookmark Button