I am designing a web pages in asp.net with visual studio 2008.
When i publish the website and deploy it on iis version 7 and browse the page then this page is showing all of its content like toolbar images in chrome and internet explorer but not showing in firefox.
And intrestingly when i run the application through vs2008 and browse the page using firefox the page show all of its content and tool bar images.
So what is the problem with using iis?
plz help me
Below i am sharing the snapshots of working page using vs2008 and firfox and the non-working page using iis and firefox
Working page
Non working page
Any help will be appreciated
IE and Chrome can use windows authentication without any prompt, which is not the case of firefox.
Follow those step to investigate your problem.
Check the page source to see if your toolbar is pushed by the
server.
Check if you have any javascript error. Maybe you have a .js file in a secured directory that chrome and IE can access using windows authentication.
Related
I am developing a .NET application for my clients. One of my pages I have included a RadDatePicker and several other input methods. When I run my project it occurs an error only in Internet Explorer web browser (IE version 11.0.9600.18282).
When I access to the web page from the local host it displays the page as the top part of the image below which is correct.But if I access my localhost from another computer that is connected to the same network, it displays the web page as in the second part of the image with some errors in the style.
I already checked the versions of both web browsers and rendering models and compatibility view settings and still I have no idea where it went wrong.
Can you please help me with that.
I'm working on a asp.net project that is a responsive website so it can be viewed on mobile and tablets. When running the project the site opens in IE 11 and looks great. When I publish the site and open it with IE 11 the div that holds the main content is dropped to the next line.
What am I missing to publish or set to have this correct? Thank you
If you're developing on ASP.net you might be using IIS, such is a web server which I don't know a lot about.
My idea is that you are probably missing configuration changes from development to production mode of your web server.
Hope it will point you to the right direction.
I found the steps to find the answer here:
Div displays differently in IE and Chrome
I went into the developer tools and Console and there it said that it was being displayed in Compatibility View. I checked the settings and sure enough the url was listed. I removed it and refreshed and everything is looking good.
I'm developing an ASP.NET website in Visual Studio 2012. When running the program in debug mode, VS launches the page at following URL:
localhost:59422/myPage.aspx
and opens it in IE. I can paste that same URL into Chrome and the page opens and functions properly. However, when I paste it into Safari 5.1.7 or Firefox or Opera, a logon dialog is displayed.
Are there settings in these browsers that need to be changed in order for me to test with them as I can with Chrome and IE? Why are they asking for a logon?
Base on your comment you do not need authentication, so you can take out <authentication mode="Windows"/> from web.config.
It is causing the problem; normally, web.config inside folder has some authorizations.
Without seeing the entire project, I could not pinpoint any details.
After a new version of the site is deployed, the first time every user opens the site, none of the site's stylesheets are downloaded or load. Refreshing the page downloads and loads the stylesheets and then the site looks fine until the next time we do a deployment.
The site is a .NET 4 MVC website deployed to Windows Server 2008 R2 running IIS 7. The site is deployed using a publish package created through VS10 and imported into IIS.
Most users access the site using IE10 or 11 and some earlier IE users. None of the pcs available to test on have Firefox or Chrome, so I haven't been able to test whether the site's styles show up on first load in other browsers. Locally, the site displays correctly regardless of the browser and version used. There are no server errors or browser errors reported.
The styles are Bootstrap, and a custom site stylesheet.
Is the CSS reference rendering into the page source correctly? We have had similar issues with our .Net 4.0 CMS where dynamically populated references failed to populate under load because the response was getting flushed before update. Unfortunately we had to revert to static reference in master pages due to time constraints.
I created a blank Web App in ASP.NET on Visual Studio 2012.
When I click on Debugging using Google Chrome, Google chrome opens with text localhost on the navigation bar, but it does not open the website and keeps loading.
Go to project properties page and create a virtual directory. Make sure your starting page is pointing to this. Then navigate to http://localhost/myapp
One thing you can check is the following (running on a windows system):
Edit "C:\Windows\System32\drivers\etc\hosts", and ensure that you have this line: "127.0.0.1 localhost"
In my case, I had "0.0.0.0 localhost" in there.
I hope this can help.