473,320 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2113
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->Administrative 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.microsoft.com/default.aspx?scid=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.microsoft.com> wrote in message
news:1u**************@cpmsftngxa06.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->Administrative 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.microsoft.com/default.aspx?scid=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.microsoft.com> wrote in message
news:fQ**************@cpmsftngxa06.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**********@bocmpauls.co.uk> wrote in message
news:OI**************@newreader.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.microsoft.com> wrote in message
news:fQ**************@cpmsftngxa06.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
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 =...
0
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...
0
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...
4
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...
6
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...
2
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...
2
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...
2
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...
2
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....
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.