Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with hosting asp.net on windows sbs 2008

Status
Not open for further replies.

neronikita

Technical User
Feb 20, 2002
159
US
Good morning! I hope I can clearly explain my situation here, and I hope someone understands it enough to help me to the next step.

We have a new server running vmware. Our file server is running windows sbs 2008 and our sql server on the same machine is running windows server 2008 R2 standard. Our IIS server is set up on that "machine". There is a folder in our personal web site that says aspnet_client, so I'm assuming this is set up to use asp.net. I am able to html pages from this site, and access them from another computer on the network, but none of my asp or asp.net pages work. The asp.net pages were developed in visual studio on my work PC and copied over to the server. The pages do use database connections, and the database is stored on the same virtual server as the IIS server is. It works fine in visual studio running start without debugging. When I copy them over, they no longer work. Do I have to (and how do I) change the database connection string to work on the virtual server with IIS on it? What are the steps I need to take to get the asp.net pages to work on IIS that I can access them from any computer on the network?

I hope I wasn't too confusing. Thanks in advance for any light anyone can shed on this.... I've been struggling with it for far too long now.

Thanks,

Di
PS: I was not the one to set up the servers or IIS.
 
There's a few steps that you to to ensure have happened:

1. Make sure the .NET framework is installed (you should have folders for each installed version in c:\windows\microsoft .net\framework)
2. Make sure that ASP.NET pages are enabled in IIS (I think it's called Web Service extensions in the IIS manager)
3. Have a look at the web.config file, you should have put your database connection string in there so you will need to modify it accordingly.

Mark,

Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
 
I can't find anything called web service extensions in the IIS manager. Also, I did do a web.config file, but I don't know exactly what to put in it. Do you have any example of how my connection string needs to be or what all needs to be in a web.config file? I'm new to all of this.

Thanks so much,

Di
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top