|
Hi all, I created a folder called Everyone in my project folder and moved some html pages from the project folder to this new folder. I left the css, images, and scripts folders in their original locations.
Then I modified the pages that were moved to the Everyone folder to use relative paths to access the styles, images and scripts. None of the pages in the Everyone folder is displaying correctly.
The following is my folder structure
Project Folder
|
-----------------------------------
| | | |
Everyone CSS images scripts
I have used the following relative paths on a page in the Everyone folder to get access to a css file and an image from the images folder but they are not working.
<link rel="stylesheet" href="/css/mediaCSS.css" type="text/css" media="screen" />
<img src = "/images/myimage.jpg" />
Please point out why they're not working, thanks in advance
|
|
|
|
|
Everyone is at a directory below your project root where some of your html pages live.
So is the other directories.
To access a directory below your project root from another directory that is below your project root then you first must move upwards to the project root, in a similar way that you navigate the folder structure in a dos prompt.
So, to navigate to the CSS directory from the Everyone directory use ../css/file-name.css the same would be true for the images and scripts directories. (note the double dot (.. ) to move up a single level in the directory structure)
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Hi Richard, thanks for responding. I have already tried what you've suggested even before posting this question and it did not work. I tried it again just to be certain and sure enough it did not work.
The project folder I mentioned above is my project folder in Visual Studio. Basically I am using form authentication and I wanted to allow everyone to have access to certain files. So I created the Everyone folder in my project folder and configured the Web.Config file for this new folder so that all the files put in it can be accessed by everyone.
modified 25-Nov-14 1:25am.
|
|
|
|
|
I solved this by adding the location element to the webconfig and allowed everyone to access my file
|
|
|
|
|
i just started a class on web development and i think i like what i see.. my problem is that i just cant picture the perfect way of picking colours for design...
|
|
|
|
|
|
This task would generally be undertaken by a graphic designer. But if you don't have that skill then the best way is to look at lots of different websites and see which colours give a pleasing look and which ones just look wrong. You can also look at Microsoft recommendations[^].
|
|
|
|
|
Do not pick colors - pick a designer...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
תפסיק לספר לה' כמה הצרות שלך גדולות, תספר לצרות שלך כמה ה' גדול!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
If you're interested in the graphic design portion, I would suggest taking some Graphic design classes; even the analog design classes can give you a good grasp on the use of complementary palettes and white space.
Some schools even offer UX courses, but that's often in the CIS or even Art catalog rather than the CS one.
Or, as everyone else suggests, if you prefer to be closer to the metal you should pass that work on to someone else.
|
|
|
|
|
hey.. What's up??
I am developer and work on fiverr & oDesk.. If you have any problem in your website or you need creative website then you can feel free to contact me..
click here for visit my profile skype: shobuj_bd2020
|
|
|
|
|
There is NO perfect way to pick colors. My advice is to make friends with some artists, join some art forums like Behance or deviant art and make use of some of these talented people, because color sense is something you have, not something you can get.
I usually ask my wife who is a Virgo and she can look at a strip of cloth or sample, go shopping and come back with an exact match. It's something they are born to do naturally.
|
|
|
|
|
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" precondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> to the system.webServer/handlers section for Internet Information Services 7 or later.
I am getting the above error while I try to run RDLC report.
The following things I have added to the solution:
1. ReportViewer control on the .aspx page.
<rsweb:ReportViewer ID="ReportViewer2" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
<LocalReport ReportPath="reports\Report1.rdlc">
<DataSources>
<rsweb:ReportDataSource DataSourceId="SqlDataSource1" Name="DataSet1" />
</DataSources>
</LocalReport>
</rsweb:ReportViewer>
2. Registered assembly on .aspx page
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
3. Added reference Microsoft.ReportViewer.WebForms to the project
4. In web.config tags added are:
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
</buildProviders>
</compilation>
Kindly provide the solution to resolve this error of RDLC report.
|
|
|
|
|
Why cant you do it yourself. Its telling you clearly what to do.
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
Add to the system.web/httpHandlers section of the web.config file, or add to the system.webServer/handlers section for Internet Information Services 7 or later.
Regards,
CodingK
|
|
|
|
|
add below line in system.web in web.config file
<httphandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb=" * " type="Microsoft.Reporting.WebForms.HttpHandler,
Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a">
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
="" validate="false">
|
|
|
|
|
|
Never heard of picking dates in MVC 5 - Try Egypt they are the biggest producers.
|
|
|
|
|
I'd say you just made me hungry by mentioning those dates, but I ate a doughnut.
|
|
|
|
|
So you need a doughnut picker then.
|
|
|
|
|
Help is not found here,
We all just come here to play.
QA will reply.
--- The Lounge Haku
|
|
|
|
|
What did you just ask?
This is not our task!
Go to the Q & A mate.
A little uglier attempt at a haiku
|
|
|
|
|
As long as you follow the tradition and commit suicide afterwards, it may be as ugly as you wish.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
hahaha, maybe in about 100 years I will consider suicide
|
|
|
|
|
You need to turn it off then back on again.
|
|
|
|
|
Where are you stuck?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
(Edited as I now understand the issues better.)
I have a problem running our RemoteApp from a Windows 7 client, using a non admin user account. It's fine from Windows 8, and its fine if we run it under an admin user account.
Background
Installed remote desktop gateway under Windows Server 2012 R2 on a VirtualBox VM. The server manages a sub-domain under our company domain e.g. megabuck.com so the subdomain is WIN094263478.megabuck.com. (I'm not allowed to mess about with our domain server, for obvious reasons.)
Installed our app on the server PC, and published it as a remote app. I made sure there was an external manifest file to disable virtual store, which otherwise screws our app. Note that our app is a C++ one.
The app can be run remotely (as a remote app) from a Windows 7 client using an admin user account. It fails with a non admin account, as our app tries to create files in the program files folder, but the server prevents this.
Ideas? What is going on? Our only workaround is to set the users group as the owner of the program files installation folder.
modified 11-Nov-14 7:58am.
|
|
|
|