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 / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Upgrade to Vs 2008 does not work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Sheen - 02 Apr 2008 19:20 GMT
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
Lloyd Sheen - 02 Apr 2008 19:26 GMT
> Ok I copied a VS 2005 web site to another folder.
>
[quoted text clipped - 20 lines]
> 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
George Ter-Saakov - 02 Apr 2008 19:28 GMT
You must configured fresh folder you created as an application in IIS
management console..

George.

> Ok I copied a VS 2005 web site to another folder.
>
[quoted text clipped - 20 lines]
> Thanks
> Lloyd Sheen
Lloyd Sheen - 02 Apr 2008 19:48 GMT
> You must configured fresh folder you created as an application in IIS
> management console..
[quoted text clipped - 25 lines]
>> Thanks
>> Lloyd Sheen

I created a new folder (file system).  I copied the contents of my VS 2005
web site (file system) to the new folder.  At this point I cannot see what
relationship this has to IIS.  If I "Publish" the site then I would use the
virtual folder which is configure as an application.

Until I get a working version in VS 2008 I see no relationship between my
(file system) web site and ISS.

If so what do I get rid of or change or ....????

Thanks
Lloyd Sheen
George Ter-Saakov - 02 Apr 2008 20:53 GMT
Are you saying that you using Filesystem type of project for your ASP.NET
application?
Cause the error points that you are using IIS. And with IIS virtual (or not
virtual) folder must be configured as an application if you planning to have
web.config there...

George.

>> You must configured fresh folder you created as an application in IIS
>> management console..
[quoted text clipped - 38 lines]
> Thanks
> Lloyd Sheen
Lloyd Sheen - 02 Apr 2008 21:18 GMT
> Are you saying that you using Filesystem type of project for your ASP.NET
> application?
[quoted text clipped - 46 lines]
>> Thanks
>> Lloyd Sheen

Yes I am using filesystem not IIS.  The project (2005) is filesystem but has
a publish which sends it to IIS.

LS
Lloyd Sheen - 02 Apr 2008 22:05 GMT
>> Are you saying that you using Filesystem type of project for your ASP.NET
>> application?
[quoted text clipped - 51 lines]
>
> LS

Ok now it seems that somehow I managed to convince VS 2008 that my folder
structure required that the top level folder was the solution.  Now the
original solution contained the web site and a project with the DAL.  Simply
creating a new folder with the web site folder and the DAL folder did not
work and all the references were totally out of wack.

What I had to do was delete all this so that VS 2008 told me it could not
find it and then recopy the two folders under a general folder I have
created for VS projects.

I could then open the web site and add an existing project (DAL).  This
brings things back to "normal"

LS

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.