Configuration :: Subfolder Not Picked Up By IntelliSense?

Mar 14, 2011

Why is it Intellisense only seems to show a file when it is directly in the app_controls folder:

<
add
tagName="footer"
tagPrefix="UC"
src="~/App_Controls/footer.ascx"/>

If the file is put into a subfolder:

<add
tagName="footer"
tagPrefix="UC"
src="~/App_Controls/BaseControls/footer.ascx"/>

it will not show in the Intellisense list.

View 4 Replies


Similar Messages:

Configuration :: How To Change The Subfolder Attributes

Mar 20, 2010

Using VS 2010, RC, VB, how do I change the subfolder attributes. When I publish and choose to delete all the files and folders, I have to recreate the security levels for them manually. I assume that I can have Web Config do that for me.

View 1 Replies

Configuration :: Deploy Site Into Subfolder?

May 14, 2010

I've been working on site for a client who has just informed me (having completed the work) they want to deploy the site into a subfolder of their exiting domain. The site uses a number of class files in the App_code folder and as well as references to several XML files and and siteMap that uses localised urls for navigation. Obviously all of this stops working as soon as you put it in a sub folder. Is there any way I can configure the site to treat the sub folder it will be placed in as the root?

View 3 Replies

Configuration :: Add Subfolder To Main Website Folder In Iis?

Apr 21, 2010

I currently have a dedicated server running a number of sites, one of these sites I would like to add a subfolder to which runs a seperate index.html file, so effectively it looks like a different site.

I am struggling to acheive this, can anybody give me the steps involved to make this happen?

To clarify, i have a web address for example www.mydomain.com and would like users to browse to www.mydomain.com/subfolder and open up a sub folder.

View 1 Replies

Configuration :: Site Works At Root Of Domain But Not In A Subfolder?

Mar 26, 2011

So my website works great on my local computer. It also works fine when I use the Copy Web Site feature in Visual Web Developer 2010 Express. But I do not want all of my files and the default.aspx to be sitting at the root of my domain name. I want it to be in a subfolder.

So again, it works fine when it's sitting at www.domainname.com

But when I use my FTP program to move the files to:

www.domainname.com/subfolder/

I get an error when I try to visit the site. It's just a general runtime error and does not display the specific error message. It obviously must have something to do with when I MOVE the files/folders from the root of the domain to the subfolder?

View 2 Replies

Configuration :: Create New Application Pool And Assign It To Site Subfolder On Remote Host

Feb 28, 2011

I have a web site running on IIS7 on a remote server. I would like to do the following: Create a new subfolder under the root virtual directory. Create a new app pool. Add this new app pool to the new subfolder Normally, I would do this manually in IIS by first creating the app pool, and then right-clicking the sub folder an choose "add application", but I need to do this programmatically in C#. I've managed to make the above points 1 and 2 work, but I can't find the way to adding the application to the sub folder. This is the code I have used so far for 1 and 2:

[Code]....

So, I need to add "MyAppPool" to the "NytSite" folder. Is this even the correct way to do this?

View 1 Replies

Visual Studio :: VS2010 Master Pages And JQuery Intellisense / Intellisense Only Seems To Work For JQuery

Jan 6, 2010

I think my main problem is actually more to do with master pages that anything else.. Below is a description:

If you use master pages in your website and you have pages in different sub directories then the simplest way to add JQuery references is using <script src='<%# ResolveUrl ("jq.js")%> /> in the master page header??

This means that the .js files are correctly referenced in all pages that use the master. My main problem is that intellisense only seems to work for JQuery when the JQ Script is actually referenced in the header and not by using ResolveUrl('') <script src="/scripts/jq.js" />

I dont want to have to live without intellisense, Surely there is a way to get around this. What am I doing wrong.

View 1 Replies

Browser Closes When A Value Is Picked?

Aug 9, 2010

My application is written VS 2008 and .net framework 3.5. Sometimes when a user picks a value in the drop-down menu, this action closes the whole window. I cannot repeat this error on my box, but one of my users gets it consistently. Have anyone ever experienced anything like this?

View 9 Replies

Satellite Assembly Is Not Picked Up By App?

Feb 1, 2011

I have a web project called "TestResourceApp" with Labels.resx in App_GlobalResources folder. I want to add another language by creating a satellite assembly.

Here are the steps I took to create the satellite assembly. The default text always get displayed. What did I do wrong ?

1) Create Labels.fr.resx in a different folder.

2) Generate resource file:

Resgen Labels.fr.resx TestResourceApp.App_GlobalResources.Labels.fr.resources

3) Generate satellite assembly:

