Question

Can't make web applications in Visual Studio

Asked by: tentavarious

Hello,
My boss recently purchased Visual Studio.net professional edition,
so that i would be able to create web pages, that would display factory part counts and other useful data.  The problem is,  i get a 500 internal server error, every time i try to create a web application.  I can create window applications just fine, i was wondering if it has something to do with the server i am creating it on.  Visual Studio itself is stored on my computers hard drive, all my files get saved on the j:\ server, just wondering if anyone could help me to create web applications. Thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-01-22 at 06:15:07ID20859118
Tags

server

,

web

,

error

Topic

.NET

Participating Experts
7
Points
75
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Is J++ included in Visual Studio .NET?
    I recently purchased Visual Studio .NET Architect and noticed that the install program didn't put J++ on my machine. I'm sure I have read postings here that make reference to a .NET version of J++ So, is J++ somewhere on the Visual Studio .NET CDs? Thanks
  2. .NET / Visual Studio 6
    Is Microsoft Visual Studio 6 and Microsoft Visual Studio.NET the same thing?
  3. diff. between visual studio 6 & visual studio .net
    what is the difference between visual studio 6 and visual studio .net? Is the later one higher version of visual studio 6?
  4. Visual Studio .net
    Hello, I am moving from visual studio 6 to visual studio.net . so what is equallent to visual interdev 6 in visual studio .net . thanks
  5. Open Visual Studio 6 solution with Visual Studio.NET
    I have a solution/project built with Visual Studio 6. Now I want to start using Visual Studio.NET 2003 with this solution. Is this possible to open the project in Visual Studio.NET? I want to leave the ASP 3.0 files alone, but start coding from here in ASP.NET. Thanks i...
  6. Opening Visual Studio File
    Hi, Is there a way to open a Visual Studio File created in Visual Studio.NET 2003 in an older version of Visual Studio.NET Academic. thanks

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: YZlatPosted on 2004-01-22 at 06:28:00ID: 10174019

Try to turn off show http error messages, by doing the following steps:
- Open your Internet Explorer
- Click Tools
- Select Internet Options
- Switch to Advanced Tabl
- Scroll down until you find "Show friendly http error messages" under browsing section
  Make sure that option is unchecked.
- Click OK button
- Restart your IE and post the real error message.

 

by: Mikal613Posted on 2004-01-22 at 06:36:37ID: 10174100

do you have IIS installed with the Microsft Frontpage Extensions and asp.net?

 

by: tmckearnPosted on 2004-01-22 at 06:39:13ID: 10174133

I would try (from the "Visual Studio .NET 2003 Command Prompt" under Porgrams->Microsoft Visual STudio .NET 2003->Visual Studio.NET Tools menu) type:

aspnet_regiis -i

 to reinstall the ASP.NET hooks into IIS, in case something screwed it up.

T

 

by: farsightPosted on 2004-01-22 at 06:58:20ID: 10174322

>  something to do with the server i am creating it on

Are you intending to develop on this (other) server?
Why don't you develop on your development machine -- running IIS, ASP.NET, etc. -- then deploy to the other server.

I think you should at least try just creating a new Web Project on your development machine.
If it works on the dev machine, you can get started developing, while determining how the other server needs to be set up.

> files get saved on the j:\ server

I think it doesn't work right if j: is on another machine.  I have only a vague recollection of this, though.
(Can anyone authoritatively confirm or deny that?)

 

by: tmckearnPosted on 2004-01-22 at 07:06:26ID: 10174408

You should check with the administrators of the server to make sure that you have proper permissions to write to the directory on the server.  That would definitely cause this problem.

T

 

by: tentavariousPosted on 2004-01-22 at 07:53:18ID: 10174752

I have tried everything that has been suggested: reinstalling IIS, unchecking the show friendly in the internet options, and i am unable to create a web page under my machine, the only thing i havent done is check with the administrator yet, but other then that i havent had any luck, this is the exact error that i get:

