Lloyd Sheen said:
Ok I copied a VS 2005 web site to another folder.
Open my new VS 2008. Attempt to run.
I get the following:
Error 1 It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS. C:\Visual Studio Projects\Music Player Web
Site\MusicSite\Web.config 21
The error points to :
<sessionState timeout="60">
</sessionState>
This is not a virtual directory. I have one but it is attached to IIS7.0
and is used when I publish.
Any ideas??
Thanks
Lloyd Sheen
When I delete the above I now get the following errors:
Message 2 Could not find schema information for the element 'validation'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 62 4
C:\...\MusicSite\
Message 3 Could not find schema information for the attribute
'validateIntegratedModeConfiguration'. C:\Visual Studio Projects\Music
Player Web Site\MusicSite\Web.config 62 15 C:\...\MusicSite\
Message 4 Could not find schema information for the element 'modules'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 63 4
C:\...\MusicSite\
Message 5 Could not find schema information for the element 'add'. C:\Visual
Studio Projects\Music Player Web Site\MusicSite\Web.config 64 5
C:\...\MusicSite\
Message 6 Could not find schema information for the attribute 'name'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 64 9
C:\...\MusicSite\
Message 7 Could not find schema information for the attribute
'preCondition'. C:\Visual Studio Projects\Music Player Web
Site\MusicSite\Web.config 64 29 C:\...\MusicSite\
Message 8 Could not find schema information for the attribute 'type'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 64 59
C:\...\MusicSite\
Message 9 Could not find schema information for the element 'handlers'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 66 4
C:\...\MusicSite\
Message 10 Could not find schema information for the element 'remove'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 67 5
C:\...\MusicSite\
Message 11 Could not find schema information for the attribute 'name'.
C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config 67 12
C:\...\MusicSite\
Things could not go much worse I think.
LS