AL /t:lib /embed:TestResourceApp.App_GlobalResources.Labels.fr.resources /out:french.dll /c:fr

4) Copy french.dll to TestResourceApp/bin/fr

I have uiculture set to auto in web.config and I have change the language on the browser.

View 2 Replies

Web.config Appsettings Not Picked Up In Sub Directory?

Jan 25, 2010

I have a web.config in a sub directory with an appSetting in it. It does not seem to be picked up and added to the appSettings collection? what I'm doing wrong or how to get round setting directory specific settings?

The directory has this config file

[Code]....

And its picked up (or not) by an ascx control like so

[Code]....

View 7 Replies

DataSource Controls :: How To Ensure That Some Records Are Not Picked Using Sql

Apr 23, 2010

I am developing web applications using csharp. How can I ensure that some records are not picked using sql. I have a table with records and its content differ from each other dot ".". Table is as follows

Student1 Details2 Details2

1 Musol School Books
2 Musol School Books.
3 Golpp Temo Books
4 Golpp Temo Books.

How can I select records without dot "."at the end only. For example

1 Musol School Books
3 Golpp Temo Books

I have used sql but I am not getting it. My sql is as follows

select * from studentDD where Details2 !=".%"

It is not working.

View 3 Replies

State Management :: SQL Database - Cache Expires The New Data Is Picked Up?

Dec 17, 2010

I'm running a website on a SQL 2008 database. At the moment most of my data is in cache but what I want to do is be able to update the data on a regular basis, say every 3 hours, maybe more frequently. Obviously I can set the cache to expire and pick up new data, but how can I replace part of the database (because some tables are populated by the user) in the background, so that when the cache expires the new data is picked up?

I notice when I upload data through VS, it wont let me upload if the DB is in use - so how do I get round issues like this?

View 3 Replies

C# - How To Map SubDomain To The Subfolder

Nov 26, 2010

I'm using a BlogEngine.net for my blog and I would like to create 5 different subdomains and point to different subfolders(not redirecting). For example:

firstsubdomain.domain.com - domain.com/posts/helloworld.aspx
firstsubdomain2.domain.com - domain.com/posts/helloworld2.aspx
firstsubdomain3.domain.com - domain.com/posts/helloworld3.aspx

I'm using asp.net 3.5, C#, Windows Server 2008, IIS 7

View 1 Replies

How To Replace Subfolder And Querystring In Url

Mar 17, 2010

I want to change http://localhost:1190/Project/Subfolder/Default.aspx?Query=1

to

http://localhost:1190/Project/Images/Image.jpg

Tried somewhat below, no success:

Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + @"/Images/Image.jpg"));

View 6 Replies

Can't Access Subfolder Without Slash At End?

Apr 15, 2010

I've got a folder in my project on a live webserver, called "admin" with a file in it called "default.aspx". Now, I cannot access this folder like this: [URL] however, if I put a slash at the end, it works fine: [URL]
or, this works fine, too: [URL]

View 2 Replies

How To Host MVC Website In A Subfolder

Jan 12, 2010

I'm trying to run a little ASP.NET project in a subfolder of my hosting. My domain is [URL], but i want to run my app in www.gorangligorin.com/testmvc. ASP.NET MVC runs with no problems on the top level, but not in subfolders.

The server says this (line 58 is colored red):

Line 56: ASP.NET to identify an incoming user.
Line 57: -->
Line 58: <authentication mode="Forms">
Line 59: <forms loginUrl="~/Account/LogOn" timeout="2880" />
Line 60: </authentication>

What can I do to make this ASP.NET MVC website work? This isn't hosted on my computer, so I don't have access to IIS configirations.

View 3 Replies

Web Forms :: How To Apply Theme In Subfolder

Oct 26, 2010

My site structure is like that I've 4 sub folders and few pages at roots when sub folder pages are viewed in browser their css breaks some of the images doesn't work well.

View 2 Replies

VS 2008 - Unable To Load A Class In Subfolder

May 25, 2010

I have a web application with root namespace called mywebapp The web application has as folder under root. Call it folder1. Now this folder contains a default.aspx page with code behind vb file class file. Call it subdomain1. Now when the default.aspx page under folder1 is requested, following error is shown Parser Error Message: Could not load type mywebapp.subdomain1. There is no problem what so ever when I run it localhost. Error is only thrown when the page is requested online. I also made some changes in a page in root folder to verify if the mywebapp.dll is correctly copied to the webserver. All the changes done for root folder are correctly reflected online

View 13 Replies

How To Access App_folder Files From A File In A Subfolder

Oct 26, 2010

In my project I have a website that has 2 sides, the client side and the management side. Everything is completed and works fine.

My idea was to place the management files in a separate folder (mysite.com/admin) the problem is that when I moved the files it could not compile because my admin pages inherit from a class in the app_ folder and looks like it cannot access it.

I wanted to compile the files in the app folder into a DLL but when I try, it gives me a error in the namespace System.Web.UI.Security and the WebControls ns...

How can I access my classes if my files reside in a subfolder within the same application. If I take the files out of the subfolder everything works fine

View 2 Replies

MVC In Subfolder / Virtual Directory / Routing / Domain

Nov 19, 2010

I have a Domain like [URL] that is pointed to a virtual directory on my webspace like [URL]. The folder structure on my webspace is (off course) like this

root
bin
VirtualDirectoryName
bin
Content
Scripts
Views
Web.config
Global.asax

If i call now [URL] i get the Site without CSS and the links are [URL]. I used the default and almost empty default "Internet Application". So the routing is default and all links are created with @Html.ActionLink. i tried so many things but i cant get it working. In my local environment i can affect that with IIS settings but (off course) i do not have access on the IIS settings of my host.

View 2 Replies

Security :: FBA Authorization Is Not Being Enforced Correctly In Subfolder?

Oct 26, 2010

I have the following site structure:

- Site
- Administration
- Resources
- Home.aspx

Basically no unauthorized users should be able to use the system, so they get properly redirected to Home.aspx which has the login controls.

The Administration folder contains a page that should be only accessible to authorized users, but also only to users that belong to specific roles. So I have a web.config inside the Administration folder as this:

[Code]....

At first sight I'd say that this configuration would check that only SystemAdministrators and AccountManagers can access the SecuredPage.aspx. But it doesn't. If I log into the system as a regular user (not part of the roles) and then go to http://mysite/Administration/SecuredPage.aspx, it allows me in, instead of showing a "your not authorized" message.

I've also tried with location=Administration so to secure the entire folder, but same results.

View 1 Replies

(VS 2008) Resource Can't Be Located (file In Subfolder)

Jul 15, 2011

He has a project set up with the master page and the default.aspx at the root level of the project.He then has several layers of subfolders.On subfolder is DynamicData, and under that PageTemplates and he has a file in there called ListDetails.aspx the uses the same master page on the root. If he sets the ListDetails.aspx as the start page, it says resource can't be found when he runs it.if he sets a redirect to it as:

Response.Redirect("~DynamicDataPageTemplatesListDetails.aspx"), it also says resource can't be found.

View 1 Replies

Security :: Cannot Access Subfolder Files In Secured Folder

Mar 7, 2011

My restricted files are all stored in ~/Secured folder on the root. Authorized users have no trouble accessing aspx files in that folder. Recently I added a part of an application whose files I wanted to keep separate and created a ~/Secured/HR folder. I am getting a "resource not found" error trying to use any aspx file in HR folder even after user successfully logs in, as if the file does not exist at all. Here is my web.config security settings:

[Code]....

Do I need to configure security for that folder separately?

View 1 Replies

Javascript - User Control With Client + Server Side CustomValidation; Wrong Client Side Validator Is Picked

Nov 23, 2010

I have a user control which contains a CustomValidator which is used according to whether a RadioButton is checked or not (there are several RadioButtons, I'm only showing the relevant one)

<asp:RadioButton runat="Server" ID="RadioBetween" GroupName="DateGroup" CssClass="date_group_options_control_radio" />
[code]...

There is some client + server side validation code (the server side code does exactly the same thing and is skipped for brevity)

<script type="text/javascript">
function ValidateDateFields_Client(source, args) [code]...

There are two instances of this control in the page. When running the client side version it hits the wrong one (the version of the control which is disabled). You can see from the generated HTML both are correctly specified. I'm not sure how .NET works out which clientside function to call given they both have the same name.

<script type="text/javascript">
//<![CDATA[
var ctl00_MCPH1_QueryTextValidator = document.all ? document.all["ctl00_MCPH1_QueryTextValidator"] : document.getElementById("ctl00_MCPH1_QueryTextValidator");

[code]...
Do i need to add something in to scope it? What's the best way to achieve this? If I disable the loading of the second control everything works fine.

View 1 Replies

Intellisense For SQL Queries In VB.NET?

May 30, 2010

I've added a database to one of my projects and I'm wondering how I can get intellisense for them.

Basically I have no how I can query the database that I've added to the project. I know SQL fairly well, but I don't know how I can write queries within vb.net and have them display.

I can get, so intellisense will probably be invaluable.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved