NOVELTY - A curable resin composition comprises an epoxy compound (A) having atom group (X1), and has linear structure containing methine group and/or three or more methylene groups, which are connected. The content of the epoxy compound (A) is 10-90 %mass.    USE - Curable resin composition is used for forming sealing material and vertical conduction material used for photoelectric conversion element and dye-sensitized solar cell of dye-sensitized solar cell module (all claimed), silicon-system solar cell, compound solar cell and organic thin-film solar cell.    ADVANTAGE - The curable resin composition provides sealing material and vertical conduction material having excellent board adhesiveness. The sealing material having excellent chemical tolerance with respect to electrolyte solution, provides dye-sensitized solar cell and photoelectric conversion element with suppressed elusion and degradation of electrolyte solution, and prevents the decrease in photoelectric conversion efficiency.    DETAILED DESCRIPTION - A curable resin composition comprises epoxy compound (A) having atom group of formula: -OR1 (X1), and has linear structure containing methine group and/or three or more methylene groups, which are connected. The content of the epoxy compound (A) is 10-90 %mass.    R1=H or 1-30C bivalent hydrocarbyl, in which at least one of the carbon atom in the hydrocarbyl is optionally substituted by the hetero atom, and at least one of the hydrogen atom bonded with the carbon atom or hetero atom in the hydrocarbyl is optionally substituted by 1-10C hydrocarbyl or hetero atom.    INDEPENDENT CLAIMS are included for the following:    (1) Vertical conduction material, which comprises curable resin composition and electroconductive fine particles;    (2) photoelectric conversion element, which comprises sealing material and/or vertical conduction material;    (3) dye-sensitized solar cell, which comprises sealing material and/or vertical conduction material; and    (4) dye-sensitized solar cell module, which comprises dye-sensitized solar cell as unit cell, and cells connected mutually or cell connected on the substrate.