List Info

Thread: Finally solved the problem! This may be the solution for yours.




Finally solved the problem! This may be the solution for yours.
user name
2007-10-31 20:11:26
For those who have been following the story of the vs 2005 project that would not open -- had the error message, something to the effect:
 
The project file 'C:ddserviceentryddserviceentry.vbproj' cannot be opened.
The project type is not supported by this installation.
 
and
 
Unable to read the project file Myproject.vbproj The file 'C:MyprojectMyprojectMyproject.vbproj'
is not a valid project file. The project file is missing the 'VisualStudioProject' section.
 
... hundreds of errors when I finally got it to open.
 
Also the application was not running without errors on line.
 
After trying all kinds of things, I pretty much gave up for a few days.
 
What I finally ended up doing was:
 
1) Created a completely new project. (It was previously an upgrade from vs2003)
2) Created new web forms in vs2005, on at a time.
3) Copied only the code from the old files and the html and Javascript -- nothing else, not even the designers.
4) Used the new web.config file and put the lines in it I needed for my project from the old web.config.
5) Excluded project files, solution files, designers, etc. -- let the project create its own automatically.
6) Made the corrections to all errors page by page as I copied the code into the new pages and complied each page until there were no more errors.
7) Made sure all configurations were correct.
8) Made some configuration corrections on the server. 2 folders were marked as .net applications (for some strange reason) which was causing major errors. It would run fine on the development machine, but the files couldn';t "see" the class files in the App_Data folder.
 
Now everything works fine.
 
I hope this helps someone else that might be having the same problem.
--- List Settings --- http://aspadvice.com/lists/
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )