ASPNET

G

Guest

Hi,

I get the following message:

"Visual Studio can not create or open the application because the web server
is not running. Please start the web server."

The web server is running. I suspect that the problem is with the ASPNET. I
am not sure how to fix it. I try to look at the account under users and I do
not see it. If I try to create it, it tells me it is already there.

Can someone please help?

Thanks, Ken
 
J

Juan T. Llibre

To get the IIS server running, go to "Start Menu",
then "run", write "iisreset" ( without the quotes ), and hit enter.

If there's a problem with IIS, you'll get an error message.

btw, you *did* install IIS before you installed VS.NET, right ?
 
G

Guest

IIS is running. I said that in my initial post. :) Yes, I think the error
message I am getting from VS.NET is bogus.

Ken
 
J

Juan T. Llibre

Try running aspnet_regiis -i ( from the .net framework directory )

If that doesn't fix the problem, uninstall and reinstall VS.NET.
 
G

Guest

That didn't fix the problem. :-( I already reinstalled VS.NET, but that
didn't work either. I can try again, now taht I know about the aspnet_regiis
program, but I am not sure it will make a difference.
 
J

Juan T. Llibre

re:
I can try again, now that I know about the aspnet_regiis
program, but I am not sure it will make a difference.

We'll know if it made a difference after you run it.

;-)
 
A

Adam Knight

Ken,

The error doesn't always mean that you have a configuration problem with IIS
and ASP.NET.
Though it is a good idea, like previously suggested to explore the
possibilities.

VS can be real finicky when trying connect to web applications that were
created independantly of it.
The error you are recieving can be the result of trying to connect to an
existing ASP application on IIS via
VS when the appropriate project files are not present or contain the in
correct configuration information.

I have run in to this issue a couple of times, but didn't spend a lot of
time with it.

How i got around my issue was i created a sample project via vs adding a
couple pages ects and saved the project. Then i opened the generated project
file via notepad to see how vs generates it project files; how it lists
its configuration items.

After that i simply went through my applications project file and made the
necessary configuration changes.
This may very well be the hard way..even a little naughty..but it was the
easiest & quickest way for me to get around it..

Something left over from the vb 6.0 days.

Remember before tampering with anything BACK UP EVERYTHING..
If you are talking about a huge application or are not very familiar with VS
project files and how they work
this may not be the best option for you.

Just thought i would share my solution.

I hope this is relevant.

Adam

If you are
 
C

clintonG

As Adam points out sometimes error messages are not contextual. So it may
not be pertinent but if you had 1.1 installed you may have to load MMC and
use the new ASP.NET tab on the property page to select the version of the
framework your application may need. At least check it out as this new tab
has more to offer.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top