Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 28th, 2004, 11:25 AM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default VS.NET 2003 won't let me open solution

VS.NET won't let me open a C# web application solution file unless I am connected to the internet. I am slightly annoyed but mostly confused.

While on the train, I open up VS.Net 2003, it tries to open a project called forecast. The Open web Dialog box appears ...

"http://localhost/forecast"

I get an error message unable to connect. IIS is on and everything works fine if I have an internet connection.

Any ideas? Thanks.

 
Old July 28th, 2004, 01:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

No idea? Does this project use an external resource, like a web service, or something along those guidelines?

You should be able to run it locally without internet service...

Brian
 
Old July 28th, 2004, 02:04 PM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are no external resources being used at all. Totally average web application.

I just noticed under projects that I can set it to work off-line. I'l try that. I have combed all the application config files trying to find a setting so it must be in VS.NET itself.

This is the kind of stuff that is so frustrating. I don't need them to configure my web server so that it runs tha application on a build. Let me do it myself!

Thanks again

 
Old July 28th, 2004, 04:29 PM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out.

If you are having this problem:

Project | Web Project | Work Offline

Then

Project | Web Project | Synchronize All Folders

Do this while you have an internet connection. If you close and open VS you will notice that it doesn't try to run the Open Web Dialog and connect to http://localhost/project name.

Sean

 
Old July 29th, 2004, 08:19 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I did a test with my machine disconnected from my network. I loaded a solution file that contains a VB.NET web application and a C# web application. I did get a couple errors because all my projects are under source control and it tried to update the status of the files. Apart from that, they loaded fine.

Are your projects under source control? The only other thing I can think of Brian already mentioned. You shouldn't need to work "disconnected". Is it possible there is some security issue and your machine is trying to authenticate you against a domain?
 
Old July 29th, 2004, 09:09 AM
Registered User
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.

It works if I make sure to check Work Offline in the Project --> Web Projects menu. I am not sure if this is a VS.NET 2003 issue because I have never had the problem before.

There is no funky authentication and I am not under source control.

Thanks again,

Sean






Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect solution is loaded into VS 2003. Help. buckeyefan ASP.NET 1.0 and 1.1 Basics 5 January 5th, 2006 02:49 PM
Cannot open folder in VS 2005 solution project digi_digo VS.NET 2002/2003 0 August 31st, 2005 02:44 PM
cannot open the sql server in vs .net 2003 csc820203 VS.NET 2002/2003 2 July 21st, 2004 09:34 AM





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