Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Incorrect style sheet in use

My C# MVC project uses Crystal Reports. Somehow my reports have have stopped working and display a blank page. When I inspect the site I see the error

Obj not found
http://localhost:44246/aspnet_client/system_web/4_6_1055/crystalreportviewers13/js/crviewer/images/style.css

I've verified the aspnet_client but at that directory I have a folder named 4_0_30319 instead of 4_6_1055. When I edited the link to use that folder number I was again able to browse to the css file.

Where in my config can I change this number to be 4_0_30319? Or is it better to just rename the folder to match this number?

like image 313
Niana Avatar asked May 10 '16 14:05

Niana


People also ask

Why is StyleSheet not working?

Make sure the link tag is at the right place If you put the <link> tag inside another valid header tag like <title> or <script> tag, then the CSS won't work. The external style CAN be put inside the <body> tag, although it's recommended to put it in the <head> tag to load the style before the page content.

What is the use of style sheets in an HTML document?

Style sheets make it easy to specify the amount of white space between text lines, the amount lines are indented, the colors used for the text and the backgrounds, the font size and style, and a host of other details. Placing style sheets in separate files makes them easy to reuse.

What is style sheet explain types of style sheet?

A style sheet contains the specifications of a document's layout, such as the page size, margins, fonts and font sizes. In modern word processors such as Microsoft Word, a style sheet is known as a template. The most well-known form of style sheet is the Cascading Style Sheet (CSS), which is used for styling Web pages.

What do you mean by style sheet?

A style sheet is a file which tells a browser how to render a page. There are even aural style sheets [coming up -1997] for telling a speech browser how to pronounce different tags. A current recommendation for style sheets is the "Cascading Style Sheets" (CSS) language.


1 Answers

<configuration>
    <configSections>
        <sectionGroup name="businessObjects">
            <sectionGroup name="crystalReports">
                <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <businessObjects>
        <crystalReports>
            <crystalReportViewer>
                <add key="UseBrowserLocale" value="true"/>
                <add key="resourceURI" value="http://localhost/aspnet_client/system_web/4_0_30319/crystalreportviewers13" />
            </crystalReportViewer>
        </crystalReports>
    </businessObjects>
</configuration>
like image 121
Rakin Avatar answered Oct 26 '22 23:10

Rakin