|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone,
I don't know if its ok to ask a lot of questions here.. if so just tell me, and I will stop asking, Am just starting to learn asp.net.... I installed visual studio.net and the .NET framework SDK,and I am now trying to start a new project, here is the erro rmessage that I get when I do that... The default Web access mode for this project is set to file share. but the project folder at "http://localhost' connot be opened with the path 'c:\inetpub\wwwroot'. the error message that the Web Access Failed? Unable to create Web project'/'. The file path 'c:\inetpub\wwwroot'does not correspond to the URL 'http://localhost'. The two need to map to the same server location. HTTP Error 403:forbidden What would you like to do? -Retry using a different file share path -Try to open the project with Front Page Server Extensions I really don't know what to do? if anyone understand this please help me.. I don't got anyone to help me here... I been looking for experts at my school in asp.net and I didn't find any... I will be glad if anyone could help me here with this error message I want to start a project and dig into programming with asp.net Thank u Noor |
|
#2
|
|||
|
|||
|
I also use VS.NET and have seen this error a few times. I suggest you look in Internet Services Manager (Start -> Programs -> Administrative Tools -> Internet Services Manager) to make sure your http://localhost/ is pointing to c:\Inetpub\Wwwroot\.
When you open ISM (Internet Services Manager) expand the node so you can see Default Web Site, right click on Default Web Site and click Properties, click the Home Directory tab, and where it says 'Local Path' make sure it is pointing to the c:\Inetpub\Wwwroot directory. If it's already pointing to the c:\Inetpub\Wwwroot directory then your security may be restricing VS.NET from accessing it, click the Directory Security tab of the Default Web Site Properties box, under 'Anonymous access and authentication control' click Edit and make sure Anonymous access is checked, and Integrated Windows Authentication is checked. Click OK to get out of it and try creating a new project again. If you still can't do it reply to this thread and I'll see if I can help some more. Cheers, John |
|
#3
|
|||
|
|||
|
The Default Web Access mode for this project is set to file share.
but the project folder at "http://localhost/WebApplication1" cannot be opened with the path"c:\inetpub\wwwroot\\WebApplication2" the error returned was : Unable to create Web Project "WebProject1". the file path "C\inetpub\wwwroot\WebApplication2' does not correspond to the URL 'http://localhost/WebApplication1'. The two need to map the same server location. HTTP Error 404: Not Found Would u like to and then the two options.. well I tried what u said and the error changed but still I cant create web application... this is pretty much strange I can't understand it.. Just to give u a note I am already developing ASP and ADO pages with the IIS.. so the IIS works fine with me.. but when it coems to VS.NET its not working many errors appear.. I will be greatful if u take the time to look into this problem.. thank u Noor ![]() |
|
#4
|
|||
|
|||
|
What OS are you running? I could remote assist you (an MSN Messenger feature), it's a tough problem that I think I could fix if I could see what you were doing.
Try this... Create a directory on your C: drive called TestProject (ie. c:\TestProject\). Add a new Virtual Directory in the Default Web Site of IIS called TestProject and make it point to c:\TestProject\. Open VS.NET and make a new ASP.NET Web Application and use http://localhost/TestProject in the Location box. It should work. You can also try this... Create a new directory on your C: drive called TestProject2 (ie. c:\TestProject2\). Go into IIS and change your Default Web Site to point to the c:\TestProject2\ directory. Open VS.NET and create a new ASP.NET Web Application and in the Location box put http://localhost Both of those should work, please tell me how you go. Cheers, Vantera |
|
#5
|
|||
|
|||
|
god! I feel so despert!!!!
see what I get when I do exactly what u instruct me to do The defualt Web Access mode for this project is set to file share, but the project folder at 'http://localhost/WebApplication1' cannot be opened with the path "http://localhost/TestProject Does not Exist or you do not have access what would u like to do Retry using different file share path try to open the project with FrontPage Extensions.. I really need help with this.. I didn't find anyone at my university to help me with it I read all help topics regarding those errors in VS.NET still no luck.. am the most misreble girl ever :'( well.. I don't know weather I have this feature on msn... never tried it my email is yninay@homtial.com add me if u can.. I appreciate ur help thank u Noor |
|
#6
|
|||
|
|||
|
file path does not coorespond to URL
Hi there, I was getting the same error and tried many solutions found from forums with no luck. I was trying to get a website working and carelessly changed some settings in IIS. If you havent found a fix yet, try this. Note these steps are from XP pro, win2000 should have similiar steps.
Open IIS console, expand to the Default Web Site folder and right-click, select Properties. Select the Web Site tab. In the Web Site Identification area, make sure (All Unassigned) is selected from the drop down list. I had my IP address listed in this drop-down box and it was using the IP instead of localhost. Hope this helps. |
|
#7
|
|||
|
|||
|
This is a development server at work and Front Page Server Extensions simply will not work for team development. I have tried all the suggestions from forums.
I just keep getting an error that will only allow me to create project with frontpage ext. Dev server is w2k work off client machines. What can I do, please help |
|
#8
|
|||
|
|||
|
Well there are some solutions for your problem.
1. If you are working on NTFS partition system, check weather all permissions for the group "Everyone" is checked for the Inetpub, wwwroot folders. 2. Internet Information Server 6.0 blocks all requests with extensions that are not explicitly mapped in the IIS. Microsoft Visual Studio .NET writes a file to the server with the .tmp extension and then requests that file back with an HTTP call to test the URL. IIS 6.0 blocks the .tmp file because .tmp files are not mapped. The call fails, and then you receive the File Not Found error message. To resolve this problem, add a MIME type for the .tmp file in IIS. To do so, follow these steps: 1. In Control Panel, open Administrative Tools, and then double-click Internet Information Services. 2. Expand the (local computer) node, and then expand Web Sites. 3. Right-click Default Web Site, and then click Properties. 4. In Default Web Site Properties, click the HTTP Headers Tab. 5. Click MIME Types. In MIME Types, click New to register a file extension. 6. In the Extension textbox, type .tmp . In the MIME Type textbox, type temp. 7. Click OK. 3. If you are using proxy server, check if "Bypass proxy server for local addresses" is checked under Internet Options > Connections > Lan Settings tab. 4. Check if server extensions and permissions are being configured for you IIS. 5. Right Click on Default Web Site on your IIS. Goto Home Directory. Check if Application name box is not empty. If empty, click Create button. A Default Application appears thereby. 6. Check if your IIS is registered for ASP.NET service. To achieve this goto "C:\WINNT\Microsoft.NET\Framework\v1.0.3705" directory from the console. (cd C:\WINNT\Microsoft.NET\Framework\v1.0.3705). Enter aspnet_regiis -i. If none of the above works, then contact microsoft. Happy Programming, Vinay |
|
#9
|
|||
|
|||
|
I had the same problem. Changing the IP address to (All Unassigned) under the Default Web Site properties in IIS fixed my problem. The reason is: by default VS.Net maps all website applications to URL So you must have the IP address set to (All Unassigned) for URL to work in your webbrowser and VS.Net.
|
|
#10
|
|||
|
|||
|
hai noor,
There are three workarounds for this problem: Workaround 1 Use Visual Studio .NET 2003 when you create projects on Windows 2003 Server. This is the recommended workaround. It is a good idea to use this version if your production computer is connected to the Internet because mapping the .tmp file name extension can be a security risk. Workaround 2 If security is not an issue (for example, if you are using a standalone, development computer), follow these steps to map the .tmp file name extension: *Start the Internet Information Services MMC. *Right-click your Web site, and then click Properties. *Click the HTTP Headers tab, and then click MIME Types. *Click New to add a new MIME type. *In the Extensions text box, type .tmp. *In the MIME type text box, type text/plain. Workaround 3 Install the hotfix that is in the following article in the Microsoft Knowledge Base: 831210 FIX: Cannot Create Web Projects on Windows Server 2003 enjoy! Rajesh Natarajan |
|
#11
|
|||
|
|||
|
has anyone actually solved this problem?
I've tried everything suggested and still can't seem to get things working. Please has this advice actually helped anyone?
if other advice, I'm desprite PLEASE HELP. Judy |
|
#12
|
|||
|
|||
|
What user group(s) does your logged in user belong to.
Just for kicks, add a new user, make this user part of the "power users" and a "VS Developers" groups. Log in with that new user, try to reproduce the problem. |
|
#13
|
|||
|
|||
|
Hi!
I have the same problem that u had encountered. Did u get a fix for this. Can u please get back to me abt the same. I read the feedbacks that were sent to u, but nothing worked. Am not able to create a new Web project. My OS is Windows XP. IIS is Version 5.0. Can anybody pls help on this. My email id is 'nims_t@hotmail.com' Regards Nimmi Quote:
|
|
#14
|
|||
|
|||
|
nims,
I will contact you using the email address you specified. You might want to remove that from this forum BTW.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#15
|
|||
|
|||
|
By any chance, does anybody have the fix mentioned above? I have a trial version of windows 2003 and my student version of VS.net does not get any support...
|
|
#16
|
|||
|
|||
|
Hi - try this:
right click on the wwwroot folder and select Properties, then the Sharing tab in the properties dialog. Make sure that the Allow Network Users to change my Files checkbox is checked. Cheers |