Prestaviti aplikacijo na splet

Jaz sem zej naredil aplikacijo, sedaj pa me zanima kako jo spraviti na NET (spletni strežnik).

Sedaj rabim za zagon aplikacije use cs file zraven dat, ampak predvidevam, da preden daš to na net z nekim ukazom to vse skupaj spraviš v en dll, tako kot pri net 1.1?

CS file-ov res nebi rad dal na net. Na net(ftp) bi rad spravil čim manj. Predvidevam da to pomeni use aspx, js, css, dll, slike file in nič drugega?

Avtor: fora, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.

fora
fora - četrtek, 29. marec 2007

Ja sem dal publish web site, tukaj je tudi link.Vendar ko sem to naredil in imel cel kup problemov z web.Config, določene reference sem pobrisol tudi section  <connectionStrings/> ni poznal, pa sem ga zbrisol, sem prišel do nove napake: Server Error in '/OpPIS' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_xkpuy95_'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_xkpuy95_" %>Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: E:\IIS\OpPIS\Default.aspx    Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300  Pogledal sem v bin in tam obstaja App_Web_xkpuy95_.dll Imam še cel kup podobnih datotek, in sklepam, da so to datoteke od "place code in separate file".Zakaj mi napako javlja pa nimam pojma?Kšna pomoč zelo zaželjena. 

pril
pril - petek, 23. marec 2007

Domnevam da imaš zadevo v vs2005? Najbolj enostavno je desniklik na web folder in izbereš "publish web site" ;-) lp, pl