Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2006

Tip: Looking for answers? Try searching our database.

Where are my images?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CK - 26 Sep 2006 16:35 GMT
Hi all,
I have a strange problem. I have a login.aspx web form i use for logging in
to my app. It uses the asp:LoginView and asp:Login controls respectively. I
have this strange bug i can not figure out. When the user initially hits the
page, the styles are not applied and no images show up. Like I am using a
graphic for the sign on button. In the Designer in Visual Studio 2005 the
page looks exactly how I expect. Anyways, if you login and are
authenticated, you can press the back button and the page looks correct. All
the images are there, the styles are what I set them. I viewed the source in
and the paths to the images are the same etc... Any Ideas on how I can fix
this? Color and font styling seem to work. It is basically images are not
showing as they should. Including the image I point to in the <body> tag.
I am using themes and skin files and everything else seems to be working in
the app once the user is logged in. And I turn on enable themeing is set to
true and the there is a page directive that point to the theme.
Any ideas or suggestions? All feedback is appreciated.

Regards,
~CK
Mohamed Mosalem - 26 Sep 2006 17:14 GMT
Hi,
I think you should allow anonymous access to your images folder like this
<location path="images">
           <system.web>
               <authorization>
                       <allow users="*"/>
               </authorization>
           </system.web>
    </location>

please let me know if you still have problems

Regards,
Mohamed Mosalem
> Hi all,
> I have a strange problem. I have a login.aspx web form i use for logging
[quoted text clipped - 16 lines]
> Regards,
> ~CK
CK - 26 Sep 2006 19:02 GMT
Awesome. That did it!!!! Thanks Mohamed.

> Hi,
> I think you should allow anonymous access to your images folder like this
[quoted text clipped - 30 lines]
>> Regards,
>> ~CK

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.