CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 3/13/2008 4:33:22 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
ali123
Asp.Net User
*.sln file saving.3/13/2008 4:33:22 AM

0/0

Hi,

Whenever I create the new website in vs2005 it create the sln file in the D drive instead of with in the folder of web site. I want to get the sln file in the web site's folder. Because when I want to run this web site on another computer there is problem.

I there any correct way to create the new Web Site.

Thanx.

Ali.

karthik_muthusw
Asp.Net User
Re: *.sln file saving.3/13/2008 7:32:09 AM

0/0

By default, the website is created in the local IIS, and te solution file is created in your project directory. Just change the destination of your solution file when you create it File -> New Web Page and the solution will be in the same folder as the project resides.


Karthik Muthuswamy
Programmer Analyst
Chennai
karthik_muthusw
Asp.Net User
Re: *.sln file saving.3/13/2008 7:39:28 AM

0/0

Can you elaborate more on the problem that is created when you run on another computer. Did you try using the ip address of the computer that you are hosting the application on? Provide the details so that we can check it out!!!


Karthik Muthuswamy
Programmer Analyst
Chennai
ali123
Asp.Net User
Re: *.sln file saving.3/13/2008 10:15:35 AM

0/0

thanks for repling,

I want to ask when I create a web site a then copy it to run it on another computer. I saw it could not run.

Because there is no *.sln file in the folder. I want to ask how can we save *.sln file in the folder of web site.

Thanks,

ali

karthik_muthusw
Asp.Net User
Re: *.sln file saving.3/13/2008 10:22:09 AM

0/0

Yea, while creating the project, select the path not as the localhost but as a local drive and then share that directory so that the folder is used by anyone on the intranet.


Karthik Muthuswamy
Programmer Analyst
Chennai
Benson Yu - MSF
Asp.Net User
Re: *.sln file saving.3/19/2008 2:46:00 AM

0/0

Hi ali,

Based on my understanding, you have created a website project, now you want to copy the project to another machine and run it on that machine as well. The issue is that you cannot run it.

In my opinion, missing solution is not the problem because Visual Studio will create it automatically when opening the website project. The ?cannot run it? means you don?t know how to open the project (without the *.sln file) by Visual Studio or you don?t know how to make the copyed website project as web appliciton/virtual directory for accessing via IIS. If I have any misunderstanding, please let me know.

For the situation that if you don?t know how to open the web site project without the solution file, Please check the following steps:

    1. Open Visual Stduio 2005 IDE.
    2. Click menu: File | Open | Web Site? | File System.
    3. Select the directory of the copied web site project, and then click the ?Open? button.
    4. Visual Studio 2005 will create a solution file for this web site project automatically. Then the project can run without any problem under the build-in ASP.NET Development Server.

For the situation that you don?t know how to open the web site project via IIS, please check the following steps:

    1. Open IIS manager (Control Panel | Administrative Tools | Internet Information Services).
    2. Create a virtual directory for the copied web project (refer to the link below).
    3. Make sure the virtual directory is configured to ASP.NET 2.0 (right click the created virtual directory, and then sleect ?Properties?. Click the ?ASP.NET? tab, ensure the ?ASP.NET version? is set to "2.0.50727?).
    4. Open Visual Studio 2005 IDE.
    5. Click Menu: File | Open | Web Site? | Local IIS.
    6. Select the created virtual directory and then click the ?Open? button.
    7. Visual Studio 2005 will create a solution file for this web site project and the project will run with local IIS.

How to: Create and Configure Virtual Directories in IIS 5.0 and 6.0
http://msdn2.microsoft.com/en-us/library/zwk103ab(VS.80).aspx


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Introduction to Windows? and Graphics Programming with Visual C++ . Net Authors: Roger Mayne, Pages: 338, Published: 2005
Effective Software Test Automation: Developing an Automated Software Testing Tool Authors: Kanglin Li, Mengqi Wu, Pages: 408, Published: 2004
Building Client/server Applications with VB .NET: An Example-Driven Approach Authors: Jeff Levinson, Pages: 597, Published: 2003
Inside Microsoft Visual Studio .NET: version 2003 Authors: Brian Johnson, Craig Skibo, Marc Young, Pages: 542, Published: 2003
Mining EBay Web Services: Building Applications with the EBay API Authors: John Paul Mueller, Pages: 406, Published: 2004
Mining Amazon Web Services: Building Applications with the Amazon API Authors: John Paul Mueller, Pages: 375, Published: 2004
Mining Google Web Services: Building Applications with the Google API Authors: John Paul Mueller, Pages: 361, Published: 2004
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007

Web:
*.sln file saving. - ASP.NET Forums *.sln file saving. Last post 03-18-2008 10:46 PM by Benson Yu - MSFT. ... I want to ask how can we save *.sln file in the folder of web site ...
Save the .sln file in a different folder ? - ng.asp-net-forum ... Save the .sln file in a different folder ?, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005, Date: 2/13/2006 10:36:15 AM, Replies: 1, ...
how to save solution SLn file in project folder only : asp.net c# 2005 Nov 5, 2008 ... I am visual studio 2005. right if I create any project then the project or solution (SLN) file get saved in Doc and setting/.... folder Is ...
VS2005 web projects and sln files - Andrew Stopford's Weblog May 8, 2006 ... Ideally VS2005 should let me do this, I don't want to start hacking sln files and changing the default save location just results in a ccnet ...
Solution (.Sln) File Every loaded VSPackage is enumerated to see if it has anything to save to .sln file. It is only at load time that the registry keys are queried. ...
Type of .sln file - .NET Type of .sln file. Question posted by: Curious (Guest) on March 6th, 2007 07:15 PM. Hi, When I save a solution file, there are three options ...
Why does the .sln file of a website project get saved in 'Visual ... But I dont get the option of where to save the .sln file. I only get the option of the folder in which to commence working on the website ...
MSDN Visual Studio Extensibility IVsSolution.SaveSolutionElement ... I have tried the suggested code and the solution still save all the dependent files, and not just the .sln file when hierarchy is set to null. ...
Converting project files for MSVS2005 - Second Life Wiki Save it as a file of the name SL-UpgradeFromVC71_vc8.vsprops under the folder linden/indra/indra_complete (where the "indra_complete.sln" file resides. ...
My Tech Issues: Visual Studio got stuck when opening sln file Sometimes VS may get stuck when we double-click a .sln file. ... Problem caused by dll loading mistake · Time-saving Tips · Mixed DLL Loading Problem ...




Search This Site:










working with user controls in code behind

windows media player - web application

onitemcommand does fire up in asp .net

using new net.mail.mailmessage

insert problem

iis 5.1 and winxp pro w/ sp2., cannot get cdosys to work.

help shape the future of microsoft certification for vs.net 2005!

how to get value from client side script prompt window to a session var in .net

difference between asp.net webapplication and asp.net website?

n-tier system structure

file or assembly name system, or one of its dependencies, was not found.

server application unavailable error

referencing an array indirectly

re-write code for an acess db to a sql db

repeater is just for displaying only?

button with rounded corners problem

how to debug login controls

add new colum in datagrid that is the result of two colums multiplyed together

asp or asp.net ?

indexof not working? returning &hfffff

help needed with web service - especially with a common means of consuming the service

how to recomplie code

response.write javascript file

how would you manipulate text from an textbox without using string methods?

need help with proxy credentials, please help

what is this cs1595: error?

how to check if file exists

asp.net 2.0 server controls

calendar.selecteddate is always getting a previous selected date, not the newest, why?

psexec in asp .net

  Privacy | Contact Us
All Times Are GMT