Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 24th, 2006, 02:58 PM
heavymetalman heavymetalman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 heavymetalman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 27 sec
Reputation Power: 0
Unhappy IIS Woes

Hi all,

I am attempting to host an asp.net 2.0 page on a server running windows server 2003 with IIS 6.0. I have been trying to get it working for almost 2 months now reading countless articles but nothing seems to help. I am trying to host a page that uses SQL server 2005 express for all of its data storage. After hours of errors I decided to make a simple page that has a single label that gets its text from the database. I was getting the exact same error which was: An attempt to attach an auto-named database for file C:\WebSites\Test_TimeTracker\App_Data\aspnetdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

I continued to get this error for a long time, but unfortunately i am not the only one working on this so some unknown changes were made such that the first time you try to connect you get the above error and then any attempts after get this error: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - The system cannot open the file.)

After it not working for so long I reinstalled IIS. Now after adding a new website I got a configuration error saying that it didnt recognize the configuration section 'connectiongStrings' but that was just because I forgot to set the ASP.NET version to 2.0. So I change it to 2.0 and now it says: "The page cannot be found"........

Does anyone know what the problem is and can help me get this page up and running?

Reply With Quote
  #2  
Old September 24th, 2006, 06:51 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Did you configure IIS to allow sql server use?
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old September 26th, 2006, 12:58 AM
heavymetalman heavymetalman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 heavymetalman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 27 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Did you configure IIS to allow sql server use?


I'm not sure if its configured. How do I do that?

Reply With Quote
  #4  
Old September 26th, 2006, 09:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
I don't have IIS6 but I believe there is a setting somewhere in the IIS management console to enable sql server access by the web server.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS Woes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT