Browsing App_theme Folder?

Jun 16, 2010

Is there a way to stop someone from looking into the App_Themes folder, by putting it into the url, like this:

http://localhost/myapp/app_themes/

same with app_data, can those be blocked, i didn't try app_data as i don't have anything in there, but just curious, as app_themes I was able to get into. Is this an IIS setting I need to adjust?

View 6 Replies


Similar Messages:

CSS In App_Theme Folder Gets Cached In Browser?

Dec 23, 2010

The Stylesheet in the App_Theme folder gets cached in the browser. What should be the approach? so that whenever there is a new deployment the browser should take the latest stylesheets and not the one cached in the browser.

This was happening for other css(which are not in theme folder) too, so used custom control as mentioned in the link

[URL]

How this could be done for the CSS in the Theme folder?

Edit: The theme name is mentioned in the web.config as mentioned below. so its not just the html link tag which I had solved by using the method mentioned in the link.

<pages styleSheetTheme="Default">
<controls>
</controls>
</pages>

View 3 Replies

Web Forms :: How To Tell C# To Read The Images From The APP_THEME Folder

Apr 12, 2010

I need to tell somehow to ASP.NET to read the images from the ASP.NET APP_THEME folder.

so instead of this:

[Code]....

View 3 Replies

Associating A CSS File Out Side App_Theme Folder For Skin/Theme?

May 7, 2010

Is there anyway i can mention which CSS file should be attached to my Page automatically when running A Page with ASP.NET Themes /Skins ? I want to associate my own CSS which resides in a folder other than the APP_Themes Folder to the Page

View 1 Replies

Asp.net - Visual Studio 2010 Doesn't Deploy App_Theme Folder

Jan 20, 2011

I have a simple web app project in Visual Studio 2010 (converted from 2008 project). For some reason when I publish the app, Visual Studio doesn't copy the App_Theme -folder to the publish destination folder. This will cause the app to fail when deployed to production environment.

App_Theme is considered as "system" folder by VS (shown as grey), which means that I can't manually set it's publish properties.

how to get VS to copy App_Theme -folder when deploying?

View 1 Replies

Security :: Browsing Server Share Folder Using Unc?

Jun 16, 2010

I've developed a file browser that will browser a different server shared folder. In order to get this working I'm using the unc path (\ServerSharedFolder) to return the files/folders. I've also added the following to my webconfig to get around the security <identity impersonate="true" userName="domainadmin"
password="password" />

It's simply a file browser, no create or delete functions will occur. The solution works and what I want to know is that this the safest way to do this? or the best way? I did try to use a virtual directory instead of unc path but asp.net would support this.

View 1 Replies

App_theme Not Adding Styles To Web Page?

Feb 26, 2011

I have a web site project that uses an App_theme folder for styles. When I run the site the styles are not applied to the site. What is going on?It works on other developers computers, but they are using a local IIS 7 server whereas I am using the built in Visual Studio IIS. Note - the site is setup using a web site project (not application).

View 2 Replies

Web Forms :: Get A List Or Folders In The App_Theme Directory

Aug 6, 2010

I would like to display a list of all the Themes in the App_Theme directory and allow the user to select the theme they would like to use. Is there already a method that would return the folder name back to me in the app_theme folder?

View 1 Replies

Error While Browsing Application In IIS?

Jul 8, 2010

I am using asp.net 2.0 with C#. I have deployed my application on IIS and while browsing it I am receiving below error:

Could not write to output file 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot7179d944dd7c82aeApp_Web_adlogin.aspx.cdcab7d2.rqcxmj0e.dll'

View 2 Replies

MVC :: Preventing URL Browsing Without ChildActionOnly?

Dec 30, 2010

there any way where i can make a page only accessible through a RedirectToAction? It's a bit dumb of a question given a redirect writes a URL.. I know it might sound a bit silly, but i really don't like the fact i have to be 'forced' to create a partial view to be able to make the page i want to redirect to. What i want to do is quite simply, after deleting a user account, redirecting to a page where it says, account deleted (with a bunch of other stuff), so its quite a simple task. I have no problem making a partial view here and there, but if i want to make many pages unaccessible, i think i would have to make most of the website in partial views haha. Maybe i'm getting it wrong though, i've read a couple of posts about it, including Phil Haack's ->http://haacked.com/archive/2009/11/18/aspnetmvc2-render-action.aspx But i'm still very confused about this subject,

View 5 Replies

Web Forms :: 404 Error When Browsing On Page?

Mar 5, 2010

I have an ASP.NET page :

==========================
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="brent.aspx.vb" Inherits="FisEqSim_brent" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[URL]
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
================================================

I have not add any .NET code yet. However when I try to browse to this page, I get a 404 error. I can browse to .HTM files fine, but .ASP file seem to lock up.

View 8 Replies

Connecting To Some User Browsing Web Page

Mar 8, 2010

I would like, as administrator, list all users currently browsing the web-page (some id or something would be enough) then, what I need is to connect to that user and see what he is browsing. I have a class in my web-application, lets call it Node, in wich I store data what user is browsing. So which page he has clicked, so the next time he visit the same page, page is not rendered from db but from that Node. Is that even possible?

View 3 Replies

Browsing Web Page (ASPX) From Remote PC

Jan 9, 2010

I am unable to browse a simple asp.net page from a remote PC through the IP address of that computer. However IIS is responding on a local computer with http://localhost and even when I type the local computer's IP address where the page is present. Computer is running XP and IIS 5.1. The message displayed on browser is "The server is taking too long to respond" however the page is just "Hello World" which displays local time.

View 4 Replies

Web Forms :: Browsing Other Websites In ASP Application

Dec 2, 2010

In my present project I have to open one site through my asp.net application and this site I have to control. And after that if we close the site the application master page should display. How I can accomplish the requirement .Any ideas will be very useful for me to start thinking on those lines.

View 3 Replies

Configuration :: Browsing After Deploying Web Application In IIS 7

Jul 26, 2010

I had deployed an asp.net 2.0 web site in IIS 7 in windows 7( with .net 4.0 installed ).

But while I am going to browse my starting page Welcome.aspx it shows error:
HTTP Error 404.0 - Not Found. The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Is there any problem with deployment of the application?

View 3 Replies

C# - Use Music Player While Browsing Through Pages

Jan 5, 2011

I have a master page and inside : a music player.

<object type="application/x-shockwave-flash" data="[URL]"
width="200" height="20">
<param name="movie" value="[URL]" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=Preloader.mp3&loop=1&autoplay=1&autoload=1" />
</object>

It works and I can hear sound, but if I go to a different page, it stop (pause and return to start, I can still see it through and press play since its in my master page) How do I make it play while I'm browsing through pages? Note : The player contains a pause function and doesn't auto play so users wont be annoyed.

View 5 Replies

Security :: Block Css & Js Script Browsing?

Jul 4, 2010

we can download other site css like right clikc their websites and we can see the css src / js src, then if we providee that filename in the address bar then it'll download, how to avoid this?

View 2 Replies

Web Forms :: How To Clear Browsing History

Dec 9, 2010

How to delete page history which you can see from the dropdown beside the browser back and forward button? I want to clear all the history on logout that is only specific to my website.

View 7 Replies

Configuration :: Error While Browsing Page

Apr 23, 2010

I have mysite online when I visit [URL] I get

[Code]....

How can I fix this?

View 5 Replies

Web Forms :: Browsing All Images In Directory?

Aug 21, 2010

OK ... I want to make album ... I try to make it using buttons( next & pre ) using imageButton control and variable (i)

So ... each next (++i) & pre ( --i) to show allimages in directory ("photo")

Here my code in C# ::

[Code]....

Now ... It's working ... but the problem that I used server control (ImageButton) so all clients can affect in value of (i)

so (i) will be change in server ... what is the solution ?

I try to use the html control but i found it (difficult) ..

View 9 Replies

No ASPX Controls Show On Page When Browsing

Mar 29, 2011

I have win 7 with internet explorer 8. I have a Web application project in the VS2010, when I execute it using local port auto-asign port, the aspx page shows ok on the internet explorer. When I run the same project from the IIS (Browsing the aspx page from the iis), only the controls text is displays without the controls (colors and menus) - although the source view shows that the tags exists. Is it a problem with the IIS 7?

View 3 Replies

Website - How To Convert PowerBuilder To .Net Browsing Errors

Dec 16, 2010

I had a powerbuilder application which i converted to web application in the format of ASP.Net (aspx) files.after deploying and publishing the converted web application (copy it and add ASP.Net and network Service AND IUser permissions to enable users to access it) in IIS V6.0 over Windows server 2003 and The ASP.Net version is 2.0

View 1 Replies

Does The Mobile Device Browsing File Live On

Oct 26, 2010

[URL]

"Due to the organizational restructuring of the team that developed and supported the Mobile Device Browser file, we will no longer have the resources to support and update this CodePlex project. The team will be providing two more releases - one on the 27th July 2010 and the final release on the 24th August 2010. who used our product over the past year and a half. We would also like to thank everyone who contributed to the discussions and raised issues on our data."

Does this project live on someplace else or is there an equivelent project?

View 1 Replies

Getting Service Unavailable Error When Browsing IIS Website?

Jan 28, 2011

I have a website in IIS 6.0 using an application pool with a custom service account. when I browse the website, I get an error "service unavailable" and the error in event log says "The identity of application pool 'SampleAppPool' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the application pool. Therefore, the application pool has been disabled". I think the utility "Aspnet_regiis" can be used to grant access to an account to IIS metabase according to the article [URL but is that the right way to fix this issue? because this utility is used for multiple things and may do more than just granting the permissions to the account, or should I just add the account manually to "IIS_WPG" group?

View 2 Replies

Extensions Difference Between .asp And .aspx Pages While Browsing?

Dec 16, 2010

I'm new to ASP.NET, and I came across these two different extensions while browsing around. What's the difference between them?

View 2 Replies







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