473,830 Members | 2,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot create a Web Application from VB.net

I have just installed VS.net on Windows 2000. I am trying to create a web
application but I get the error "Error when attempting to create or open the
web project located at the following URL: '//localhost/webapplication1 '
'HTTP1.1 Inetrnal Server Error'.

Any ideas??? please.....
Jul 21 '05 #1
6 2137
Hi Ian,

Based on my research and experience, please try the following steps on your
side.

1. Please delete the ASPNET account using Computer Management.

a) Select Control Panel->Administrati ve Tools->Computer Management->Local
Users and Groups->Users
b) In the right pane, right click the ASPNET account and select "Delete"

2. Please refer to the following Knowledge Base article carefully to repair
IIS mapping.

<http://support.microso ft.com/default.aspx?sc id=kb;en-us;306005>

3. Please restart IIS.

a) Select Start->Run...
b) Type the command "iisreset".

4. Try to create a Web application.

I am looking forward to your result.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
Jacob,

Thanks for your quick response. I deleted the ASPNET user, followed article
306005, restarted IIS.
However, the problem still exists with the same error.

Any other ideas?

"Jacob Yang [MSFT]" <ji***@online.m icrosoft.com> wrote in message
news:1u******** ******@cpmsftng xa06.phx.gbl...
Hi Ian,

Based on my research and experience, please try the following steps on your side.

1. Please delete the ASPNET account using Computer Management.

a) Select Control Panel->Administrati ve Tools->Computer Management->Local
Users and Groups->Users
b) In the right pane, right click the ASPNET account and select "Delete"

2. Please refer to the following Knowledge Base article carefully to repair IIS mapping.

<http://support.microso ft.com/default.aspx?sc id=kb;en-us;306005>

3. Please restart IIS.

a) Select Start->Run...
b) Type the command "iisreset".

4. Try to create a Web application.

I am looking forward to your result.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3
Hi Ian,

Thank you for your update

Please ensure that the Default Web Site is marked as an Application in IIS:

a) Open up the IIS Manager.
b) Right-click on the Default Web Site Node and choose Properties.
c) Choose the Home Directory Tab.
d) In the Application Settings Section choose the Create Button.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #4
Hi Jacob,

Sorry, it was already set. I have also tried creating a virtual directory
below the default website. This gives the identical symptoms.

Ian
"Jacob Yang [MSFT]" <ji***@online.m icrosoft.com> wrote in message
news:fQ******** ******@cpmsftng xa06.phx.gbl...
Hi Ian,

Thank you for your update

Please ensure that the Default Web Site is marked as an Application in IIS:
a) Open up the IIS Manager.
b) Right-click on the Default Web Site Node and choose Properties.
c) Choose the Home Directory Tab.
d) In the Application Settings Section choose the Create Button.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5
Jacob,

I have got it to work!!!!

I found an article at
http://www.mastercsharp.com/India/Fo...spx?PostID=700
This suggests changing the username in the processmodel section of the
machine.config file.
I made the change. Restarted IIS and I can create a ASP.net web application.

I changed the username to SYSTEM. Is this correct? or should it be set to
something else. I don't think I missed it in the documentation, but you
never know...

Any further information would be gratefully received.

Ian

"Ian Quennell" <ia**********@b ocmpauls.co.uk> wrote in message
news:OI******** ******@newreade r.ukcore.bt.net ...
Hi Jacob,

Sorry, it was already set. I have also tried creating a virtual directory below the default website. This gives the identical symptoms.

Ian
"Jacob Yang [MSFT]" <ji***@online.m icrosoft.com> wrote in message
news:fQ******** ******@cpmsftng xa06.phx.gbl...
Hi Ian,

Thank you for your update

Please ensure that the Default Web Site is marked as an Application in

IIS:

a) Open up the IIS Manager.
b) Right-click on the Default Web Site Node and choose Properties.
c) Choose the Home Directory Tab.
d) In the Application Settings Section choose the Create Button.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Jul 21 '05 #6
Hi Ian,

Thank you for your update. I am very glad to know that the problem is
resolved.

Based on the information you provided, this issue is a permission issue -
the original account used for ASP.NET does not have the enough permissions.

In general, the System account is the most efficient way for such a
permission issue because it has high privilege. We can also use the other
user account. The importance is that the account used for ASP.NET should
have proper permissions. Please refer to the following URLs for the
detailed information.

How To: Create a Custom Account to Run ASP.NET
http://msdn.microsoft.com/library/de...us/dnnetsec/ht
ml/SecNetHT01.asp

INFO: Implementing Impersonation in an ASP.NET Application
http://support.microsoft.com/default...b;en-us;306158

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
50598
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork = WScript.CreateObject("WScript.Network") sPwd = inputbox("Enter password") WshNetwork.MapNetworkDrive "J:", "\\server1\data", false, "xyz_net\John", sPwd Msgbox "Drives has been map successful"
0
3456
by: Amol Shambharkar | last post by:
Hello Everyone, I am hoping someone could help me out with this.I am using Visual Studio .NET 2003 to create a web application on a remote IIS 5.0 server using the File Share web access method.The problem is I get the following two errors everytime I try to create the application: Error 1: The web was created successfully, but an error occured trying to configure the application root of this web.Web projects may not operate correctly...
0
1775
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any web project even cannot create a new one. The message for create a new web project is: (Open an oldASP project got similar error.) My system is Windows 2000 Server ---------------------- The default web access mode for this project is set to...
4
3259
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any web project even cannot create a new one. The message for create a new web project is: (Open an oldASP project got similar error.) My system is Windows 2000 Server ---------------------- The default web access mode for this project is set to...
6
13737
by: Chad Crowder | last post by:
Getting the following error on my production server whether the file exists or not: "System.IO.IOException: Cannot create a file when that file already exists." Here's the code generating the error (seems to be happening when I try creating a directory) If dirmgr.Exists("s:\blah\" & txt_name.Text) Then lblerror.Text = lblerror.Text & "Unable to build physical path. " &
2
5587
by: W. Broersen | last post by:
I want to use Outlook.Application, but I donot get further. Dim objOLApp As Outlook.Application objOLApp = CreateObject("Outlook.Application") Everytime I'll get the following error: Cannot create ActiveX component I set in the reference the COM from Outlook... Does someone know how to solve this problem????
2
6713
by: Roberto Rocco | last post by:
Whenever I try to create a new ASP Web Page I get this message : "Visual Studio cannot create or open the application because the Web server on this computer is not running. Start the Web server before proceeding." Well, looking at my services I find that both WWW Publishing Services and IIS are started. I also successfully restarted both of them, but still keep getting the error message.
2
9784
by: Jay Bienvenu | last post by:
I cannot create new Web applications in Visual Studio .NET 2003. I get this error message: "Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development commponent." So I ran the Visual Studio .NET setup and added the Web Development component...and get the same problem. The thing is that...
2
14754
by: paul.dunstone | last post by:
HI all I am using msbuild to compile my web application project. After building the solution I get the following error message: Server Error in '/Community' Application. -------------------------------------------------------------------------------- Value cannot be null.
0
2815
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello, mister I have an application web asp.net 2.0 + vs 2005 and VS 2005 Web Application Project. Its appears this error in execution: "Cannot Create/Shadow Copy '<projectname>' when that file arleady exists" error.
0
10774
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10491
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10206
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9315
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.