mike55 Posted July 19, 2004 Posted July 19, 2004 Hi Guys Am trying to start a new asp.net project using VB.net. When i go to create a new project i get a message dialog telling me that the file path that i am using does not correspond to the URL. file path: c:\intepub\wwwroot\webApp1 URL: http://localhost/webApp1 Any suggestions on how to get around this prob?? Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Menge Posted July 19, 2004 Posted July 19, 2004 install IIS and open a website on localhost (theoretically, IIS already comes with one) Quote Menge
mike55 Posted July 19, 2004 Author Posted July 19, 2004 ISS is already installed in the machine. Would the problem be due to the fact that the machine is running Windows Server 2003??? Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Administrators PlausiblyDamp Posted July 19, 2004 Administrators Posted July 19, 2004 Is the folder c:\intepub\wwwroot\webApp1 marked as a virtual directory within IIS? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
huby Posted July 19, 2004 Posted July 19, 2004 ISS is already installed in the machine. Would the problem be due to the fact that the machine is running Windows Server 2003??? Mike in windows server 2003, ASP.NET is disabled by default (for security reasons) so you have to tell IIS that running of ASP.NET pages is allowed. Quote there are 10 kinds of people on earth: those who understand binary, and those who don't.
mike55 Posted July 19, 2004 Author Posted July 19, 2004 I am creating the project from scratch. I tried to up load an existing project in had done on another page. The steps i followed for moving the project from one machine to another are: 1. copy the project folder from wwwroot folder and from Visual Studio in MyDocuments 2. Relocate to same folders in new machine 3. Open iss and expand web site folder followed by default web site folder 4. Create new virtual directory and use the name of the project folder in wwwroot. 5 Map to the bin folder within my project folder in wwwroot and hey presto it should work?? Any other suggestions or how are you doing it?? Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
huby Posted July 19, 2004 Posted July 19, 2004 2. Relocate to same folders in new machine do you use the same user name on both machines ? because "my documents" won't have the same path if the user names are different ;) Quote there are 10 kinds of people on earth: those who understand binary, and those who don't.
mike55 Posted July 19, 2004 Author Posted July 19, 2004 in windows server 2003' date=' ASP.NET is disabled by default (for security reasons) so you have to tell IIS that running of ASP.NET pages is allowed.[/quote'] Do i re-enable asp.net in IIS or do i need to go to the local security settings?? Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
huby Posted July 19, 2004 Posted July 19, 2004 Do i re-enable asp.net in IIS or do i need to go to the local security settings?? http://www.asp.net/faq/AspNetAndIIS6.aspx Quote there are 10 kinds of people on earth: those who understand binary, and those who don't.
mike55 Posted July 19, 2004 Author Posted July 19, 2004 do you use the same user name on both machines ? because "my documents" won't have the same path if the user names are different ;) Yea, same names used at all times. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
mike55 Posted July 19, 2004 Author Posted July 19, 2004 Ok Have followed the instructions included in the link, have also installed MSDN Library files, but am still getting the same problem. Has anyone else experienced the same problem?? Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
mike55 Posted July 19, 2004 Author Posted July 19, 2004 Solution to the problem.... Go to the ISS and select properties for the default web server, select the HTTP Header tab, and click on the Mime type option and .tmp and temp into the two textboxes and bobs your uncle!!! Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
VBAHole22 Posted July 19, 2004 Posted July 19, 2004 Always seems easier to create a new project solution and import all of the existing items into it. When you make a new asp.net application you let Visual Studio setup the virtual folders and all of the messy business that Microshaft doesn't want us to know about. Of course when you try to move an asp.net app to another machine you invariably forget the solution file anyway. So a new solution is usually called for anyhow. Quote Wanna-Be C# Superstar
egdotnet Posted July 19, 2004 Posted July 19, 2004 I don't know what you actually typed in in VS.NET, but in your question inetpub is spelled wrong: intepub. try fixing that if necessary. Quote
mike55 Posted July 20, 2004 Author Posted July 20, 2004 Always seems easier to create a new project solution and import all of the existing items into it. When you make a new asp.net application you let Visual Studio setup the virtual folders and all of the messy business that Microshaft doesn't want us to know about. Of course when you try to move an asp.net app to another machine you invariably forget the solution file anyway. So a new solution is usually called for anyhow. Had tried that approach aswell, however the system prevented me from importing any files, i.e. told me that the file were unsuitable or of the wrong type. Mike Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.