Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2006, 11:10 PM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hits_2006
Default Unable to get project file from web server

Hello

I am new in ASP.Net and trying to open a existing project in my local computer. i have not .csproj file of this project so when i m going to open a project in my local computer it gives me error "Unable to get the project file from web server".

so any one have a solution plz give me asap.
 
Old July 24th, 2006, 09:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you have IIS installed? Do you have the Front Page Server Extensions installed? See google.

By the way, these issues are gone in VS 2005.

 
Old May 27th, 2007, 04:41 PM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually this problem hasn't gone away in VS 2005. I have installed VS 2005 on my Vista machine. I loaded IIS 7.0 and the Front Page extensions. I have a C# ASP 1.0 Web App I did some time ago usng Visual Studio.net, which I now want to modify. I loaded the solution and attempted to load the projects. All of the projects that have only C#, or some my own custom server controls loaded fine. But the web app project won't load because it can't get the .csproj file. When I try to load it into a browser, I get HTTP Error 404.7. I think this is because IIS 7.0 isn't configured to serve files with this extension. I think I found the XML I need to add to the application web.config file, but the the application root directory is read only so I can't change the file. I have tried to set the directory so it is NOT read only (I am an administrator on the machine). It looks like that works, but when I re-retrieve the directory properties, it's still read only.

Is the only hope to create a new VS 2005 project, copy all of the .asp and .cs files to the web app root directory, and essentially start over?

Thanks for any help on this

SteveO
 
Old May 29th, 2007, 09:27 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you load VS 2005 SP1? I wouldn't attempt loading a 1.x web app until you do this. Once this is done you can migrate the 1.x app to a "Web Application Project", which is pretty simple. Within 2 minutes you'll be running under VS2005, assuming the original 1.x application was fully functional. Keep in mind that if the 1.1 app isn't working on your computer, there may be a problem there that still needs to be solved. The WAP model is just a glorified 2003 model so that won't magically fix this problem for you.

We won't talk about the several hours of time needed to load SP1 (yes, SP1 loads slower than it takes to install VS 2005 in the first place), but everyone who reads this message must load SP1 ASAP. There's a lot in there that isn't advertised, but is very important.

Or you can just go with the project-less ASP.NET 2.0 model. Yes, this requires a certain amount of work to migrate the existing pages. But you can kiss IIS good-bye on your own developer computer. Parting is such sweet sorrow. Or not?

Eric

 
Old May 29th, 2007, 09:39 PM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HITS_2006 & Englere

First off, thanks for the response. Second off, yes I have VS 2005 SP1 loaded. After I made this post I figured out the problem. It's embarassing to explain it, but I'm hoping it will help HITS_2006.

I created a VS 2005 ASP.NET Web Site application. I added an existing web site project. I picked IIS as the site location and picked the application root under the Default Web Site. VS2005 loaded the project. It did say that it couldn't convert the .csproj file, but it doesn't seem to care. It seems perfectly happy with the app and all the .aspx files.

I did update the MIME type for the .csproj file type using the IIS MMC but I'm not sure that had anything to do with anything. I think I just didn't tell it what to load or at least I didn't tell it the right way.

Thanks again for all the help.

Steve

SteveO





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to get the project file from the server suryasimha ASP.NET 1.x and 2.0 Application Design 0 May 18th, 2007 01:54 PM
Unable to get the project file from the server suryasimha ASP.NET 1.0 and 1.1 Professional 0 May 18th, 2007 01:45 PM
Unable to get the project file from web server horten BOOK: ASP.NET Website Programming Problem-Design-Solution 3 September 10th, 2006 08:36 PM
Unable to get project file from the web server? johno BOOK: ASP.NET Website Programming Problem-Design-Solution 13 June 4th, 2005 01:20 PM
unable to get the project file from the web server ractim VS.NET 2002/2003 2 July 21st, 2004 01:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.