Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 28th, 2004, 11:25 AM
Registered User
 
Join Date: Jul 2004
Location: , , .
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.

  #2 (permalink)  
Old July 28th, 2004, 01:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
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
  #3 (permalink)  
Old July 28th, 2004, 02:04 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
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

  #4 (permalink)  
Old July 28th, 2004, 04:29 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
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

  #5 (permalink)  
Old July 29th, 2004, 08:19 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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?
  #6 (permalink)  
Old July 29th, 2004, 09:09 AM
Registered User
 
Join Date: Jul 2004
Location: , , .
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:46 AM.


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