CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 6/21/2007 9:19:37 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 11 Views: 27 Favorited: 0 Favorite
12 Items, 1 Pages 1 |< << Go >> >|
"merk" <>
NewsGroup User
multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 9:19:37 PM

0

Hi all,

Under my website i have some of the following structure:

/web.config
/App_Data
/Enigma
/Enigma/web.config
/Enigma/App_Data
/Enigma/App_Data/enigma.mdf

Now when i run a webpage which is connecting to that sqlexpress database, the page works. However, when I open visual studio, it doesnt see the database. It wants the database to live in /App_Data/enigma.mdf - if i move the database there, visual studio sees it and i can work with it through the server explorer.

Is there any way to slap VS2005 and get it to see the database in the other app_data folder? Is there anything else i should be aware of with having other app_data folders under the same web? If there's no way to get VS to work with it other then inside the root app_data folder, i can move the database there. It's not super critical that it remain in the other folder.

The connection string for this database is in /Enigma/web.config

Thanks 

"dt008" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 9:31:14 PM

0

I believe that if you open the /Enigma web site through Visual Studio, you rill not have a problem.

Visual Studio is configured to look for databases in the ~/App_Data folder, I strongly believe.


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 9:41:42 PM

0

The enigma folder is not a separate website. It's just a subfolder. So i open the root of the website, which has the enigma folder in it.

"dt008" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 10:14:20 PM

0

Yeah, but that's the way Visual Studio worksWink


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 10:20:47 PM

0

 so in order to keep VS2005 happy, i need to make the enigma folder a separate website?

"dt008" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 10:55:32 PM

0

Yeah. Just open the /Enigma folder with the Open Web Site and you are done. However, as I recall from your writings, you only need to do that in order to manage the .mdf inside the /Enigma/App_Data folder, right? So, I suppose it won't be so painful for you Smile


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/21/2007 11:14:57 PM

0

actually the first thing i did was to try to open mysite/enigma with the open website command in VS and it failed saying there was no web there.

I think i have to go into IIS and make it a subweb for that to work. At least thats my guess. But if its this much of a hassle, i think i'll just make a new site for this. Just seems pretty stupid that VS cant see if unless its in the root app_data folder, even though the pages themselves work fine with it living elsewhere.

thanks for the help
 

"dt008" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/22/2007 10:12:20 AM

0

Inside IIS, try creating a new virtual directory, not a different website Smile 


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/22/2007 4:20:28 PM

0

 Ok, i'll give that a try.

 

thanks 

"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/23/2007 5:14:52 AM

0

dt008:

Inside IIS, try creating a new virtual directory, not a different website Smile 

 

well that doesnt seem to work, since VS doesnt even see the virtual folder.
 

"dt008" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/24/2007 9:45:08 PM

0

Hm. You are opening it through file system? If you try and open it as an IIS website? (I haven't done it myself, just wondering)


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
"merk" <>
NewsGroup User
Re: multiple app_data folders under 1 web, VS2005 doesnt see them6/24/2007 11:23:23 PM

0

 i'm opening it in VS through the open website menu. I'm working directly on the live site since this isnt anything important so it doesnt matter if it stops working for a bit while i figure it out.

12 Items, 1 Pages 1 |< << Go >> >|


Free Download:













adding c# project to vb.net project

incorrect type generated with user controls registered in web.config

error after converting to wap

converting to vs 2005

where has "use master page" checkbox gone?

create a floating window in a web page

compare/contrast between wsp and wap

can we extend the precompiled & deployed application in asp.net

large project with multiple subweb projects

global asax working at local but not working at the deployment

wap, typed datasets, and web.config connection strings

wsdl.exe throws stack overflow exception

asp.net 2.0 web site administration tool error on creating a user

mobile web forms and web asp.net project for vs 2005

page directive complains that language="vb" does not match the vb in codefile file

web references - custom tool warning

can't uninstall wap

handles disappearing

migrated wap opens as wsp on another machine

asp.net 2 project suddently quit working

how to convert vs 2005 web app project to vs05 website?

generation of designer file failed: unknown server tag 'asp:webpartmanager'

wap and c# namespace of typed (declarative) dataset problem

method/variable name conflict after conversion

form authentication on html pages not working (live)

codebehind accessors and methods availability in front-end files

how do i convert a vs 2005 wap back into a vs2005 wsp

problems after converting from web site to web application

help! references folder icon keeps disappearing and intellisense dies!

links that work in ie does not work in fire fox asp.net 2005

support for app_[local|global]resources coming?

filter out designer.vb files?

tfs & wap vs. tfs & website projects

bug: custom controls lead to outofmemoryexception

global.asax events don't fire in production after converting

is edit and continue available for web application projects?

wap works with codebeside or codebehind??

visual studio 2005 web app toolbox problem

help! session is no longer working.

bug?: opening global.asax in design view

flexible printing of web pages?? help!!

web form non-partial template?

asp.net web site || asp.net web project

migrating web site --> web application

designer files driving me batty!

converting a web site project to a web application project ?

itemtemplatescache

multi-project solution using wap & master pages

costom role provider does not work in web app project.

web application projects and vs2005 service pack 1 beta

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT