Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 13th, 2007, 06:04 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default << Help .. It's Urgent >>

Greetings.
I'm new in VS2005 , having P4 , 512 MB on XP SP2. Since last couple of days I'm facing problem as;

Up on selecting Web Site -> Web Site configuration , I'm getting " Unable to run the version of this runtime of this application " message. After clicking OK , I'm getting another message as "Unable to connect to Visual Studio's Local Host server".

I can see the result using IIS not thru CASSINI becoz of this. I'm now not in a position to access Security configuration ( Asp.NetWebAdminFiles) thru application as well as database application (Gives me database locked message).

Pl. help / Guide me at the earliest.

Thanks
Reply With Quote
  #2 (permalink)  
Old January 13th, 2007, 12:40 PM
Friend of Wrox
 
Join Date: Apr 2004
Location: San Francisco, CA, USA.
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is just a guess, but make sure IIS has the application configured as an ASP.NET 2.X application, and not a 1.X. In IIS expand the list of websites, right-click on your site, click Properties, click on the ASP.NET tab and make sure ASP.NET Version is set to 2.X (where X is multi-digit number that begins with a 0).

If that doesn't work, create a new website in Visual Studio 2005, this time select File System for the Location field. Copy your files into this new folder and add them using Website->Add Existing Item (don't replace the web.config file just yet, as that could be where your problem is). Try running the new site. If it works, try replacing the web.config with the old one, saving a backup of the new one first. If it still works, you're done. If not, then the problem is somewhere in the web.config file, and you need to go through it line by line to find the problem.

Hope that helps.

Reply With Quote
  #3 (permalink)  
Old January 15th, 2007, 03:26 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Mr. Aaron,

Thanks for reply. In fact If I reinstall/repair the VS2005 Cassini starts working till the next Boot of a machine.

My IIS is working , but for database application it is showing me the "CREATE DATABASE permission denied in database 'master'.
An attempt to attach an auto-named database for file F:\DataBase\GujjuUnited.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.".
This has forced me out of the ASP .Net 2.0 and I have started loosing the faith on it.

Pl. guide/help

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 8: <asp:image> inside <a> & ext.CSS (pg. 274) epc BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 July 12th, 2008 04:37 AM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 07:01 AM
<STRONG> vs <B> and <EM> vs <I> anshul HTML Code Clinic 12 September 1st, 2004 05:22 PM
<<ASP.NET Security>>,download files in chapter 8 alaix All Other Wrox Books 1 July 24th, 2003 10:29 AM



All times are GMT -4. The time now is 10:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.