"The web server reported the following error when attempting to create or open the web project located at the following url: http://localhost/mynewpage'.' http/1.1 500 internal server error".

Not really sure what is going on, could use some more advice, thanks

 

by: farsightPosted on 2004-01-22 at 09:21:17ID: 10175578

Exactly what steps are you doing in VS.NET to get this error.  Like ...
(1) I open VS.NET Ver. _____
(2) I click File ...
etc.

If you build an tiny HTML file manually (with Notepad, for example) and put it in the directory, can you get browse to it with http://localhost/mynewpage/sample.html  ?
--- Something like this for sample.html ---
<html><head></head>
<body>It worked.</body
</html>


 

by: tentavariousPosted on 2004-01-22 at 10:07:25ID: 10175980

I open visual studio profesional edition i click file new then i select asp.net web applications. http://localhost is the default that is given then mynewpage is the name of the webpage i am trying to create, once i hit ok, i get the error.  It doesnt work with the notepad example.  I have to save the test html page under J:\tooling\sab\testpage.html then i get access from the browser field using the j:\tooling\sab\testpage.html.  I tried substituting the
http://localhost default with the j:\tooling\sab file directory and it wont let me create anything.

 

by: farsightPosted on 2004-01-23 at 09:18:24ID: 10185690

Is J: on your development machine, or on another server?  To be more precise ...
I understand that you're accessing J: from your development machine.  I'm asking where the data is actually stored.  Does that J: data reside on your development machine, or is J: a share to another machine?

 

by: tentavariousPosted on 2004-01-23 at 09:25:37ID: 10185743

All the data on the j: drive is stored on the server and is shared with all the employees. i tried creating web applications on just my machine and i am unable to. I can however access windows applications from the j drive, i am wondering if the security level might be set too high, would that cause a problem?

 

by: orasunPosted on 2004-01-23 at 21:49:22ID: 10189857

I think you need to ask your server admin (if it's not already yourself) to instal Microsoft FrontPage Server Extension on that website.

That error you are getting is common when you try to create a web project on a server that does not have FP Server extension setup.

Assuming that FP server extensions 2000 has been installed on the server, you simply need to open IIS, Right Click the web site, goto All Tasks, and choose "Config Server Extension"

If the option (or a similiar option) is not availabel from the All Tasks menu, then goto the control panel, choose "Add Remove Programs", CLick "Windows Components", and then make sure FP Server extensions is selected (you may need your Windows CD)

 

by: tentavariousPosted on 2004-01-26 at 08:03:27ID: 10201375

Tried reconfiguring server extensions and adding and removing windows components and still no luck, my system adiminstrator is going to have look at it. Thanks for all the help if anyone else has some more advice i could use it.

 

by: farsightPosted on 2004-01-26 at 12:31:00ID: 10203772

Key reference documents:
Ref 1: "Visual Studio.NET
http://windows.epfl.ch/info/docs/vs_dotnet_2003/readme.htm
Ref 2: "HOW TO: Troubleshoot Visual Studio .NET Installation"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;319714
Ref 3: "HOW TO: Create a New ASP.NET Web Application on a Remote Web Server"     !!!
http://support.microsoft.com/default.aspx?kbid=822316
Ref 4: "http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q825790"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q825790

This one will come in handy once you do get everything working.
Ref 5: "The .NET Show: Debugging with Visual Studio .NET"
http://msdn.microsoft.com/theshow/Episode022/

Read and understand those documents in great detail.

  There are so many things that can possible be wrong, you need to methodologically break down the problem into smaller steps.
  Concentrate on one small problem at a time.    First, make sure you can build web apps on your own development machine ONLY.
  Do not use remote drives.
  Then, move on to trying to get it to work on the server.

You might try a few of the steps individually, if they seem appropriate, before resorting to the whole uninstall/reinstall process.

Try the following on your machine ONLY.

--- PREPARATION ---

(1) Does your system have the minimum requirements?  (Read-Me Sections ___)

Check memory and hard disk space, but also:

   "Windows XP Home Edition provides limited functionality. Creating Web applications or XML Web services is not supported when using Windows XP Home Edition.
   ASP.NET applications can only be hosted on Windows XP Professional, Windows 2000, and Windows Server 2003.
   Microsoft Windows 2000 Datacenter Server is not a supported operating system.
   Increasing your RAM above the recommended system configuration increases your performance specifically when running multiple applications, working with large projects, or doing enterprise-level development.
   When you start the Visual Studio .NET 2003 installer, the default installation location is your system drive, which is the drive that boots your system. However, you can install the application on any drive. Regardless of the application's location, the installation process installs some files on your system drive. Consequently, ensure that the required amount of space identified in the tables above is available on your system drive regardless of the application's location, and ensure that additional space is available on the drive on which you install the application. Custom installation choices may require more or less drive space."

   Note that Windows 98 is not supported for Visual Studio .NET.

   Precheck registry size.  (Section 5.5)
   Check other versions (Section 5.21)
   Check: Read-Me "5.26. Installing Visual Studio .NET 2003 before installing ASP.NET on Windows Server 2003 prevents creation of Visual J# .NET Web applications."  [Does that sound familiar?]
   Check Sections 5.* for any other issues that may apply to your machine.

(2) Log in as the local System Administrator for installation/uninstallation. (See Ref.2 Troubleshooting)
    Make sure you have proper permissions to do the install (or have someone with Administrative priviledges to do it).

(3) Make sure your AntiVirus, personal firewall, and similar tools are disabled before each and every uninstall or install. (Section 5.24)

(4) Clear contents of the System\Temp directory.  (Ref.2 Troubleshooting)

(5) Follow the other instructions in that Read-Me file (link above), including:
   Uninstall prerelease versions.

(6) (optional) From my own experience with major installation problems, I recommend uninstalling both VS.NET and IIS, then reinstalling IIS as VS.NET.  See also 4.5 in the Read-Me.

(7) Update your operating system with any available updates and service packs.  Use the Windows Update feature.

--- INSTALLATION ---
Still using ideas expressed above ...

(1) Install IIS.

(2) Install VS.NET 2003.

--- FOLLOWUP ---

(*) Verify what works and what doesn't.

 (*) Is IIS properly installed on your machine?
 (*) Front Page Extensions
 (*) Virtual Directories

 (*) Can you create a web application on your server?
  (*) Are you entering the appropriate info when you do a save of the web project?

---

After you have it working on your machine, then either:
 (1) Get it working with your remote server.
 (2) Don't worry about that, and just deploy, rather than develop applications on that server.

Go back to the Read-Me, Section 4.2 "Configuring a Remote Web Server for ASP.NET Projects".  Read very carefully the sections labeled "To configure a separate Web server compute for Visual Studio .NET 2003" and "Important debugging information".

---

You MUST install VS.NET and/or the SDK to your local drive.  (As you have.)

I'm still unconvinced that using the J: drive for projects is a good idea, though I can't explain why.  Other people also have problems using a mapped network drive:
(Some of these are long.  Just search for "mapped".)
http://p2p.wrox.com/archive/c_sharp/2002-04/2.asp
http://msdn.microsoft.com/chats/vstudio/vstudio_071602.asp (Search for "mapped", then back up a page to understand the context.)
http://cis.fvtc.edu/waterman/VB_Interm.htm

 

by: TheLearnedOnePosted on 2004-02-25 at 18:54:52ID: 10456631

No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: farsight {http:#10203772}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer

 

by: Teknas2004Posted on 2004-03-17 at 05:48:50ID: 10614985

Hey
donot worry at all ,It is not allowing to open ASP.Net web Applications
Done follow the following steps
1.Was the IIS installed later than VS.Net
then in the VS.Net command prompt run ASPNET_REGIIS.exe -I
if still then it is not working then
go and check the configuration/setting from tools menu
else
if  u r working in a proxied environment then ask to bypass the proxy setting for localhost
transmissions
thats it it will work

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...